Build: Move NSCE into extra_params

NSCE is not a common config which is needed in all config groups.
To make CI configs easier to maintain, move NSCE into extra_params.

Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: I9d9690126d2c9d621bf6e6262a37947f1546e290
diff --git a/build_helper/build_helper_configs.py b/build_helper/build_helper_configs.py
index 0f535df..55398a2 100755
--- a/build_helper/build_helper_configs.py
+++ b/build_helper/build_helper_configs.py
@@ -41,7 +41,6 @@
                    "with_ns",
                    "profile",
                    "partition_ps",
-                   "nsce",
                    "mmio",
                    "fp",
                    "lazy",
@@ -67,7 +66,6 @@
         "-DMCUBOOT_PATH=%(codebase_root_dir)s/../mcuboot " + \
         "-DTFM_PROFILE=%(profile)s " + \
         "-DTFM_PARTITION_PROTECTED_STORAGE=%(partition_ps)s " + \
-        "-DTFM_NS_MANAGE_NSID=%(nsce)s " + \
         "-DPSA_FRAMEWORK_HAS_MM_IOVEC=%(mmio)s " + \
         "-DCONFIG_TFM_SPE_FP=%(fp)s " + \
         "-DCONFIG_TFM_LAZY_STACKING_SPE=%(lazy)s " + \
@@ -150,103 +148,101 @@
 # List of all build configs that are impossible under all circumstances
 _common_tfm_invalid_configs = [
     # LR_CODE size exceeds limit on MUSCA_B1 & MUSCA_S1 with regression tests in Debug mode built with ARMCLANG
-    ("arm/musca_b1/sse_200", "toolchain_ARMCLANG.cmake", "*", "*", True, "OFF", "Debug", "*", "*", "*", "", "*", "*", "*", "*", "*", "*"),
-    ("arm/musca_s1", "toolchain_ARMCLANG.cmake", "*", "*", True, "OFF", "Debug", "*", "*", "*", "", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/sse_200", "toolchain_ARMCLANG.cmake", "*", "*", True, "OFF", "Debug", "*", "*", "*", "", "*", "*", "*", "*", "*"),
+    ("arm/musca_s1", "toolchain_ARMCLANG.cmake", "*", "*", True, "OFF", "Debug", "*", "*", "*", "", "*", "*", "*", "*", "*"),
     # Load range overlap on Musca for IPC Debug type: T895
-    ("arm/musca_b1/sse_200", "toolchain_ARMCLANG.cmake", "*", "*", "*", "IPC", "Debug", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("arm/musca_s1", "toolchain_ARMCLANG.cmake", "*", "*", "*", "IPC", "Debug", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/sse_200", "toolchain_ARMCLANG.cmake", "*", "*", "*", "IPC", "Debug", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_s1", "toolchain_ARMCLANG.cmake", "*", "*", "*", "IPC", "Debug", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
     # Oversize issue on config lpcxpresso55s69_GNUARM_IPC_2_Relwithdebinfo_BL2_NS_MEDIUM
     ("nxp/lpcxpresso55s69", "toolchain_GNUARM.cmake", False, "2", False, "OFF",
-     "Relwithdebinfo", "off", True, True, "profile_medium", "ON", "OFF", "OFF", "*", "*", "*"),
+     "Relwithdebinfo", "off", True, True, "profile_medium", "ON", "OFF", "*", "*", "*"),
     # Oversize issue on config stm32l562e_dk_ARMCLANG_LIB_1_REG_Release_BL2_NS
     ("stm/stm32l562e_dk", "toolchain_ARMCLANG.cmake", True, "1", True, "OFF",
-     "Release", "off", True, True, "", "ON", "OFF", "OFF", "*", "*", "*"),
+     "Release", "off", True, True, "", "ON", "OFF", "*", "*", "*"),
     # LVL2 and LVL3 requires IPC model
-    ("*", "*", True, "2", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("*", "*", True, "3", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("*", "*", True, "2", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("*", "*", True, "3", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
     # Regression requires NS
-    ("*", "*", "*", "*", True, "*", "*", "*", "*", False, "*", "*", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "*", True, "*", "*", "*", "*", False, "*", "*", "*", "*", "*", "*"),
     # psoc64 requires IPC model
-    ("cypress/psoc64", "*", True, "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("cypress/psoc64", "*", True, "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
     # No PSA_ACK with regression
-    ("*", "*", "*", "*", True, "IPC", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("*", "*", "*", "*", True, "CRYPTO", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("*", "*", "*", "*", True, "INITIAL_ATTESTATION", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("*", "*", "*", "*", True, "STORAGE", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "*", True, "IPC", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "*", True, "CRYPTO", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "*", True, "INITIAL_ATTESTATION", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "*", True, "STORAGE", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
     # PSA_ACK requires NS
-    ("*", "*", "*", "*", "*", "IPC", "*", "*", "*", False, "*", "*", "*", "*", "*", "*", "*"),
-    ("*", "*", "*", "*", "*", "CRYPTO", "*", "*", "*", False, "*", "*", "*", "*", "*", "*", "*"),
-    ("*", "*", "*", "*", "*", "INITIAL_ATTESTATION", "*", "*", "*", False, "*", "*", "*", "*", "*", "*", "*"),
-    ("*", "*", "*", "*", "*", "STORAGE", "*", "*", "*", False, "*", "*", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "*", "*", "IPC", "*", "*", "*", False, "*", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "*", "*", "CRYPTO", "*", "*", "*", False, "*", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "*", "*", "INITIAL_ATTESTATION", "*", "*", "*", False, "*", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "*", "*", "STORAGE", "*", "*", "*", False, "*", "*", "*", "*", "*", "*"),
     # PSA_ACK IPC (FF) does not support LVL3
-    ("*", "*", "*", "3", "*", "IPC", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "3", "*", "IPC", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
     # Musca requires BL2
-    ("arm/musca_b1/sse_200", "*", "*", "*", "*", "*", "*", "*", False, "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("arm/musca_s1", "*", "*", "*", "*", "*", "*", "*", False, "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/sse_200", "*", "*", "*", "*", "*", "*", "*", False, "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_s1", "*", "*", "*", "*", "*", "*", "*", False, "*", "*", "*", "*", "*", "*", "*"),
     # psoc64 cannot use BL2
-    ("cypress/psoc64", "*", "*", "*", "*", "*", "*", "*", True, "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("cypress/psoc64", "*", "*", "*", "*", "*", "*", "*", True, "*", "*", "*", "*", "*", "*", "*"),
     # psoc64 does not support Debug build type
-    ("cypress/psoc64", "*", "*", "*", "*", "*", "Debug", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("cypress/psoc64", "*", "*", "*", "*", "*", "Debug", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
     # Musca b1 SSE 200 does not support Profile S
-    ("arm/musca_b1/sse_200", "*", "*", "*", "*", "*", "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/sse_200", "*", "*", "*", "*", "*", "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*"),
     # Musca B1 Secure Enclave requires IPC model, BL2, and supports only Isolation Level 1
-    ("arm/musca_b1/secure_enclave", "*", True, "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "*", "*", "*", False, "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("arm/musca_b1/secure_enclave", "*", "*", "2", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/secure_enclave", "*", True, "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "*", "*", "*", False, "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/secure_enclave", "*", "*", "2", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
     # Musca B1 Secure Enclave does not support tests, profiles, NS side building
-    ("arm/musca_b1/secure_enclave", "*", "*", "*", True, "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "IPC", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "CRYPTO", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "INITIAL_ATTESTATION", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "STORAGE", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "*", "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*", "*"),
-    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "*", "*", "*", "*", "*", "profile_medium", "*", "*", "*", "*", "*", "*"),
-    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "*", "*", "*", "*", "*", "profile_large", "*", "*", "*", "*", "*", "*"),
-    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "*", "*", "*", "*", True, "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/secure_enclave", "*", "*", "*", True, "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "IPC", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "CRYPTO", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "INITIAL_ATTESTATION", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "STORAGE", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "*", "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "*", "*", "*", "*", "*", "profile_medium", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "*", "*", "*", "*", "*", "profile_large", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/secure_enclave", "*", "*", "*", "*", "*", "*", "*", "*", True, "*", "*", "*", "*", "*", "*"),
     # PARTITION_PS could be OFF only for Profile S and M
-    ("*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "", "OFF", "*", "*", "*", "*", "*"),
-    ("*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "profile_large", "OFF", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "", "OFF", "*", "*", "*", "*"),
+    ("*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "profile_large", "OFF", "*", "*", "*", "*"),
     # PARTITION_PS should be OFF for Profile S
-    ("*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "profile_small", "ON", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "profile_small", "ON", "*", "*", "*", "*"),
     # Proile M only support for IPC model
-    ("*", "*", True, "*", "*", "*", "*", "*", "*", "*", "profile_medium", "*", "*", "*", "*", "*", "*"),
+    ("*", "*", True, "*", "*", "*", "*", "*", "*", "*", "profile_medium", "*", "*", "*", "*", "*"),
     # Profile M only support for Isolation Level 2
-    ("*", "*", "*", "1", "*", "*", "*", "*", "*", "*", "profile_medium", "*", "*", "*", "*", "*", "*"),
-    ("*", "*", "*", "3", "*", "*", "*", "*", "*", "*", "profile_medium", "*", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "1", "*", "*", "*", "*", "*", "*", "profile_medium", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "3", "*", "*", "*", "*", "*", "*", "profile_medium", "*", "*", "*", "*", "*"),
     # Profile L only support for Isolation Level 3
-    ("*", "*", "*", "1", "*", "*", "*", "*", "*", "*", "profile_large", "*", "*", "*", "*", "*", "*"),
-    ("*", "*", "*", "2", "*", "*", "*", "*", "*", "*", "profile_large", "*", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "1", "*", "*", "*", "*", "*", "*", "profile_large", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "2", "*", "*", "*", "*", "*", "*", "profile_large", "*", "*", "*", "*", "*"),
     # Profile S does not support IPC model
-    ("*", "*", False, "*", "*", "*", "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*", "*"),
+    ("*", "*", False, "*", "*", "*", "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*"),
     # Profile S only supports Isolation Level 1
-    ("*", "*", "*", "2", "*", "*", "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*", "*"),
-    ("*", "*", "*", "3", "*", "*", "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "2", "*", "*", "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*"),
+    ("*", "*", "*", "3", "*", "*", "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*"),
     # Only AN521 and MUSCA_B1 support Isolation Level 3
-    ("arm/mps2/an519", "*", "*", "3", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("arm/mps3/an524", "*", "*", "3", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("arm/musca_s1", "*", "*", "3", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("cypress/psoc64", "*", "*", "3", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
-    ("arm/musca_b1/secure_enclave", "*", "*", "3", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/mps2/an519", "*", "*", "3", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/mps3/an524", "*", "*", "3", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_s1", "*", "*", "3", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("cypress/psoc64", "*", "*", "3", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("arm/musca_b1/secure_enclave", "*", "*", "3", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
     # stm/stm32l562e_dk uses BL2
-    ("stm/stm32l562e_dk", "*", "*", "*", "*", "*", "*", "*", False, "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("stm/stm32l562e_dk", "*", "*", "*", "*", "*", "*", "*", False, "*", "*", "*", "*", "*", "*", "*"),
     # stm/stm32l562e_dk does not support Debug build type
-    ("stm/stm32l562e_dk", "*", "*", "*", "*", "*", "Debug", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("stm/stm32l562e_dk", "*", "*", "*", "*", "*", "Debug", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
     # nxp/lpcxpresso55s69 only build with GCC
-    ("nxp/lpcxpresso55s69", "toolchain_ARMCLANG.cmake", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("nxp/lpcxpresso55s69", "toolchain_ARMCLANG.cmake", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
     # nxp/lpcxpresso55s69 only build Profile M
-    ("nxp/lpcxpresso55s69", "*", "*", "*", "*", "*", "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*", "*"),
-    ("nxp/lpcxpresso55s69", "*", "*", "*", "*", "*", "*", "*", "*", "*", "profile_large", "*", "*", "*", "*", "*", "*"),
+    ("nxp/lpcxpresso55s69", "*", "*", "*", "*", "*", "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*"),
+    ("nxp/lpcxpresso55s69", "*", "*", "*", "*", "*", "*", "*", "*", "*", "profile_large", "*", "*", "*", "*", "*"),
     # nxp/lpcxpresso55s69 have to turn off BL2 when build regression test
-    ("nxp/lpcxpresso55s69", "*", "*", "*", True, "*", "*", "*", True, "*", "*", "*", "*", "*", "*", "*", "*"),
+    ("nxp/lpcxpresso55s69", "*", "*", "*", True, "*", "*", "*", True, "*", "*", "*", "*", "*", "*", "*"),
     # nxp/lpcxpresso55s69 turn off BL2 temporary, due to the oversize error
-    ("nxp/lpcxpresso55s69", "*", "*", "*", "*", "*", "*", "*", True, "*", "*", "*", "*", "*", "*", "*", "*"),
-    # NSID does not support multi core
-    ("cypress/psoc64", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "ON", "*", "*", "*", "*"),
+    ("nxp/lpcxpresso55s69", "*", "*", "*", "*", "*", "*", "*", True, "*", "*", "*", "*", "*", "*", "*"),
     # FP support only for GCC
-    ("*", "toolchain_ARMCLANG.cmake", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "1", "*", "*"),
-    ("*", "toolchain_ARMCLANG.cmake", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "2", "*", "*"),
+    ("*", "toolchain_ARMCLANG.cmake", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "1", "*", "*"),
+    ("*", "toolchain_ARMCLANG.cmake", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "2", "*", "*"),
     # FP soft only build for lazy stacking disabled
-    ("*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "0", "ON", "*")
+    ("*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "0", "ON", "*")
     ]
 
 # Configure build manager to build several combinations
@@ -264,7 +260,6 @@
                 "with_ns":          [True, False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -288,7 +283,6 @@
                 "with_ns":          [True, False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -315,7 +309,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -340,7 +333,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -366,7 +358,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -390,7 +381,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -414,7 +404,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -438,7 +427,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -461,7 +449,6 @@
                 "with_ns":          [True],
                 "profile":          ["profile_medium"],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -485,7 +472,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0", "1", "2"],
                 "lazy":             ["ON", "OFF"],
@@ -508,7 +494,6 @@
                 "with_ns":          [False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -532,7 +517,6 @@
                 "with_ns":          [True, False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -557,7 +541,6 @@
                "with_ns":          [True, False],
                "profile":          [""],
                "partition_ps":     ["ON"],
-               "nsce":             ["OFF"],
                "mmio":             ["OFF"],
                "fp":               ["0"],
                "lazy":             ["OFF"],
@@ -586,7 +569,6 @@
                "with_ns":          [True, False],
                "profile":          [""],
                "partition_ps":     ["ON"],
-               "nsce":             ["OFF"],
                "mmio":             ["OFF"],
                "fp":               ["0"],
                "lazy":             ["OFF"],
@@ -595,17 +577,17 @@
                "common_params": _common_tfm_builder_cfg,
                "invalid": _common_tfm_invalid_configs + [
                    ("cypress/psoc64", "*", "*", "*", "*", "*", "Debug", "*",
-                    "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                    "*", "*", "*", "*", "*", "*", "*", "*"),
                    ("cypress/psoc64", "*", "*", "*", "*", "*", "*", "*", True,
-                    True, "*", "*", "*", "*", "*", "*", "*"),
+                    True, "*", "*", "*", "*", "*", "*"),
                    ("arm/mps2/an521", "*", "*", "*", "*", "*", "RelWithDebInfo",
-                    "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                    "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                    ("arm/mps2/an519", "*", "*", "*", "*", "*", "RelWithDebInfo",
-                    "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                    "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                    ("arm/musca_b1/sse_200", "*", "*", "*", "*", "*", "RelWithDebInfo",
-                    "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                    "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                    ("arm/mps3/an524", "*", "*", "*", "*", "*", "RelWithDebInfo",
-                    "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                    "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                ]
                }
 
@@ -624,7 +606,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -648,7 +629,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -657,7 +637,7 @@
                 "common_params": _common_tfm_builder_cfg,
                 "invalid": _common_tfm_invalid_configs + [
                     ("arm/mps2/an519", "toolchain_GNUARM.cmake", "*", "*", "*",
-                     "*", "Minsizerel", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "Minsizerel", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                 ]
                 }
 
@@ -676,7 +656,6 @@
                 "with_ns":          [True],
                 "profile":          ["profile_small", "profile_medium", "profile_large"],
                 "partition_ps":     ["ON", "OFF"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -685,12 +664,12 @@
                 "common_params": _common_tfm_builder_cfg,
                 "invalid": _common_tfm_invalid_configs + [
                     ("arm/mps2/an519", "toolchain_GNUARM.cmake", "*", "*", "*",
-                     "*", "Minsizerel", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "Minsizerel", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                     # Profile Large is only supported by AN521
                     ("arm/mps2/an519", "*", "*", "*", "*", "*", "*", "*", "*",
-                     "*", "profile_large", "*", "*", "*", "*", "*", "*"),
+                     "*", "profile_large", "*", "*", "*", "*", "*"),
                     ("arm/musca_b1/sse_200", "*", "*", "*", "*", "*", "*", "*",
-                     "*", "*", "profile_large", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "profile_large", "*", "*", "*", "*", "*"),
                 ]
                 }
 
@@ -708,7 +687,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -732,7 +710,6 @@
                 "with_ns":          [True, False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -756,7 +733,6 @@
                 "with_ns":          [False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -780,7 +756,6 @@
                 "with_ns":          [True, False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -806,7 +781,6 @@
                 "with_ns":          [True, False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -815,7 +789,7 @@
                 "common_params": _common_tfm_builder_cfg,
                 "invalid": _common_tfm_invalid_configs + [
                     ("arm/mps2/an519", "toolchain_GNUARM.cmake", "*", "*", "*",
-                     "*", "Minsizerel", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "Minsizerel", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                 ]
                 }
 
@@ -838,7 +812,6 @@
                 "with_ns":          [True, False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -847,7 +820,7 @@
                 "common_params": _common_tfm_builder_cfg,
                 "invalid": _common_tfm_invalid_configs + [
                     ("arm/mps2/an519", "toolchain_GNUARM.cmake", "*", "*", "*",
-                     "*", "Minsizerel", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "Minsizerel", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                 ]
                 }
 
@@ -866,7 +839,6 @@
                 "with_ns":          [True, False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -875,7 +847,7 @@
                 "common_params": _common_tfm_builder_cfg,
                 "invalid": _common_tfm_invalid_configs + [
                     ("arm/mps2/an519", "toolchain_GNUARM.cmake", "*", "*", "*",
-                     "*", "Minsizerel", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "Minsizerel", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                 ]
                 }
 
@@ -895,7 +867,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -904,21 +875,21 @@
                 "common_params": _common_tfm_builder_cfg,
                 "invalid": _common_tfm_invalid_configs + [
                     ("arm/mps2/an519", "toolchain_GNUARM.cmake", "*", "*", "*",
-                     "*", "Minsizerel", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "Minsizerel", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                     ("cypress/psoc64", "*", "*", "*", "*", "*", "Debug", "*",
-                     "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "*", "*", "*", "*"),
                     ("cypress/psoc64", "*", "*", "*", "*", "*", "*", "*", True,
-                     True, "*", "*", "*", "*", "*", "*", "*"),
+                     True, "*", "*", "*", "*", "*", "*"),
                     ("arm/mps2/an521", "*", "*", "*", "*", "*", "RelWithDebInfo",
-                     "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                     ("arm/mps2/an519", "*", "*", "*", "*", "*", "RelWithDebInfo",
-                     "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                     ("arm/musca_b1/sse_200", "*", "*", "*", "*", "*",
-                     "RelWithDebInfo", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "RelWithDebInfo", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                     ("arm/musca_s1", "*", "*", "*", "*", "*", "RelWithDebInfo",
-                     "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                     ("arm/mps3/an524", "*", "*", "*", "*", "*", "RelWithDebInfo",
-                     "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                 ]
                 }
 
@@ -936,11 +907,10 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["ON"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
-                "extra_params":     [""]
+                "extra_params":     ["NSCE"]
                 },
                 "common_params": _common_tfm_builder_cfg,
                 "invalid": _common_tfm_invalid_configs + []
@@ -960,7 +930,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["ON"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -985,7 +954,6 @@
                 "with_ns":          [True],
                 "profile":          ["profile_small", "profile_medium", "profile_large"],
                 "partition_ps":     ["ON", "OFF"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -994,12 +962,12 @@
                 "common_params": _common_tfm_builder_cfg,
                 "invalid": _common_tfm_invalid_configs + [
                     ("arm/mps2/an519", "toolchain_GNUARM.cmake", "*", "*", "*",
-                     "*", "Minsizerel", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "Minsizerel", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                     # Profile Large is only supported by AN521
                     ("arm/mps2/an519", "*", "*", "*", "*", "*", "*", "*", "*",
-                     "*", "profile_large", "*", "*", "*", "*", "*", "*"),
+                     "*", "profile_large", "*", "*", "*", "*", "*"),
                     ("arm/musca_b1/sse_200", "*", "*", "*", "*", "*", "*", "*",
-                     "*", "*", "profile_large", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "profile_large", "*", "*", "*", "*", "*"),
                 ]
                 }
 
@@ -1020,7 +988,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1045,7 +1012,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1069,7 +1035,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1093,7 +1058,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1117,7 +1081,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1140,7 +1103,6 @@
                 "with_ns":          [True],
                 "profile":          ["profile_medium"],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1164,7 +1126,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0", "2"],
                 "lazy":             ["ON", "OFF"],
@@ -1189,7 +1150,6 @@
                 "with_ns":          [True, False],
                 "profile":          ["", "profile_small", "profile_medium"],
                 "partition_ps":     ["ON", "OFF"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1199,75 +1159,75 @@
                 "valid": [
                     ("arm/mps2/an521", "toolchain_GNUARM.cmake",
                      True, "1", False, "OFF", "Debug",
-                     "off", True, True, "", "ON", "OFF", "OFF", "0", "OFF", ""),
+                     "off", True, True, "", "ON", "OFF", "0", "OFF", ""),
                     ("arm/mps2/an521", "toolchain_ARMCLANG.cmake",
                      False, "2", False, "OFF", "Debug",
-                     "off", True, True, "", "ON", "OFF", "OFF", "0", "OFF", ""),
+                     "off", True, True, "", "ON", "OFF", "0", "OFF", ""),
                     ("arm/mps2/an521", "toolchain_ARMCLANG.cmake",
                      False, "3", False, "OFF", "Release",
-                     "off", True, True, "", "ON", "OFF", "OFF", "0", "OFF", ""),
+                     "off", True, True, "", "ON", "OFF", "0", "OFF", ""),
                     ("arm/mps2/an521", "toolchain_GNUARM.cmake",
                      False, "2", False, "OFF", "Debug",
-                     "off", True, True, "profile_medium", "ON", "OFF", "OFF", "0", "OFF", ""),
+                     "off", True, True, "profile_medium", "ON", "OFF", "0", "OFF", ""),
                     ("arm/mps2/an521", "toolchain_GNUARM.cmake",
                      False, "3", False, "OFF", "Debug",
-                     "off", True, True, "profile_large", "ON", "OFF", "OFF", "0", "OFF", ""),
+                     "off", True, True, "profile_large", "ON", "OFF", "0", "OFF", ""),
                     # AN521_GNUARM_IPC_2_REG_Release_BL2_NS_MEDIUM_PSOFF
                     ("arm/mps2/an521", "toolchain_GNUARM.cmake",
                      False, "2", True, "OFF", "Release",
-                     "off", True, True, "profile_medium", "OFF", "OFF", "OFF", "0", "OFF", ""),
+                     "off", True, True, "profile_medium", "OFF", "OFF", "0", "OFF", ""),
                     # MUSCA_B1_GNUARM_LIB_1_REG_Minsizerel_BL2_NS
                     ("arm/musca_b1/sse_200", "toolchain_GNUARM.cmake",
                      True, "1", True, "OFF", "Minsizerel",
-                     "off", True, True, "", "ON", "OFF", "OFF", "0", "OFF", ""),
+                     "off", True, True, "", "ON", "OFF", "0", "OFF", ""),
                     # stm32l562e_dk_ARMCLANG_IPC_1_REG_Release_BL2_NS
                     ("stm/stm32l562e_dk", "toolchain_ARMCLANG.cmake",
                      False, "1", True, "OFF", "Release",
-                     "off", True, True, "", "ON", "OFF", "OFF", "0", "OFF", "CRYPTO_OFF"),
+                     "off", True, True, "", "ON", "OFF", "0", "OFF", "CRYPTO_OFF"),
                     # stm32l562e_dk_GNUARM_IPC_2_REG_Release_BL2_NS
                     ("stm/stm32l562e_dk", "toolchain_GNUARM.cmake",
                      False, "2", True, "OFF", "Release",
-                     "off", True, True, "", "ON", "OFF", "OFF", "0", "OFF", "NS_ATTEST_ON"),
+                     "off", True, True, "", "ON", "OFF", "0", "OFF", "NS_ATTEST_ON"),
                     # stm32l562e_dk_GNUARM_IPC_3_REG_Release_BL2_NS
                     ("stm/stm32l562e_dk", "toolchain_GNUARM.cmake",
                      False, "3", True, "OFF", "Release",
-                     "off", True, True, "", "ON", "OFF", "OFF", "0", "OFF", "CRYPTO_OFF"),
+                     "off", True, True, "", "ON", "OFF", "0", "OFF", "CRYPTO_OFF"),
                     # MUSCA_S1_GNUARM_IPC_2_REG_Release_BL2_NS_SFP2_SLAZY
                     ("arm/musca_s1", "toolchain_GNUARM.cmake",
                      False, "2", True, "OFF", "Release",
-                     "off", True, True, "", "ON", "OFF", "OFF", "2", "ON", ""),
+                     "off", True, True, "", "ON", "OFF", "2", "ON", ""),
                 ],
                 "invalid": _common_tfm_invalid_configs + [
                     # invalid configs that are not supported by TF-M
                     ("arm/musca_s1", "*", "*", "*", "*", "*",
-                     "*", "*", "*", "*", "profile_medium", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "profile_medium", "*", "*", "*", "*", "*"),
                     # valid configs supported by TF-M but not needed in per-patch
                     ("*", "*", "*", "1", "*", "*", "Release",
-                     "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                     ("*", "*", "*", "1", "*", "*", "Minsizerel",
-                     "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                     ("*", "*", "*", "2", "*", "*", "Debug",
-                     "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                     ("*", "*", "*", "2", "*", "*", "Minsizerel",
-                     "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                     ("*", "*", "*", "3", "*", "*", "Debug",
-                     "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                     ("*", "*", "*", "3", "*", "*", "Release",
-                     "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                     ("arm/mps2/an519", "*", "*", "*", "*", "*",
-                     "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*"),
                     ("arm/musca_s1", "*", "*", "*", "*", "*",
-                     "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*"),
                     ("arm/mps2/an519", "*", "*", "*", "*", "*",
-                     "*", "*", "*", "*", "profile_medium", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "profile_medium", "*", "*", "*", "*", "*"),
                     ("arm/mps2/an521", "*", "*", "*", "*", "*",
-                     "*", "*", "*", "*", "profile_medium", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "profile_medium", "*", "*", "*", "*", "*"),
                     ("*", "toolchain_GNUARM.cmake", "*", "*", "*", "*",
-                     "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "profile_small", "*", "*", "*", "*", "*"),
                     ("*", "toolchain_ARMCLANG.cmake", "*", "*", "*", "*",
-                     "*", "*", "*", "*", "profile_medium", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "profile_medium", "*", "*", "*", "*", "*"),
                     ("*", "toolchain_ARMCLANG.cmake", True, "*", "*", "*",
-                     "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                 ]
                 }
 
@@ -1284,7 +1244,6 @@
                 "with_ns":          [True, False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1311,7 +1270,6 @@
                 "with_ns":          [True, False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1334,7 +1292,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1357,7 +1314,6 @@
                 "with_ns":          [True],
                 "profile":          ["", "profile_small", "profile_medium"],
                 "partition_ps":     ["ON", "OFF"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1380,7 +1336,6 @@
                 "with_ns":          [True],
                 "profile":          ["", "profile_small", "profile_medium", "profile_large"],
                 "partition_ps":     ["ON", "OFF"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1420,7 +1375,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1445,7 +1399,6 @@
                 "with_ns":          [True],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1454,9 +1407,9 @@
                 "common_params": _common_tfm_builder_cfg,
                 "invalid": _common_tfm_invalid_configs + [
                     ("*", "toolchain_ARMCLANG.cmake", False, "*", "*", "*",
-                     "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"),
                     ("*", "toolchain_ARMCLANG.cmake", True, "1", "*", "*",
-                     "*", "*", False, "*", "*", "*", "*", "*", "*", "*", "*"),
+                     "*", "*", False, "*", "*", "*", "*", "*", "*", "*"),
                 ]
                 }
 
@@ -1473,7 +1426,6 @@
                 "with_ns":          [True, False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1482,7 +1434,7 @@
                 "common_params": _common_tfm_builder_cfg,
                 "invalid": _common_tfm_invalid_configs + [
                     ("arm/mps2/an521", "toolchain_GNUARM.cmake", False, "2", "*", "*",
-                     "*", "*", True, "*", "*", "*", "*", "*", "*", "*", "*")
+                     "*", "*", True, "*", "*", "*", "*", "*", "*", "*")
                 ]
                 }
 
@@ -1499,7 +1451,6 @@
                 "with_ns":          [False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1522,7 +1473,6 @@
                 "with_ns":          [False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1545,7 +1495,6 @@
                 "with_ns":          [False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1568,7 +1517,6 @@
                 "with_ns":          [False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1591,7 +1539,6 @@
                 "with_ns":          [False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1614,7 +1561,6 @@
                 "with_ns":          [False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1637,7 +1583,6 @@
                 "with_ns":          [False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1660,7 +1605,6 @@
                 "with_ns":          [False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
@@ -1683,7 +1627,6 @@
                 "with_ns":          [False],
                 "profile":          [""],
                 "partition_ps":     ["ON"],
-                "nsce":             ["OFF"],
                 "mmio":             ["OFF"],
                 "fp":               ["0"],
                 "lazy":             ["OFF"],
diff --git a/tfm_ci_pylib/tfm_build_manager.py b/tfm_ci_pylib/tfm_build_manager.py
index 8b7841d..dc2be67 100644
--- a/tfm_ci_pylib/tfm_build_manager.py
+++ b/tfm_ci_pylib/tfm_build_manager.py
@@ -85,7 +85,8 @@
                                    "-DTEST_NS_T_COSE=OFF "
                                    "-DTEST_S_T_COSE=OFF "
                                    "-DTEST_NS_PS=OFF "
-                                   "-DTEST_S_PS=OFF ")}
+                                   "-DTEST_S_PS=OFF "),
+                  "NSCE":          "-DTFM_NS_MANAGE_NSID=ON "}
 
 class TFM_Build_Manager(structuredTask):
     """ Class that will load a configuration out of a json file, schedule
@@ -157,7 +158,6 @@
             "NS={}",
             "PROFILE={}",
             "PARTITION_PS={}",
-            "NSCE={}",
             "MMIO={}",
             "FP={}",
             "LAZY={}",
@@ -179,7 +179,6 @@
                 config_details.with_ns,
                 "N.A" if not config_details.profile else config_details.profile,
                 config_details.partition_ps,
-                config_details.nsce,
                 config_details.mmio,
                 config_details.fp,
                 config_details.lazy,
@@ -442,7 +441,6 @@
                             "with_ns": i.with_ns,
                             "profile": "" if i.profile=="N.A" else i.profile,
                             "partition_ps": i.partition_ps,
-                            "nsce": i.nsce,
                             "mmio": i.mmio,
                             "fp": i.fp,
                             "lazy": i.lazy,
@@ -636,15 +634,13 @@
             if list(i)[11] == "OFF":    #PARTITION_PS
                 config_param.append("PSOFF")
             if list(i)[12] == "ON":
-                config_param.append("NSCE")
-            if list(i)[13] == "ON":
                 config_param.append("MMIO")
-            if list(i)[14] == "1" or list(i)[14] == "2":
-                config_param.append(mapSFPOption[list(i)[14]]) #FP
-            if list(i)[15] == "ON": # LAZY
+            if list(i)[13] == "1" or list(i)[13] == "2":
+                config_param.append(mapSFPOption[list(i)[13]]) #FP
+            if list(i)[14] == "ON": # LAZY
                 config_param.append("SLAZY")
-            if list(i)[16]: # EXTRA_PARAMS
-                config_param.append(list(i)[16])
+            if list(i)[15]: # EXTRA_PARAMS
+                config_param.append(list(i)[15])
             i_str = "_".join(config_param)
             ret_cfg[i_str] = i
         return ret_cfg