boards: lpcxpresso_55s69: Do not relocate image unless BUILD_WITH_TFM=y
Ensure that cpu1 only has its image load offset and flash size changed if BUILD_WITH_TFM is selected, to prevent the flash size being changed when TFM_BL2=n because TFM dependencies are not met. Fixes #41127 Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
7c89f1fe9f
commit
a00041851d
1 changed files with 2 additions and 2 deletions
|
@ -33,11 +33,11 @@ config FLASH_LOAD_SIZE
|
|||
if TRUSTED_EXECUTION_NONSECURE || BOARD_LPCXPRESSO55S69_CPU1
|
||||
|
||||
config FLASH_LOAD_OFFSET
|
||||
default 0x50000 if !TFM_BL2
|
||||
default 0x50000 if (!TFM_BL2 && BUILD_WITH_TFM)
|
||||
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_CODE_PARTITION))
|
||||
|
||||
config FLASH_LOAD_SIZE
|
||||
default 0x40000 if !TFM_BL2
|
||||
default 0x40000 if (!TFM_BL2 && BUILD_WITH_TFM)
|
||||
default $(dt_chosen_reg_size_hex,$(DT_CHOSEN_Z_CODE_PARTITION))
|
||||
|
||||
endif # TRUSTED_EXECUTION_NONSECURE || BOARD_LPCXPRESSO55S69_CPU1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue