Skip to content

Commit a056b60

Browse files
gmarullnashif
authored andcommitted
arch: arm: do not enable PLATFORM_SPECIFIC_INIT if SOC_RESET_HOOK=y
Otherwise we can't escape from DEPRECATED being selected, and so getting build warnings. It doesn't make sense that the option replacing the deprecated one is used to automatically enable it. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent fc6cb67 commit a056b60

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/arm/core/Kconfig

-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ config RUNTIME_NMI
167167

168168
config PLATFORM_SPECIFIC_INIT
169169
bool "Platform (SOC) specific startup hook [DEPRECATED]"
170-
default y if SOC_RESET_HOOK
171170
select DEPRECATED
172171
help
173172
The platform specific initialization code (z_arm_platform_init) is

0 commit comments

Comments
 (0)