interrupt_controller/dw_ictl: need to be initialized earlier

The dw_ictl interrupt controller is an interrupt aggregator
supporting multi-level interrupts. Therefore, it needs to be
initialized earlier than any downstream interrupt controllers
and devices.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2019-02-21 15:05:28 -08:00 committed by Anas Nashif
commit b4a7eed82e
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ config DW_ISR_TBL_OFFSET
config DW_ICTL_INIT_PRIORITY
int "Init priority for DW interrupt controller"
default 60
default 48
help
DesignWare Interrupt Controller initialization priority.

View file

@ -141,7 +141,7 @@ static const struct irq_next_level_api dw_ictl_apis = {
DEVICE_AND_API_INIT(dw_ictl, DT_INST_0_SNPS_DESIGNWARE_INTC_LABEL,
dw_ictl_initialize, NULL, &dw_config,
POST_KERNEL, CONFIG_DW_ICTL_INIT_PRIORITY, &dw_ictl_apis);
PRE_KERNEL_1, CONFIG_DW_ICTL_INIT_PRIORITY, &dw_ictl_apis);
static void dw_ictl_config_irq(struct device *port)
{