Build: Fix PSCLEAR configuration option
PS_ROLLBACK_PROTECTION must be set to OFF as well when
the PS_ENCRYPTION is disabled.
Change-Id: I78cf3c77bb395fa42f658a9374db7a09e8c434e5
Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
diff --git a/build_helper/build_helper_config_maps.py b/build_helper/build_helper_config_maps.py
index 7606747..b784a31 100644
--- a/build_helper/build_helper_config_maps.py
+++ b/build_helper/build_helper_config_maps.py
@@ -84,7 +84,7 @@
"LZOFF" : "-DCONFIG_TFM_LAZY_STACKING=OFF ",
# Partiton
"PSOFF" : "-DTFM_PARTITION_PROTECTED_STORAGE=OFF ",
- "PSCLEAR" : "-DPS_ENCRYPTION=OFF",
+ "PSCLEAR" : "-DPS_ENCRYPTION=OFF -DPS_ROLLBACK_PROTECTION=OFF",
"PSLIMIT" : "-DPS_AES_KEY_USAGE_LIMIT=1000000",
# IPC
"IPC" : "-DCONFIG_TFM_SPM_BACKEND=IPC ",