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:
Kumar Gala 2020-04-20 10:39:35 -05:00 committed by Kumar Gala
commit e53ddb5037
3 changed files with 4 additions and 4 deletions

View file

@ -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 {