tfm: nordic_nrf: Add generic SoC support for nordic SoCs
Add generic SoC support for the supported nordic SoCs: - nrf5340 - nrf9160 - nrf9120 Add generic SoC support by taking board specific configurations from zephyr devicetree and kconfig. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
7a216d2a69
commit
33a44d0ed8
22 changed files with 450 additions and 4 deletions
|
@ -21,4 +21,8 @@ if(CONFIG_BUILD_WITH_TFM)
|
|||
set_property(TARGET zephyr_property_target
|
||||
APPEND PROPERTY TFM_CMAKE_OPTIONS -DHAL_NORDIC_PATH=${ZEPHYR_HAL_NORDIC_MODULE_DIR}
|
||||
)
|
||||
|
||||
set_property(TARGET zephyr_property_target
|
||||
APPEND PROPERTY TFM_CMAKE_OPTIONS -DZEPHYR_BASE=${ZEPHYR_BASE}
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -25,6 +25,13 @@ config NRF_SOC_SECURE_SUPPORTED
|
|||
For non-secure the functions must redirect to secure services exposed
|
||||
by the secure firmware.
|
||||
|
||||
config TFM_LOG_LEVEL_SILENCE
|
||||
default y if !$(dt_nodelabel_has_prop,uart1,pinctrl-names)
|
||||
depends on BUILD_WITH_TFM
|
||||
help
|
||||
Disable TF-M secure output if the uart1 node has not assigned GPIO
|
||||
pins using pinctrl.
|
||||
|
||||
config NRF_MPU_FLASH_REGION_SIZE
|
||||
hex
|
||||
default 0x1000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue