Skip to content

Commit f438696

Browse files
committed
soc: mcxa156: use soc hooks
Use SoC hooks instead of legacy z_arm_platform_init. Fixes #78386 Signed-off-by: Anas Nashif <[email protected]>
1 parent 6cf12c1 commit f438696

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

soc/nxp/mcx/mcxa/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ config SOC_SERIES_MCXA
88
select HAS_MCUX
99
select CPU_CORTEX_M_HAS_SYSTICK
1010
select CPU_CORTEX_M_HAS_DWT
11-
select PLATFORM_SPECIFIC_INIT
11+
select SOC_RESET_HOOK
1212

1313
config SOC_MCXA156
1414
select CPU_CORTEX_M33

soc/nxp/mcx/mcxa/soc.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@
1717
#include <zephyr/init.h>
1818
#include <soc.h>
1919

20-
#ifdef CONFIG_PLATFORM_SPECIFIC_INIT
21-
22-
void z_arm_platform_init(void)
20+
#ifdef CONFIG_SOC_RESET_HOOK
21+
void soc_reset_hook(void)
2322
{
2423
SystemInit();
2524
}
26-
2725
#endif

0 commit comments

Comments
 (0)