soc: mcxa156: use soc hooks
Use SoC hooks instead of legacy z_arm_platform_init. Fixes #78386 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
6cf12c1aa9
commit
f438696281
2 changed files with 3 additions and 5 deletions
|
@ -8,7 +8,7 @@ config SOC_SERIES_MCXA
|
||||||
select HAS_MCUX
|
select HAS_MCUX
|
||||||
select CPU_CORTEX_M_HAS_SYSTICK
|
select CPU_CORTEX_M_HAS_SYSTICK
|
||||||
select CPU_CORTEX_M_HAS_DWT
|
select CPU_CORTEX_M_HAS_DWT
|
||||||
select PLATFORM_SPECIFIC_INIT
|
select SOC_RESET_HOOK
|
||||||
|
|
||||||
config SOC_MCXA156
|
config SOC_MCXA156
|
||||||
select CPU_CORTEX_M33
|
select CPU_CORTEX_M33
|
||||||
|
|
|
@ -17,11 +17,9 @@
|
||||||
#include <zephyr/init.h>
|
#include <zephyr/init.h>
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
|
|
||||||
#ifdef CONFIG_PLATFORM_SPECIFIC_INIT
|
#ifdef CONFIG_SOC_RESET_HOOK
|
||||||
|
void soc_reset_hook(void)
|
||||||
void z_arm_platform_init(void)
|
|
||||||
{
|
{
|
||||||
SystemInit();
|
SystemInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue