diff --git a/arch/arm/core/Kconfig b/arch/arm/core/Kconfig index 3b863fa2283..b964c8839bc 100644 --- a/arch/arm/core/Kconfig +++ b/arch/arm/core/Kconfig @@ -95,6 +95,12 @@ config RUNTIME_NMI NMI handler installed when the CPU boots. If a custom handler is needed, enable this option and attach it via _NmiHandlerSet(). +config PLATFORM_SPECIFIC_INIT + bool "Enable platform (SOC) specific startup hook" + help + The platform specific initialization code (z_platform_init) is executed + at the beginning of the startup code (__start). + config FAULT_DUMP int "Fault dump level" default 2 diff --git a/arch/arm/core/cortex_m/Kconfig b/arch/arm/core/cortex_m/Kconfig index 084e877b8a5..4ca61f1871c 100644 --- a/arch/arm/core/cortex_m/Kconfig +++ b/arch/arm/core/cortex_m/Kconfig @@ -255,12 +255,6 @@ config SW_VECTOR_RELAY (or an Armv8-M baseline core) with no VTOR and no other hardware relocation table mechanisms. -config PLATFORM_SPECIFIC_INIT - bool "Enable platform (SOC) specific startup hook" - help - The platform specific initialization code (z_platform_init) is executed - at the beginning of the startup code (__start). - endmenu endif # CPU_CORTEX_M