Allow any PID in pid.h
Remove the error from pid.h.template for a partition with a pid
< TFM_SP_BASE. This allows manifests to be used for the idle and
non-secure agent partitions.
Change-Id: I6331788de68741bbc95ce17d5f8a6176cf43753d
Signed-off-by: Chris Brand <chris.brand@cypress.com>
diff --git a/interface/include/psa_manifest/pid.h.template b/interface/include/psa_manifest/pid.h.template
index 223ab78..4fba682 100644
--- a/interface/include/psa_manifest/pid.h.template
+++ b/interface/include/psa_manifest/pid.h.template
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2019-2021, Arm Limited. All rights reserved.
+ * Copyright (c) 2021, Cypress Semiconductor Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -15,11 +16,7 @@
#endif
{% for partition in partitions %}
- {% if partition.attr.pid - 256 < 0 %}
-#error "Partition ID for '{{partition.manifest.name}}' have to be at least TFM_SP_BASE"
- {% else %}
#define {{"%-62s"|format(partition.manifest.name)}} ({{partition.attr.pid}})
- {% endif %}
{% endfor %}
#define {{"%-62s"|format("TFM_MAX_USER_PARTITIONS")}} ({{partitions | length()}})