Skip to content

Commit bffe8d5

Browse files
committed
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 <[email protected]>
1 parent 5b3c732 commit bffe8d5

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Copyright 2024-2025 NXP
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
if SOC_MIMX9596_A55
5+
6+
# GIC ITS depends on kernel heap which init priority is 30, so set
7+
# GIC to be 31, mailbox and SCMI will be initialized by the order
8+
# according to dts dependency although they use the same init priority.
9+
config INTC_INIT_PRIORITY
10+
default 31
11+
12+
config MBOX_INIT_PRIORITY
13+
default 31
14+
15+
config ARM_SCMI_SHMEM_INIT_PRIORITY
16+
default 31
17+
18+
config ARM_SCMI_TRANSPORT_INIT_PRIORITY
19+
default 31
20+
21+
config CLOCK_CONTROL_INIT_PRIORITY
22+
default 31
23+
24+
endif

boards/nxp/imx95_evk/imx95_evk_mimx9596_a55_defconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,3 @@ CONFIG_CLOCK_CONTROL=y
3131

3232
CONFIG_MBOX=y
3333
CONFIG_ARM_SCMI=y
34-
CONFIG_INTC_INIT_PRIORITY=2
35-
CONFIG_MBOX_INIT_PRIORITY=3

0 commit comments

Comments
 (0)