Skip to content

Commit

Permalink
arch: arm: do not enable PLATFORM_SPECIFIC_INIT if SOC_RESET_HOOK=y
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
gmarull authored and nashif committed Sep 16, 2024
1 parent fc6cb67 commit a056b60
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/arm/core/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ config RUNTIME_NMI

config PLATFORM_SPECIFIC_INIT
bool "Platform (SOC) specific startup hook [DEPRECATED]"
default y if SOC_RESET_HOOK
select DEPRECATED
help
The platform specific initialization code (z_arm_platform_init) is
Expand Down

0 comments on commit a056b60

Please sign in to comment.