Skip to content

Commit 88630a7

Browse files
Jayashree-Srinivasan-aditomi-font
authored andcommitted
platform: ext: adi: Enable Protected Storage partition
Protected Storage partition is enabled in the configuration file for the MAX32657 platform. Sufficient flash space is allocated for the services. Note that PS is not enabled by default in case of small profile of TF-M. Change-Id: I8a046227b36cfbb3f6c1aaf10a9d25ac48cd2d31 Signed-off-by: Jayashree Srinivasan <[email protected]> (cherry picked from commit 96174fefb11627fe64f5df92a8d528d22e0db5c4)
1 parent 62b39a4 commit 88630a7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

platform/ext/target/adi/max32657/config.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ set(TFM_BL2_SIGNING_KEY_PATH "" CACHE FILEPATH "")
1111

1212
set(BL2 ON CACHE BOOL "Whether to build BL2")
1313
set(CONFIG_TFM_USE_TRUSTZONE ON)
14+
set(TFM_PARTITION_PROTECTED_STORAGE ON CACHE BOOL "Enable Protected Stroage partition")
1415
set(TFM_PARTITION_PLATFORM OFF CACHE BOOL "Enable Platform partition")
1516
set(TFM_PARTITION_CRYPTO ON CACHE BOOL "Enable Crypto partition")
1617
set(TFM_PARTITION_INTERNAL_TRUSTED_STORAGE ON CACHE BOOL "Enable Internal Trusted Storage partition")

platform/ext/target/adi/max32657/s_ns_access.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ set(ADI_S_RAM_CODE_SIZE "0x800" CACHE STRING "Default: 2KB")
4949
set(ADI_FLASH_AREA_BL2_SIZE "0x10000" CACHE STRING "Default: 64KB")
5050
set(ADI_FLASH_S_PARTITION_SIZE "0x50000" CACHE STRING "Default: 320KB")
5151
set(ADI_FLASH_NS_PARTITION_SIZE "0x90000" CACHE STRING "Default: 576KB")
52-
set(ADI_FLASH_PS_AREA_SIZE "0" CACHE STRING "Default: 0KB")
52+
set(ADI_FLASH_PS_AREA_SIZE "0x4000" CACHE STRING "Default: 16KB")
5353
set(ADI_FLASH_ITS_AREA_SIZE "0x4000" CACHE STRING "Default: 16KB")
5454

5555

0 commit comments

Comments
 (0)