Core: Move headers into 'core/include'
Move core headers into dedicated header folder to show more readibility
and easy include. Modules who needs to include header could add this
'include' folder into their project/make file.
Change-Id: I48ddaabd46d6331a10cb630911116d43a2213f8f
Signed-off-by: Ken Liu <ken.liu@arm.com>
diff --git a/secure_fw/spm/CMakeLists.inc b/secure_fw/spm/CMakeLists.inc
index e7c30e3..c7f2954 100644
--- a/secure_fw/spm/CMakeLists.inc
+++ b/secure_fw/spm/CMakeLists.inc
@@ -40,7 +40,7 @@
embedded_include_directories(PATH ${TFM_ROOT_DIR} ABSOLUTE)
embedded_include_directories(PATH ${TFM_ROOT_DIR}/interface/include ABSOLUTE)
embedded_include_directories(PATH ${TFM_ROOT_DIR}/secure_fw/spm ABSOLUTE)
-embedded_include_directories(PATH ${TFM_ROOT_DIR}/secure_fw/core ABSOLUTE)
+embedded_include_directories(PATH ${TFM_ROOT_DIR}/secure_fw/core/include ABSOLUTE)
embedded_include_directories(PATH ${TFM_ROOT_DIR} ABSOLUTE)
set(BUILD_CMSIS_CORE Off)
diff --git a/secure_fw/spm/spm_api.c b/secure_fw/spm/spm_api.c
index 2aabaef2..8cfad13 100644
--- a/secure_fw/spm/spm_api.c
+++ b/secure_fw/spm/spm_api.c
@@ -16,7 +16,7 @@
#include "tfm_internal.h"
#include "tfm_api.h"
#include "tfm_nspm.h"
-#include "secure_fw/core/tfm_core.h"
+#include "secure_fw/core/include/tfm_core.h"
#include "tfm_peripherals_def.h"
#include "spm_partition_defs.h"
diff --git a/secure_fw/spm/spm_api.h b/secure_fw/spm/spm_api.h
index 9097fba..70d9cac 100644
--- a/secure_fw/spm/spm_api.h
+++ b/secure_fw/spm/spm_api.h
@@ -11,7 +11,7 @@
/* This file contains the apis exported by the SPM to tfm core */
#include "tfm_api.h"
#include "spm_partition_defs.h"
-#include "secure_fw/core/tfm_secure_api.h"
+#include "secure_fw/core/include/tfm_secure_api.h"
#include <stdbool.h>
#ifdef TFM_PSA_API
#include "tfm_list.h"