diff options
author | TudorCretu <tudor.cretu@arm.com> | 2019-07-05 17:34:12 +0100 |
---|---|---|
committer | Jamie Fox <jamie.fox@arm.com> | 2019-10-07 10:56:08 +0100 |
commit | fb182bc68af2d64e34f33917c2c427cfeb7ef26b (patch) | |
tree | 7cdec724e1ec21d2f90643b8a4ec4fd230ec6142 /CommonConfig.cmake | |
parent | ba8a3faa0c1acb042d44a6d9d8b7f593a5b7664c (diff) | |
download | trusted-firmware-m-fb182bc68af2d64e34f33917c2c427cfeb7ef26b.tar.gz |
ITS: Implement the top layer of the ITS service
Implements the secure and non-secure top layer of the ITS service,
including a new manifest file, and generates the required veneers.
Updates the partition manifest with added SIDs. It also adds the
necessary CMake files to build the ITS service.
Change-Id: I6d66b01de56145d24a0bcbf0597ca158b6da3386
Signed-off-by: Tudor Cretu <tudor.cretu@arm.com>
Diffstat (limited to 'CommonConfig.cmake')
-rw-r--r-- | CommonConfig.cmake | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/CommonConfig.cmake b/CommonConfig.cmake index 361e76394a..5b693925dc 100644 --- a/CommonConfig.cmake +++ b/CommonConfig.cmake @@ -334,6 +334,23 @@ if (NOT DEFINED SST_TEST_NV_COUNTERS) endif() endif() +#Default TF-M internal trusted storage flags. +#These flags values can be overwritten by setting them in platform/ext/<TARGET_NAME>.cmake +#Documentation about these flags can be found in the TF-M ITS integration guide +option(ITS_CREATE_FLASH_LAYOUT "Create an empty ITS Flash Layout" OFF) + +if (NOT DEFINED ITS_VALIDATE_METADATA_FROM_FLASH) + set (ITS_VALIDATE_METADATA_FROM_FLASH ON) +endif() + +if (NOT DEFINED ITS_RAM_FS) + if (REGRESSION) + set (ITS_RAM_FS ON) + else() + set (ITS_RAM_FS OFF) + endif() +endif() + if (NOT DEFINED MBEDTLS_DEBUG) set(MBEDTLS_DEBUG OFF) endif() |