aboutsummaryrefslogtreecommitdiff
path: root/CommonConfig.cmake
diff options
context:
space:
mode:
authorJamie Fox <jamie.fox@arm.com>2020-06-12 18:21:25 +0100
committerJamie Fox <jamie.fox@arm.com>2020-06-23 15:22:26 +0100
commitf58bd227e66b399ade789f1a29c263a25e884cd1 (patch)
tree0413389ac2b1394a4bdf6d1f2b971be23445584b /CommonConfig.cmake
parent48e632b2ec2b94841d28882a06a9d7cc1488b253 (diff)
downloadtrusted-firmware-m-f58bd227e66b399ade789f1a29c263a25e884cd1.tar.gz
Build: Disable RAM FS by default
Changes the common configuration to disable the ITS and PS RAM FS by default, even when running the regression tests. Testing with persistent storage allows for greater coverage of scenarios such as initialisation with existing storage and correct erasing of flash before overwriting. The setting can still be overridden in the platform CMake config, or by providing it on the command line if flash wear is a concern. Change-Id: If950e13d5f89ff164b47ed8d6602cdef5d4d6b5e Signed-off-by: Jamie Fox <jamie.fox@arm.com>
Diffstat (limited to 'CommonConfig.cmake')
-rw-r--r--CommonConfig.cmake12
1 files changed, 2 insertions, 10 deletions
diff --git a/CommonConfig.cmake b/CommonConfig.cmake
index 62a6dc1d1c..e1d8f1ad32 100644
--- a/CommonConfig.cmake
+++ b/CommonConfig.cmake
@@ -456,11 +456,7 @@ if (NOT DEFINED PS_VALIDATE_METADATA_FROM_FLASH)
endif()
if (NOT DEFINED PS_RAM_FS)
- if (REGRESSION)
- set (PS_RAM_FS ON)
- else()
- set (PS_RAM_FS OFF)
- endif()
+ set (PS_RAM_FS OFF)
endif()
if (NOT DEFINED PS_TEST_NV_COUNTERS)
@@ -488,11 +484,7 @@ if (NOT DEFINED ITS_VALIDATE_METADATA_FROM_FLASH)
endif()
if (NOT DEFINED ITS_RAM_FS)
- if (REGRESSION)
- set (ITS_RAM_FS ON)
- else()
- set (ITS_RAM_FS OFF)
- endif()
+ set (ITS_RAM_FS OFF)
endif()
if (NOT DEFINED MBEDCRYPTO_DEBUG)