aboutsummaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorMingyang Sun <mingyang.sun@arm.com>2020-06-11 16:53:03 +0800
committerMingyang Sun <mingyang.sun@arm.com>2020-06-19 10:17:49 +0800
commitbd7ceb57864baf27bbcce02ed709f57a3bc825f7 (patch)
treef8c802ae60d6efcaa60eaddf35e3c21b6cea0039 /platform
parentb29d5f93d02e3ee9897014e5b00f5015bb583120 (diff)
downloadtrusted-firmware-m-bd7ceb57864baf27bbcce02ed709f57a3bc825f7.tar.gz
Core: Use separate '.inc' file and init function
- Remove the 'tfm_spm_db.inc', use separate files, separate SPM initialization functions for different models. - Remove unused inclusion of header file 'spm_db.h'. Change-Id: I7427eaee691a02c9b25579972902974ac9d32fd7 Signed-off-by: Mingyang Sun <mingyang.sun@arm.com>
Diffstat (limited to 'platform')
-rw-r--r--platform/ext/target/cypress/psoc64/spm_hal.c1
-rw-r--r--platform/ext/target/mps2/an519/spm_hal.c1
-rw-r--r--platform/ext/target/mps2/an521/spm_hal.c1
-rw-r--r--platform/ext/target/mps2/an539/spm_hal.c1
-rw-r--r--platform/ext/target/mps2/fvp_sse300/spm_hal.c1
-rw-r--r--platform/ext/target/mps3/an524/spm_hal.c1
-rw-r--r--platform/ext/target/musca_a/spm_hal.c1
-rw-r--r--platform/ext/target/musca_b1/spm_hal.c1
-rw-r--r--platform/ext/target/musca_s1/spm_hal.c1
-rwxr-xr-xplatform/ext/target/nxp/lpcxpresso55s69/spm_hal.c1
-rw-r--r--platform/ext/target/sse-200_aws/spm_hal.c1
-rw-r--r--platform/ext/target/stm/stm32l5xx/secure/spm_hal.c3
12 files changed, 1 insertions, 13 deletions
diff --git a/platform/ext/target/cypress/psoc64/spm_hal.c b/platform/ext/target/cypress/psoc64/spm_hal.c
index 83255a5ec3..62115a0c54 100644
--- a/platform/ext/target/cypress/psoc64/spm_hal.c
+++ b/platform/ext/target/cypress/psoc64/spm_hal.c
@@ -17,7 +17,6 @@
#include "secure_utilities.h"
#include "spe_ipc_config.h"
#include "tfm/spm_api.h"
-#include "tfm/spm_db.h"
#include "target_cfg.h"
#include "tfm_multi_core.h"
#include "tfm_platform_core_api.h"
diff --git a/platform/ext/target/mps2/an519/spm_hal.c b/platform/ext/target/mps2/an519/spm_hal.c
index 93efa8710d..7939e7c148 100644
--- a/platform/ext/target/mps2/an519/spm_hal.c
+++ b/platform/ext/target/mps2/an519/spm_hal.c
@@ -9,7 +9,6 @@
#include "cmsis.h"
#include "tfm_spm_hal.h"
#include "tfm/spm_api.h"
-#include "tfm/spm_db.h"
#include "tfm_platform_core_api.h"
#include "target_cfg.h"
#include "Driver_MPC.h"
diff --git a/platform/ext/target/mps2/an521/spm_hal.c b/platform/ext/target/mps2/an521/spm_hal.c
index d1a6acbda6..4e22b1ab2b 100644
--- a/platform/ext/target/mps2/an521/spm_hal.c
+++ b/platform/ext/target/mps2/an521/spm_hal.c
@@ -9,7 +9,6 @@
#include "cmsis.h"
#include "tfm_spm_hal.h"
#include "tfm/spm_api.h"
-#include "tfm/spm_db.h"
#include "tfm_platform_core_api.h"
#include "target_cfg.h"
#include "Driver_MPC.h"
diff --git a/platform/ext/target/mps2/an539/spm_hal.c b/platform/ext/target/mps2/an539/spm_hal.c
index bc88fff6d7..08d99b4fa3 100644
--- a/platform/ext/target/mps2/an539/spm_hal.c
+++ b/platform/ext/target/mps2/an539/spm_hal.c
@@ -9,7 +9,6 @@
#include "tfm_spm_hal.h"
#include "tfm_platform_core_api.h"
#include "tfm/spm_api.h"
-#include "tfm/spm_db.h"
#include "target_cfg.h"
#include "mpu_armv8m_drv.h"
#include "region_defs.h"
diff --git a/platform/ext/target/mps2/fvp_sse300/spm_hal.c b/platform/ext/target/mps2/fvp_sse300/spm_hal.c
index 206e621920..52e35b8c8d 100644
--- a/platform/ext/target/mps2/fvp_sse300/spm_hal.c
+++ b/platform/ext/target/mps2/fvp_sse300/spm_hal.c
@@ -9,7 +9,6 @@
#include "cmsis.h"
#include "tfm_spm_hal.h"
#include "tfm/spm_api.h"
-#include "tfm/spm_db.h"
#include "tfm_platform_core_api.h"
#include "target_cfg.h"
#include "Driver_MPC.h"
diff --git a/platform/ext/target/mps3/an524/spm_hal.c b/platform/ext/target/mps3/an524/spm_hal.c
index 606993cbce..028e8e61e4 100644
--- a/platform/ext/target/mps3/an524/spm_hal.c
+++ b/platform/ext/target/mps3/an524/spm_hal.c
@@ -10,7 +10,6 @@
#include "tfm_spm_hal.h"
#include "tfm_platform_core_api.h"
#include "tfm/spm_api.h"
-#include "tfm/spm_db.h"
#include "target_cfg.h"
#include "mpu_armv8m_drv.h"
#include "region_defs.h"
diff --git a/platform/ext/target/musca_a/spm_hal.c b/platform/ext/target/musca_a/spm_hal.c
index cf7fdb7ba3..4b87afe88d 100644
--- a/platform/ext/target/musca_a/spm_hal.c
+++ b/platform/ext/target/musca_a/spm_hal.c
@@ -9,7 +9,6 @@
#include "cmsis.h"
#include "tfm_spm_hal.h"
#include "tfm/spm_api.h"
-#include "tfm/spm_db.h"
#include "tfm_platform_core_api.h"
#include "target_cfg.h"
#include "Driver_MPC.h"
diff --git a/platform/ext/target/musca_b1/spm_hal.c b/platform/ext/target/musca_b1/spm_hal.c
index 6ed2cafc07..405f55971e 100644
--- a/platform/ext/target/musca_b1/spm_hal.c
+++ b/platform/ext/target/musca_b1/spm_hal.c
@@ -9,7 +9,6 @@
#include "cmsis.h"
#include "tfm_spm_hal.h"
#include "tfm/spm_api.h"
-#include "tfm/spm_db.h"
#include "tfm_platform_core_api.h"
#include "target_cfg.h"
#include "Driver_MPC.h"
diff --git a/platform/ext/target/musca_s1/spm_hal.c b/platform/ext/target/musca_s1/spm_hal.c
index bdb480304a..9c1693ec23 100644
--- a/platform/ext/target/musca_s1/spm_hal.c
+++ b/platform/ext/target/musca_s1/spm_hal.c
@@ -9,7 +9,6 @@
#include "cmsis.h"
#include "tfm_spm_hal.h"
#include "tfm/spm_api.h"
-#include "tfm/spm_db.h"
#include "tfm_platform_core_api.h"
#include "target_cfg.h"
#include "Driver_MPC.h"
diff --git a/platform/ext/target/nxp/lpcxpresso55s69/spm_hal.c b/platform/ext/target/nxp/lpcxpresso55s69/spm_hal.c
index 909cd1e31b..a718ac37c6 100755
--- a/platform/ext/target/nxp/lpcxpresso55s69/spm_hal.c
+++ b/platform/ext/target/nxp/lpcxpresso55s69/spm_hal.c
@@ -9,7 +9,6 @@
#include "cmsis.h"
#include "tfm_spm_hal.h"
#include "tfm/spm_api.h"
-#include "tfm/spm_db.h"
#include "tfm_platform_core_api.h"
#include "target_cfg.h"
#include "mpu_armv8m_drv.h"
diff --git a/platform/ext/target/sse-200_aws/spm_hal.c b/platform/ext/target/sse-200_aws/spm_hal.c
index bb58cdf2b5..2490c89601 100644
--- a/platform/ext/target/sse-200_aws/spm_hal.c
+++ b/platform/ext/target/sse-200_aws/spm_hal.c
@@ -9,7 +9,6 @@
#include "cmsis.h"
#include "tfm_spm_hal.h"
#include "tfm/spm_api.h"
-#include "tfm/spm_db.h"
#include "tfm_platform_core_api.h"
#include "target_cfg.h"
#include "Driver_MPC.h"
diff --git a/platform/ext/target/stm/stm32l5xx/secure/spm_hal.c b/platform/ext/target/stm/stm32l5xx/secure/spm_hal.c
index 0ac0f1ce2b..f96e09d281 100644
--- a/platform/ext/target/stm/stm32l5xx/secure/spm_hal.c
+++ b/platform/ext/target/stm/stm32l5xx/secure/spm_hal.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2019, Arm Limited. All rights reserved.
+ * Copyright (c) 2018-2020, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -8,7 +8,6 @@
#include <stdio.h>
#include "tfm_spm_hal.h"
#include "tfm/spm_api.h"
-#include "tfm/spm_db.h"
#include "tfm_platform_core_api.h"
#include "target_cfg.h"
#include "Driver_MPC.h"