aboutsummaryrefslogtreecommitdiff
path: root/interface/include
diff options
context:
space:
mode:
authorShawn Shan <Shawn.Shan@arm.com>2021-06-16 17:18:33 +0800
committerDavid Hu <david.hu@arm.com>2021-07-07 05:16:08 +0200
commit6a92631917fcd30e78d68fbb2d579c8af7c18e95 (patch)
treed8a75f1331a7719cfd3b21a52966db2a21b3a818 /interface/include
parenta4f23f8377b857dd9c4f69f43716baa1dfc38520 (diff)
downloadtrusted-firmware-m-6a92631917fcd30e78d68fbb2d579c8af7c18e95.tar.gz
Tools: Deprecate the attribute 'tfm_partition_ipc'
'tfm_partition_ipc' was introduced to distinguish if partitions support library model only. The FF-M v1.1 introduces a new SFN Model which is an alternative of IPC Model. This attribute becomes confusing to indicate the models. Made some changes to remove the attribute 'tfm_partition_ipc'. Change-Id: Ifba5778caf87bb716993db3dc19986bbde3653c3 Signed-off-by: Shawn Shan <Shawn.Shan@arm.com>
Diffstat (limited to 'interface/include')
-rw-r--r--interface/include/psa_manifest/sid.h.template24
1 files changed, 11 insertions, 13 deletions
diff --git a/interface/include/psa_manifest/sid.h.template b/interface/include/psa_manifest/sid.h.template
index 1fe128cbab..8a53a71945 100644
--- a/interface/include/psa_manifest/sid.h.template
+++ b/interface/include/psa_manifest/sid.h.template
@@ -15,24 +15,22 @@ extern "C" {
#endif
{% for partition in partitions %}
- {% if partition.attr.tfm_partition_ipc %}
+ {% if partition.manifest.services %}
/******** {{partition.manifest.name}} ********/
- {% if partition.manifest.services %}
- {% for service in partition.manifest.services %}
- {% set str = service.name + "_SID" %}
+ {% for service in partition.manifest.services %}
+ {% set str = service.name + "_SID" %}
#define {{"%-58s"|format(str)}} ({{"%10s"|format(service.sid)}}U)
- {% set str = service.name + "_VERSION" %}
- {% if service.version %}
+ {% set str = service.name + "_VERSION" %}
+ {% if service.version %}
#define {{"%-58s"|format(str)}} ({{"%d"|format(service.version)}}U)
- {% else %}
+ {% else %}
#define {{"%-58s"|format(str)}} (1U)
- {% endif %}
- {% if partition.manifest.psa_framework_version > 1.0 and service.connection_based == false %}
- {% set str = service.name + "_HANDLE" %}
+ {% endif %}
+ {% if partition.manifest.psa_framework_version > 1.0 and service.connection_based == false %}
+ {% set str = service.name + "_HANDLE" %}
#define {{"%-58s"|format(str)}} ({{"%s"|format(service.stateless_handle_value)}}U)
- {% endif %}
- {% endfor %}
- {% endif %}
+ {% endif %}
+ {% endfor %}
{% endif %}
{% endfor %}