boards: imx95_evk: refine GIC and SCMI objects init priority

GIC ITS depends on kernel heap, so move GIC initialize to be behind of
heap which initialization priority is CONFIG_KERNEL_INIT_PRIORITY_OBJECTS
(it is 30 by default).

MU mailbox and SCMI objects depend on GIC, so set their init priority
to be same with GIC, the initialization sequence decided by the dts
dependency although they use the same init priority.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
This commit is contained in:
Jiafei Pan 2025-06-27 16:35:36 +08:00 committed by Fabio Baltieri
parent 2d62d3f605
commit 4dcd2ae5a4
2 changed files with 24 additions and 2 deletions

View File

@ -0,0 +1,24 @@
# Copyright 2024-2025 NXP
# SPDX-License-Identifier: Apache-2.0
if SOC_MIMX9596_A55
# GIC ITS depends on kernel heap which init priority is 30, so set
# GIC to be 31, mailbox and SCMI will be initialized by the order
# according to dts dependency although they use the same init priority.
config INTC_INIT_PRIORITY
default 31
config MBOX_INIT_PRIORITY
default 31
config ARM_SCMI_SHMEM_INIT_PRIORITY
default 31
config ARM_SCMI_TRANSPORT_INIT_PRIORITY
default 31
config CLOCK_CONTROL_INIT_PRIORITY
default 31
endif

View File

@ -31,5 +31,3 @@ CONFIG_CLOCK_CONTROL=y
CONFIG_MBOX=y
CONFIG_ARM_SCMI=y
CONFIG_INTC_INIT_PRIORITY=2
CONFIG_MBOX_INIT_PRIORITY=3