Build: Move PSOFF param from common to extra params
PS partition is enabled by default in most config groups.
Move it to extra params to simplify build config params.
Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: I742eb7b0b6384b951eaa87aedec0b80d8487c62a
diff --git a/build_helper/build_helper_config_maps.py b/build_helper/build_helper_config_maps.py
index 69427aa..c4724b7 100644
--- a/build_helper/build_helper_config_maps.py
+++ b/build_helper/build_helper_config_maps.py
@@ -65,6 +65,8 @@
"FPON" : ("-DCONFIG_TFM_ENABLE_FP=ON "
"-DTEST_S_FPU=ON -DTEST_NS_FPU=ON "),
"LZOFF" : "-DCONFIG_TFM_LAZY_STACKING=OFF ",
+ # Partiton
+ "PSOFF" : "-DTFM_PARTITION_PROTECTED_STORAGE=OFF ",
# SFN
"SFN" : "-DCONFIG_TFM_SPM_BACKEND=SFN ",
# CC Driver
diff --git a/build_helper/build_helper_configs.py b/build_helper/build_helper_configs.py
index ccfaa40..3ee6c2d 100755
--- a/build_helper/build_helper_configs.py
+++ b/build_helper/build_helper_configs.py
@@ -41,7 +41,6 @@
"cmake_build_type",
"with_bl2",
"profile",
- "partition_ps",
"extra_params"],
# Keys for the templace will come from the combinations of parameters
@@ -58,7 +57,6 @@
"-DTEST_PSA_API=%(test_psa_api)s " + \
"-DBL2=%(with_bl2)s " + \
"-DTFM_PROFILE=%(profile)s " + \
- "-DTFM_PARTITION_PROTECTED_STORAGE=%(partition_ps)s " + \
"%(extra_params)s " + \
"-DTFM_TEST_REPO_PATH=%(codebase_root_dir)s/../tf-m-tests " + \
"-DMBEDCRYPTO_PATH=%(codebase_root_dir)s/../mbedtls " + \
@@ -173,27 +171,27 @@
# List of all build configs that are impossible under all circumstances
_common_tfm_invalid_configs = [
# GCC defect
- ("arm/mps2/an519", "GCC_7_3_1", "*", "*", "*", "*", "Minsizerel", "*", "*", "*", "*"),
+ ("arm/mps2/an519", "GCC_7_3_1", "*", "*", "*", "*", "Minsizerel", "*", "*", "*"),
# LR_CODE size exceeds limit on MUSCA_B1 & MUSCA_S1 with regression tests in Debug mode built with ARMCLANG
- ("arm/musca_b1", "ARMCLANG_6_13", "*", "*", True, "OFF", "Debug", "*", "", "*", "*"),
- ("arm/musca_s1", "ARMCLANG_6_13", "*", "*", True, "OFF", "Debug", "*", "", "*", "*"),
+ ("arm/musca_b1", "ARMCLANG_6_13", "*", "*", True, "OFF", "Debug", "*", "", "*"),
+ ("arm/musca_s1", "ARMCLANG_6_13", "*", "*", True, "OFF", "Debug", "*", "", "*"),
# Load range overlap on Musca for IPC Debug type: T895
- ("arm/musca_b1", "ARMCLANG_6_13", "*", "*", "*", "IPC", "Debug", "*", "*", "*", "*"),
- ("arm/musca_s1", "ARMCLANG_6_13", "*", "*", "*", "IPC", "Debug", "*", "*", "*", "*"),
+ ("arm/musca_b1", "ARMCLANG_6_13", "*", "*", "*", "IPC", "Debug", "*", "*", "*"),
+ ("arm/musca_s1", "ARMCLANG_6_13", "*", "*", "*", "IPC", "Debug", "*", "*", "*"),
# LVL2 and LVL3 requires IPC model
- ("*", "*", True, "2", "*", "*", "*", "*", "*", "*", "*"),
- ("*", "*", True, "3", "*", "*", "*", "*", "*", "*", "*"),
+ ("*", "*", True, "2", "*", "*", "*", "*", "*", "*"),
+ ("*", "*", True, "3", "*", "*", "*", "*", "*", "*"),
# FF does not support library model
- ("*", "*", True, "*", "*", "IPC", "*", "*", "*", "*", "*"),
+ ("*", "*", True, "*", "*", "IPC", "*", "*", "*", "*"),
# FF does not support L3
- ("*", "*", "*", "3", "*", "IPC", "*", "*", "*", "*", "*"),
+ ("*", "*", "*", "3", "*", "IPC", "*", "*", "*", "*"),
# Musca requires BL2
- ("arm/musca_b1", "*", "*", "*", "*", "*", "*", False, "*", "*", "*"),
- ("arm/musca_s1", "*", "*", "*", "*", "*", "*", False, "*", "*", "*"),
+ ("arm/musca_b1", "*", "*", "*", "*", "*", "*", False, "*", "*"),
+ ("arm/musca_s1", "*", "*", "*", "*", "*", "*", False, "*", "*"),
# Only AN521 and MUSCA_B1 support Isolation Level 3
- ("arm/mps2/an519", "*", "*", "3", "*", "*", "*", "*", "*", "*", "*"),
- ("arm/mps3/an524", "*", "*", "3", "*", "*", "*", "*", "*", "*", "*"),
- ("arm/musca_s1", "*", "*", "3", "*", "*", "*", "*", "*", "*", "*"),
+ ("arm/mps2/an519", "*", "*", "3", "*", "*", "*", "*", "*", "*"),
+ ("arm/mps3/an524", "*", "*", "3", "*", "*", "*", "*", "*", "*"),
+ ("arm/musca_s1", "*", "*", "3", "*", "*", "*", "*", "*", "*"),
]
# Configure build manager to build several combinations
@@ -209,92 +207,91 @@
"cmake_build_type": ["Debug"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": [""]
},
"common_params": _common_tfm_builder_cfg,
"valid": [
# AN519_ARMCLANG_IPC_2_REG_Release_BL2
("arm/mps2/an519", "ARMCLANG_6_13", False, "2",
- True, "OFF", "Release", True, "", "ON", ""),
+ True, "OFF", "Release", True, "", ""),
# AN519_GCC_IPC_1_REG_Debug_BL2
("arm/mps2/an519", "GCC_7_3_1", False, "1",
- True, "OFF", "Debug", True, "", "ON", ""),
+ True, "OFF", "Debug", True, "", ""),
# AN519_GCC_IPC_2_REG_Release_BL2
("arm/mps2/an519", "GCC_7_3_1", False, "2",
- True, "OFF", "Release", True, "", "ON", ""),
+ True, "OFF", "Release", True, "", ""),
# AN519_GCC_LIB_1_REG_Debug_BL2
("arm/mps2/an519", "GCC_7_3_1", True, "1",
- True, "OFF", "Debug", True, "", "ON", ""),
+ True, "OFF", "Debug", True, "", ""),
# AN521_ARMCLANG_LIB_1_REG_Debug_BL2_SMALL_PSOFF
("arm/mps2/an521", "ARMCLANG_6_13", True, "1",
- True, "OFF", "Debug", True, "profile_small", "OFF", ""),
+ True, "OFF", "Debug", True, "profile_small", "PSOFF"),
# AN521_ARMCLANG_IPC_1_REG_Debug_BL2
("arm/mps2/an521", "ARMCLANG_6_13", False, "1",
- True, "OFF", "Debug", True, "", "ON", ""),
+ True, "OFF", "Debug", True, "", ""),
# AN521_ARMCLANG_IPC_2_REG_Release_BL2
("arm/mps2/an521", "ARMCLANG_6_13", False, "2",
- True, "OFF", "Release", True, "", "ON", ""),
+ True, "OFF", "Release", True, "", ""),
# AN521_ARMCLANG_IPC_3_REG_Minsizerel_BL2
("arm/mps2/an521", "ARMCLANG_6_13", False, "3",
- True, "OFF", "Minsizerel", True, "", "ON", ""),
+ True, "OFF", "Minsizerel", True, "", ""),
# AN521_ARMCLANG_IPC_1_REG_Debug_BL2_SMALL_PSOFF_SFN
("arm/mps2/an521", "ARMCLANG_6_13", False, "1",
- True, "OFF", "Debug", True, "profile_small", "OFF", "SFN"),
+ True, "OFF", "Debug", True, "profile_small", "PSOFF, SFN"),
# AN521_GCC_IPC_1_REG_Debug_BL2
("arm/mps2/an521", "GCC_7_3_1", False, "1",
- True, "OFF", "Debug", True, "", "ON", ""),
+ True, "OFF", "Debug", True, "", ""),
# AN521_GCC_IPC_2_Debug_BL2_MEDIUM
("arm/mps2/an521", "GCC_7_3_1", False, "2",
- False, "OFF", "Debug", True, "profile_medium", "ON", ""),
+ False, "OFF", "Debug", True, "profile_medium", ""),
# AN521_GCC_IPC_2_REG_Release_BL2
("arm/mps2/an521", "GCC_7_3_1", False, "2",
- True, "OFF", "Release", True, "", "ON", ""),
+ True, "OFF", "Release", True, "", ""),
# AN521_GCC_IPC_3_REG_Minsizerel_BL2
("arm/mps2/an521", "GCC_7_3_1", False, "3",
- True, "OFF", "Minsizerel", True, "", "ON", ""),
+ True, "OFF", "Minsizerel", True, "", ""),
# AN521_GCC_LIB_1_REG_Debug_BL2
("arm/mps2/an521", "GCC_7_3_1", True, "1",
- True, "OFF", "Debug", True, "", "ON", ""),
+ True, "OFF", "Debug", True, "", ""),
# AN552_GNUARM_IPC_1_REG_Debug_BL2
("arm/mps3/an552", "GCC_10_3", False, "1",
- True, "OFF", "Debug", True, "", "ON", ""),
+ True, "OFF", "Debug", True, "", ""),
# AN552_GNUARM_IPC_1_REG_Release_BL2
("arm/mps3/an552", "GCC_10_3", False, "1",
- True, "OFF", "Release", True, "", "ON", ""),
+ True, "OFF", "Release", True, "", ""),
# MUSCA_B1_GCC_LIB_1_REG_Minsizerel_BL2
("arm/musca_b1", "GCC_7_3_1", True, "1",
- True, "OFF", "Minsizerel", True, "", "ON", ""),
+ True, "OFF", "Minsizerel", True, "", ""),
# MUSCA_S1_ARMCLANG_IPC_2_REG_Release_BL2
("arm/musca_s1", "ARMCLANG_6_13", False, "2",
- True, "OFF", "Release", True, "", "ON", ""),
+ True, "OFF", "Release", True, "", ""),
# MUSCA_S1_GCC_IPC_1_REG_Debug_BL2
("arm/musca_s1", "GCC_10_3", False, "1",
- True, "OFF", "Debug", True, "", "ON", ""),
+ True, "OFF", "Debug", True, "", ""),
# MUSCA_S1_GCC_IPC_2_REG_Release_BL2
("arm/musca_s1", "GCC_10_3", False, "2",
- True, "OFF", "Release", True, "", "ON", ""),
+ True, "OFF", "Release", True, "", ""),
# MUSCA_S1_GCC_LIB_1_REG_Debug_BL2
("arm/musca_s1", "GCC_10_3", True, "1",
- True, "OFF", "Debug", True, "", "ON", ""),
+ True, "OFF", "Debug", True, "", ""),
# MUSCA_S1_GCC_IPC_2_REG_Release_BL2_FPON
("arm/musca_s1", "GCC_10_3", False, "2",
- True, "OFF", "Release", True, "", "ON", "FPON"),
+ True, "OFF", "Release", True, "", "FPON"),
# MUSCA_S1_GCC_IPC_1_REG_Release_BL2_CC_DRIVER_PSA
("arm/musca_s1", "GCC_7_3_1", False, "1",
- True, "OFF", "Release", True, "", "ON", "CC_DRIVER_PSA"),
+ True, "OFF", "Release", True, "", "CC_DRIVER_PSA"),
# stm32l562e_dk_ARMCLANG_IPC_1_REG_Release_BL2
("stm/stm32l562e_dk", "ARMCLANG_6_13", False, "1",
- True, "OFF", "Release", True, "", "ON", "CRYPTO_OFF"),
+ True, "OFF", "Release", True, "", "CRYPTO_OFF"),
# stm32l562e_dk_GCC_IPC_2_REG_Release_BL2
("stm/stm32l562e_dk", "GCC_7_3_1", False, "2",
- False, "OFF", "Release", True, "", "ON", "CRYPTO_ON"),
+ False, "OFF", "Release", True, "", "CRYPTO_ON"),
# stm32l562e_dk_GCC_IPC_3_REG_Release_BL2
("stm/stm32l562e_dk", "GCC_7_3_1", False, "3",
- True, "OFF", "Release", True, "", "ON", "CRYPTO_OFF"),
+ True, "OFF", "Release", True, "", "CRYPTO_OFF"),
# psoc64_GCC_IPC_2_REG_Release
("cypress/psoc64", "GCC_7_3_1", False, "2",
- True, "OFF", "Release", False, "", "ON", ""),
+ True, "OFF", "Release", False, "", ""),
],
"invalid": _common_tfm_invalid_configs + []
}
@@ -314,7 +311,6 @@
"cmake_build_type": ["Debug", "Release", "Minsizerel"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": [""]
},
"common_params": _common_tfm_builder_cfg,
@@ -336,7 +332,6 @@
"cmake_build_type": ["Debug", "Release", "Minsizerel"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": [""]
},
"common_params": _common_tfm_builder_cfg,
@@ -345,7 +340,7 @@
# AN521_GCC_IPC_3_REG_Relwithdebinfo_BL2
("arm/mps2/an521", "GCC_11_2",
False, "3", True, "OFF", "Relwithdebinfo",
- True, "", "ON", ""),
+ True, "", ""),
],
"invalid": _common_tfm_invalid_configs + []
}
@@ -361,18 +356,17 @@
"cmake_build_type": ["Debug", "Release", "Minsizerel"],
"with_bl2": [True],
"profile": ["profile_small"],
- "partition_ps": ["OFF"],
- "extra_params": [""]
+ "extra_params": ["PSOFF"]
},
"common_params": _common_tfm_builder_cfg,
"valid": [
# Profile Small also supports SFN model
("*", "*", False, "*", "*", "*",
- "*", "*", "*", "*", "SFN")
+ "*", "*", "*", "PSOFF, SFN")
],
"invalid": _common_tfm_invalid_configs + [
("arm/mps2/an519", "GCC_7_3_1", "*", "*", "*",
- "*", "Minsizerel", "*", "*", "*", "*")
+ "*", "Minsizerel", "*", "*", "*")
]
}
@@ -388,8 +382,7 @@
"cmake_build_type": ["Debug", "Release", "Minsizerel"],
"with_bl2": [True],
"profile": ["profile_medium"],
- "partition_ps": ["ON", "OFF"],
- "extra_params": [""]
+ "extra_params": ["", "PSOFF"]
},
"common_params": _common_tfm_builder_cfg,
"invalid": _common_tfm_invalid_configs + []
@@ -405,8 +398,7 @@
"cmake_build_type": ["Debug", "Release", "Minsizerel"],
"with_bl2": [True],
"profile": ["profile_large"],
- "partition_ps": ["ON", "OFF"],
- "extra_params": [""]
+ "extra_params": ["", "PSOFF"]
},
"common_params": _common_tfm_builder_cfg,
"invalid": _common_tfm_invalid_configs + []
@@ -423,7 +415,6 @@
"cmake_build_type": ["Release"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["CC_DRIVER_PSA"]
},
"common_params": _common_tfm_builder_cfg,
@@ -440,7 +431,6 @@
"cmake_build_type": ["Debug", "Release"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["FPOFF", "FPON", "FPON, LZOFF"]
},
"common_params": _common_tfm_builder_cfg,
@@ -462,7 +452,6 @@
"cmake_build_type": ["Debug", "Release", "Minsizerel"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": [""]
},
"common_params": _common_tfm_builder_cfg,
@@ -479,7 +468,6 @@
"cmake_build_type": ["Debug"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["NSCE"]
},
"common_params": _common_tfm_builder_cfg,
@@ -496,7 +484,6 @@
"cmake_build_type": ["Debug", "Release", "Minsizerel"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["MMIO"]
},
"common_params": _common_tfm_builder_cfg,
@@ -530,7 +517,6 @@
"cmake_build_type": ["Debug", "Release"],
"with_bl2": [True, False],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["", "NSOFF"]
},
"common_params": _common_tfm_builder_cfg,
@@ -547,7 +533,6 @@
"cmake_build_type": ["Debug", "Release"],
"with_bl2": [True, False],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["", "NSOFF"]
},
"common_params": _common_tfm_builder_cfg,
@@ -564,7 +549,6 @@
"cmake_build_type": ["Debug", "Release"],
"with_bl2": [True, False],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["", "NSOFF"]
},
"common_params": _common_tfm_builder_cfg,
@@ -581,7 +565,6 @@
"cmake_build_type": ["Debug"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": [""]
},
"common_params": _common_tfm_builder_cfg,
@@ -598,7 +581,6 @@
"cmake_build_type": ["Debug", "Release"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": [""]
},
"common_params": _common_tfm_builder_cfg,
@@ -615,7 +597,6 @@
"cmake_build_type": ["Debug", "Release"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["", "NSOFF"]
},
"common_params": _common_tfm_builder_cfg,
@@ -632,7 +613,6 @@
"cmake_build_type": ["Debug", "Release"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["", "NSOFF"]
},
"common_params": _common_tfm_builder_cfg,
@@ -649,7 +629,6 @@
"cmake_build_type": ["Debug"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["NSOFF"]
},
"common_params": _common_tfm_builder_cfg,
@@ -666,8 +645,7 @@
"cmake_build_type": ["Debug", "Release"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["OFF"],
- "extra_params": [""]
+ "extra_params": ["PSOFF"]
},
"common_params": _common_tfm_builder_cfg,
"invalid": _common_tfm_invalid_configs + []
@@ -683,7 +661,6 @@
"cmake_build_type": ["Release"],
"with_bl2": [False],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": [""]
},
"common_params": _common_tfm_builder_cfg,
@@ -700,7 +677,6 @@
"cmake_build_type": ["Debug"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["S_PS_OFF, FVP", "FPGA"]
},
"common_params": _common_tfm_builder_cfg,
@@ -717,20 +693,19 @@
"cmake_build_type": ["Release"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["CRYPTO_OFF", "CRYPTO_ON"]
},
"common_params": _common_tfm_builder_cfg,
"invalid": _common_tfm_invalid_configs + [
# Oversize issue on config stm32l562e_dk_ARMCLANG_LIB_1_REG_Release_BL2
("stm/stm32l562e_dk", "ARMCLANG_6_13", True, "1",
- True, "OFF", "Release", True, "", "ON", "*"),
+ True, "OFF", "Release", True, "", "*"),
# all other tests are off when CRYPTO is ON
("stm/stm32l562e_dk", "*", "*", "*", True, "*",
- "*", "*", "*", "*", "CRYPTO_ON"),
+ "*", "*", "*", "CRYPTO_ON"),
# all other tests are ON when CRYPTO is OFF
("stm/stm32l562e_dk", "*", "*", "*", False, "*",
- "*", "*", "*", "*", "CRYPTO_OFF"),
+ "*", "*", "*", "CRYPTO_OFF"),
]
}
@@ -744,7 +719,6 @@
"cmake_build_type": ["Release"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["NSOFF"]
},
"common_params": _common_tfm_builder_cfg,
@@ -761,7 +735,6 @@
"cmake_build_type": ["Release"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["NSOFF"]
},
"common_params": _common_tfm_builder_cfg,
@@ -778,7 +751,6 @@
"cmake_build_type": ["Relwithdebinfo"],
"with_bl2": [False],
"profile": ["profile_medium"],
- "partition_ps": ["ON"],
"extra_params": [""]
},
"common_params": _common_tfm_builder_cfg,
@@ -795,7 +767,6 @@
"cmake_build_type": ["Debug"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["NSOFF"]
},
"common_params": _common_tfm_builder_cfg,
@@ -812,7 +783,6 @@
"cmake_build_type": ["Debug"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["NSOFF"]
},
"common_params": _common_tfm_builder_cfg,
@@ -829,7 +799,6 @@
"cmake_build_type": ["Debug"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["NSOFF"]
},
"common_params": _common_tfm_builder_cfg,
@@ -846,7 +815,6 @@
"cmake_build_type": ["Release"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["NSOFF"]
},
"common_params": _common_tfm_builder_cfg,
@@ -863,7 +831,6 @@
"cmake_build_type": ["Debug"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": ["NSOFF"]
},
"common_params": _common_tfm_builder_cfg,
@@ -881,7 +848,6 @@
"cmake_build_type": ["Debug"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": [""]
},
"common_params": _common_tfm_builder_cfg,
@@ -904,7 +870,6 @@
"cmake_build_type": ["Debug"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": [""]
},
"common_params": _common_tfm_builder_cfg,
@@ -924,7 +889,6 @@
"cmake_build_type": ["Debug"],
"with_bl2": [True],
"profile": [""],
- "partition_ps": ["ON"],
"extra_params": [""]
},
"common_params": _common_tfm_builder_cfg,
diff --git a/memory_footprint.py b/memory_footprint.py
index 44b193d..6e81892 100644
--- a/memory_footprint.py
+++ b/memory_footprint.py
@@ -100,44 +100,37 @@
if (not cfg.lib_model and cfg.isolation_level == "1" and
not cfg.test_regression and cfg.test_psa_api == "OFF" and
cfg.cmake_build_type == "Release" and
- cfg.with_bl2 and cfg.with_ns and
- cfg.profile == "" and cfg.partition_ps == "ON"):
+ cfg.with_bl2 and cfg.with_ns and cfg.profile == ""):
name_config = "CoreIPC"
elif (cfg.lib_model and cfg.isolation_level == "1" and
not cfg.test_regression and cfg.test_psa_api == "OFF" and
cfg.cmake_build_type == "Release" and
- cfg.with_bl2 and cfg.with_ns and
- cfg.profile == "" and cfg.partition_ps == "ON"):
+ cfg.with_bl2 and cfg.with_ns and cfg.profile == ""):
name_config = "Default"
elif (not cfg.lib_model and cfg.isolation_level == "2" and
not cfg.test_regression and cfg.test_psa_api == "OFF" and
cfg.cmake_build_type == "Release" and
- cfg.with_bl2 and cfg.with_ns and
- cfg.profile == "" and cfg.partition_ps == "ON"):
+ cfg.with_bl2 and cfg.with_ns and cfg.profile == ""):
name_config = "CoreIPCTfmLevel2"
elif (cfg.lib_model and cfg.isolation_level == "1" and
not cfg.test_regression and cfg.test_psa_api == "OFF" and
cfg.cmake_build_type == "Release" and
- cfg.with_bl2 and cfg.with_ns and
- cfg.profile == "profile_small" and cfg.partition_ps == "OFF"):
+ cfg.with_bl2 and cfg.with_ns and cfg.profile == "profile_small"):
name_config = "DefaultProfileS"
elif (cfg.lib_model and cfg.isolation_level == "1" and
not cfg.test_regression and cfg.test_psa_api == "OFF" and
cfg.cmake_build_type == "Minsizerel" and
- cfg.with_bl2 and cfg.with_ns and
- cfg.profile == "profile_small" and cfg.partition_ps == "OFF"):
+ cfg.with_bl2 and cfg.with_ns and cfg.profile == "profile_small"):
name_config = "MinSizeProfileS"
elif (not cfg.lib_model and cfg.isolation_level == "2" and
not cfg.test_regression and cfg.test_psa_api == "OFF" and
cfg.cmake_build_type == "Release" and
- cfg.with_bl2 and cfg.with_ns and
- cfg.profile == "profile_medium" and cfg.partition_ps == "ON"):
+ cfg.with_bl2 and cfg.with_ns and cfg.profile == "profile_medium"):
name_config = "DefaultProfileM"
elif (not cfg.lib_model and cfg.isolation_level == "3" and
not cfg.test_regression and cfg.test_psa_api == "OFF" and
cfg.cmake_build_type == "Release" and
- cfg.with_bl2 and cfg.with_ns and
- cfg.profile == "profile_large" and cfg.partition_ps == "ON"):
+ cfg.with_bl2 and cfg.with_ns and cfg.profile == "profile_large"):
name_config = "DefaultProfileL"
ret = [cfg.tfm_platform,cfg.compiler, name_config]
except:
diff --git a/tfm_ci_pylib/tfm_build_manager.py b/tfm_ci_pylib/tfm_build_manager.py
index de81392..f79c9c2 100644
--- a/tfm_ci_pylib/tfm_build_manager.py
+++ b/tfm_ci_pylib/tfm_build_manager.py
@@ -121,7 +121,6 @@
"CMAKE_BUILD_TYPE={}",
"BL2={}",
"PROFILE={}",
- "PARTITION_PS={}",
"EXTRA_PARAMS={}"
]
print(
@@ -137,7 +136,6 @@
config_details.cmake_build_type,
config_details.with_bl2,
"N.A" if not config_details.profile else config_details.profile,
- config_details.partition_ps,
"N.A" if not config_details.extra_params else config_details.extra_params,
)
.strip()
@@ -404,7 +402,6 @@
"cmake_build_type": i.cmake_build_type,
"with_bl2": i.with_bl2,
"profile": "" if i.profile=="N.A" else i.profile,
- "partition_ps": i.partition_ps,
"extra_params": self.map_extra_params(i.extra_params)}
if i.test_psa_api == "IPC":
overwrite_params["test_psa_api"] += " -DINCLUDE_PANIC_TESTS=1"
@@ -591,10 +588,8 @@
config_param.append("BL2")
if list(i)[8]: # PROFILE
config_param.append(mapProfile[list(i)[8]])
- if list(i)[9] == "OFF": #PARTITION_PS
- config_param.append("PSOFF")
- if list(i)[10]: # EXTRA_PARAMS
- config_param.append(list(i)[10].replace(", ", "_"))
+ if list(i)[9]: # EXTRA_PARAMS
+ config_param.append(list(i)[9].replace(", ", "_"))
i_str = "_".join(config_param)
ret_cfg[i_str] = i
return ret_cfg