soc: silabs: Add soc_prep_hook() for Series 2
CMSIS SystemInit is not used in Zephyr. Implement the functionality that isn't already done by Zephyr startup using soc_prep_hook(). The reason the lack of TrustZone init did not create immediately obvious issues previously is that SMU faults can only happen if the SMU clock is enabled. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
This commit is contained in:
parent
4dc2f6fd1c
commit
d12de2d6b4
5 changed files with 69 additions and 5 deletions
|
@ -119,10 +119,6 @@ zephyr_compile_definitions_ifdef(CONFIG_SOC_GECKO_DEV_INIT
|
|||
SL_CATALOG_HFXO_MANAGER_PRESENT
|
||||
)
|
||||
|
||||
zephyr_compile_options(
|
||||
-mcmse # Cortex-M Security Extensions are needed for startup code
|
||||
)
|
||||
|
||||
zephyr_library_sources(
|
||||
${DEVICE_DIR}/SiliconLabs/${SILABS_DEVICE_FAMILY}/Source/system_${CONFIG_SOC_SERIES}.c
|
||||
${EMLIB_DIR}/src/em_system.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue