Build: Use generated PID
Use the partition ID generated by tools:
- Remove tfm_partition_defs.inc.
- Change the partition name with "_LINKER" postfix in linker files and
related files. Because the partition name is used as macro for
partition ID.
- Remove "id" attribute from manifest file.
Change-Id: I3e60954e6d15f62fea0f1345862d2865743f8c53
Signed-off-by: Edison Ai <edison.ai@arm.com>
diff --git a/secure_fw/spm/spm_partition_defs.h b/secure_fw/spm/spm_partition_defs.h
index 85ab1ec..4e32baf 100644
--- a/secure_fw/spm/spm_partition_defs.h
+++ b/secure_fw/spm/spm_partition_defs.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2018, Arm Limited. All rights reserved.
+ * Copyright (c) 2017-2019, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -29,7 +29,7 @@
*/
#define TFM_SP_CORE_ID (1)
-#include "secure_fw/services/tfm_partition_defs.inc"
+#include "psa_manifest/pid.h"
/* This limit is only used to define the size of the database reserved for
* partitions. There's no requirement that it match the number of partitions