From a2f971795f96b6c6785565b1e9bedef55188767d Mon Sep 17 00:00:00 2001 From: Daniel Schultz Date: Fri, 8 Sep 2023 14:21:39 -0700 Subject: [PATCH] soc: arm: ti_k3: am62x_m4: Lower Initialization level for init Other drivers like the pinctrl_ti_k3 rely on a fully initialized system. Move the am62x_init to an earlier stage than PRE_KERNEL_1 to keep both PRE_KERNEL_{1,2} free for drivers. Signed-off-by: Daniel Schultz --- soc/arm/ti_k3/am62x_m4/soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soc/arm/ti_k3/am62x_m4/soc.c b/soc/arm/ti_k3/am62x_m4/soc.c index 1010e045ea5..9c86eb09a1d 100644 --- a/soc/arm/ti_k3/am62x_m4/soc.c +++ b/soc/arm/ti_k3/am62x_m4/soc.c @@ -70,4 +70,4 @@ static int am62x_m4_init(void) return 0; } -SYS_INIT(am62x_m4_init, PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT); +SYS_INIT(am62x_m4_init, EARLY, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);