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:
parent
518f329b3a
commit
b4a7eed82e
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue