Platform: Repartition RAM area in Musca A1
This patch increases the secure RAM memory size (96KB) for the secure
environment and decreases it for the non-secure one (32KB) in order
to accommodate them to the memory requirements of regression tests in
Musca A1.
When it is not required to run the regression tests, the RAM memory
partition is the original one which is 64KB of RAM for each execution
environment.
Change-Id: I19336c875f740bb86cdf734d8f8779fa944f6710
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
diff --git a/secure_fw/CMakeLists.txt b/secure_fw/CMakeLists.txt
index 39b1897..03bdc3e 100644
--- a/secure_fw/CMakeLists.txt
+++ b/secure_fw/CMakeLists.txt
@@ -164,6 +164,18 @@
embedded_set_target_link_defines(TARGET ${EXE_NAME} DEFINES "TFM_PARTITION_TEST_SECURE_SERVICES")
endif()
+ if (NOT DEFINED TEST_FRAMEWORK_S)
+ message(FATAL_ERROR "Incomplete build configuration: TEST_FRAMEWORK_S is undefined.")
+ elseif (TEST_FRAMEWORK_S)
+ embedded_set_target_link_defines(TARGET ${EXE_NAME} DEFINES "TEST_FRAMEWORK_S")
+ endif()
+
+ if (NOT DEFINED TEST_FRAMEWORK_NS)
+ message(FATAL_ERROR "Incomplete build configuration: TEST_FRAMEWORK_NS is undefined.")
+ elseif (TEST_FRAMEWORK_NS)
+ embedded_set_target_link_defines(TARGET ${EXE_NAME} DEFINES "TEST_FRAMEWORK_NS")
+ endif()
+
if (NOT DEFINED BL2)
message(FATAL_ERROR "Incomplete build configuration: BL2 is undefined. ")
elseif (BL2)