Platform: Reorganize and rename sse_200_mps2 folder
This patch reorganizes and renames sse_200_mps2
folder to be able to add new MPS2 subsystems.
The patch applies the following changes:
- renames sse_200_mps2 to mps2 in order to be
able to add new MPS2 subsystems
- create the an521 folder to add all SMM-SSE-200
files. AN521 is the name of Soft Macro
Model (SMM) SSE-200 subsytem for MPS2
- refactor smm_mps2.h file to make it generic
across all mps2 subsystems.
- updates cmake files to use the new paths
- removes unnecessary include files in cmake
setting files
- removes unnecessary files for mps2 and an521
Change-Id: I1ceb1e371fdfb90ac4aa1e3403868a3f01ada2e6
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
diff --git a/ConfigRegression.cmake b/ConfigRegression.cmake
index e8b6133..7e65ab1 100644
--- a/ConfigRegression.cmake
+++ b/ConfigRegression.cmake
@@ -7,15 +7,18 @@
#This file holds information of a specific build configuration of this project.
+#Select platform specific build system settings file.
+set(PLATFORM_CMAKE_FILE "${CMAKE_CURRENT_LIST_DIR}/platform/ext/Mps2AN521.cmake")
+
#Include board specific config (CPU, etc...)
-include("Common/BoardSSE200")
+include("Common/BoardAN521")
#Use any ARMCLANG version found on PATH. Note: Only versions supported by the
#build system will work. A file cmake/Common/CompilerArmClangXY.cmake
#must be present with a matching version.
include("Common/FindArmClang")
if(NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/cmake/Common/${ARMCLANG_MODULE}.cmake")
- message(FATAL_ERROR "ERROR: Unsupported ARMCLANG compiler version found on PATH.")
+ message(FATAL_ERROR "ERROR: Unsupported ARMCLANG compiler version found on PATH.")
endif()
include("Common/${ARMCLANG_MODULE}")