boards: nxp: lpcxpresso55s69: fix TF-M support

Fix TF-M support for lpcxpresso55s69 target. The following issues were
resolved:

- lpcxpresso55s69 ns defconfig did not explicitly disable
  CONFIG_TRUSTED_EXECUTION_SECURE (which is set in the secure cpu0
  defconfig file)
- CONFIG_TFM_BOARD was not being set correctly for the NS target

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2024-03-06 11:58:05 -06:00 committed by Anas Nashif
parent 9c500a8a82
commit dae5c29959
2 changed files with 2 additions and 1 deletions

View file

@ -12,6 +12,7 @@ CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_ARM_MPU=n
# Enable TrustZone-M
CONFIG_TRUSTED_EXECUTION_SECURE=n
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
CONFIG_ARM_TRUSTZONE_M=y
CONFIG_BUILD_WITH_TFM=y

View file

@ -9,7 +9,7 @@ config ZEPHYR_TRUSTED_FIRMWARE_M_MODULE
config TFM_BOARD
string
default "nxp/lpcxpresso55s69" if BOARD_LPCXPRESSO55S69_LPC55S69_CPU0
default "nxp/lpcxpresso55s69" if BOARD_LPCXPRESSO55S69_LPC55S69_CPU0_NS
default "arm/mps2/an521" if BOARD_MPS2_AN521_CPU0_NS
default "arm/mps3/an547" if BOARD_MPS3_AN547
default "stm/b_u585i_iot02a" if BOARD_B_U585I_IOT02A