commit | a8e751e0eaf2a6d56030a33cd51f959c4931b788 | [log] [tgz] |
---|---|---|
author | Edison Ai <edison.ai@arm.com> | Sat Oct 12 14:08:15 2019 +0800 |
committer | Ken Liu <ken.liu@arm.com> | Wed Nov 20 06:31:45 2019 +0000 |
tree | 66410984b0d8398b408ffc144df17a7245fed811 | |
parent | 45b225517bdb9cda76880c0d29de469d472bc062 [diff] |
Core: Move tfm_spm_db files to spm folder The tfm_spm_db.inc and tfm_spm_db.inc.template are used by SPM, so that move them from services to spm. Change-Id: I1410bb559bb2653e918f112f449f962e2f82f75b Signed-off-by: Edison Ai <edison.ai@arm.com>
diff --git a/secure_fw/spm/spm_api.c b/secure_fw/spm/spm_api.c index b46dc95..90a094b 100644 --- a/secure_fw/spm/spm_api.c +++ b/secure_fw/spm/spm_api.c
@@ -24,7 +24,7 @@ #define TFM_CORE_INTERNAL_PARTITION_DB_IDX 1 /* Define SPM DB structure */ -#include "secure_fw/services/tfm_spm_db.inc" +#include "tfm_spm_db.inc" uint32_t get_partition_idx(uint32_t partition_id) {
diff --git a/secure_fw/services/tfm_spm_db.inc b/secure_fw/spm/tfm_spm_db.inc similarity index 100% rename from secure_fw/services/tfm_spm_db.inc rename to secure_fw/spm/tfm_spm_db.inc
diff --git a/secure_fw/services/tfm_spm_db.inc.template b/secure_fw/spm/tfm_spm_db.inc.template similarity index 100% rename from secure_fw/services/tfm_spm_db.inc.template rename to secure_fw/spm/tfm_spm_db.inc.template
diff --git a/tools/tfm_generated_file_list.yaml b/tools/tfm_generated_file_list.yaml index a71a835..fc1dc0a 100644 --- a/tools/tfm_generated_file_list.yaml +++ b/tools/tfm_generated_file_list.yaml
@@ -14,7 +14,7 @@ { "name": "Secure Partition declarations", "short_name": "tfm_partition_list", - "output": "secure_fw/services/tfm_spm_db.inc" + "output": "secure_fw/spm/tfm_spm_db.inc" }, { "name": "Secure Service list",