intc: intc_cavs: Replace DT_CAVS_ICTL_BASE_ADDR with new macros
Replace various drivers and soc code that use DT_CAVS_ICTL_BASE_ADDR with DT_REG_ADDR(DT_NODELABEL(cavs0)). Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
492fbf7bba
commit
e53ddb5037
3 changed files with 4 additions and 4 deletions
|
@ -185,7 +185,7 @@ void arch_start_cpu(int cpu_num, k_thread_stack_t *stack, int sz,
|
|||
idc_reg = idc_read(REG_IDCCTL, cpu_num);
|
||||
idc_reg |= REG_IDCCTL_IDCTBIE(0);
|
||||
idc_write(REG_IDCCTL, cpu_num, idc_reg);
|
||||
sys_set_bit(DT_CAVS_ICTL_BASE_ADDR + 0x04 +
|
||||
sys_set_bit(DT_REG_ADDR(DT_NODELABEL(cavs0)) + 0x04 +
|
||||
CAVS_ICTL_INT_CPU_OFFSET(cpu_num), 8);
|
||||
|
||||
/* Send power up message to the other core */
|
||||
|
@ -198,7 +198,7 @@ void arch_start_cpu(int cpu_num, k_thread_stack_t *stack, int sz,
|
|||
idc_reg = idc_read(REG_IDCCTL, cpu_num);
|
||||
idc_reg &= ~REG_IDCCTL_IDCTBIE(0);
|
||||
idc_write(REG_IDCCTL, cpu_num, idc_reg);
|
||||
sys_clear_bit(DT_CAVS_ICTL_BASE_ADDR + 0x04 +
|
||||
sys_clear_bit(DT_REG_ADDR(DT_NODELABEL(cavs0)) + 0x04 +
|
||||
CAVS_ICTL_INT_CPU_OFFSET(cpu_num), 8);
|
||||
|
||||
do {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue