1#-------------------------------------------------------------------------------
2# Copyright (c) 2018-2022, Arm Limited. All rights reserved.
3# Copyright (c) 2021-2022 Cypress Semiconductor Corporation (an Infineon company)
4# or an affiliate of Cypress Semiconductor Corporation. All rights reserved.
5#
6# SPDX-License-Identifier: BSD-3-Clause
7#
8#-------------------------------------------------------------------------------
9
10# The "manifest" field must be a path relative to this file, a path relative to
11# the directory that tfm_parse_manifest_list.py is run in (which by default is
12# the TF-M root directory), or an absolute path.
13#
14# Files per Secure Partition are generated to:
15#   - "output_path", if it is a absolute path - not recommended
16#   - generated_file_root/"output_path", if "output_path" is relative path
17#   - generated_file_root/, if "output_path" is not specified
18#       * generated_file_root is the path passed to tfm_parse_manifest_list.py
19#         by -o/--outdir
20
21{
22  "description": "TF-M secure partition manifests",
23  "type": "manifest_list",
24  "version_major": 0,
25  "version_minor": 1,
26  "manifest_list": [
27    {
28      "description": "Non-Secure Mailbox Agent",
29      "manifest": "../secure_fw/partitions/ns_agent_mailbox/ns_agent_mailbox.yaml",
30      "output_path": "secure_fw/partitions/ns_agent_mailbox",
31      "conditional": "TFM_PARTITION_NS_AGENT_MAILBOX",
32      "version_major": 0,
33      "version_minor": 1,
34      "pid": 0,
35      "linker_pattern": {
36        "library_list": [
37           "*tfm_*ns_agent_mailbox.*"
38         ],
39      },
40      "non_ffm_attributes": ['ns_agent']
41    },
42    {
43      "description": "Protected Storage Partition",
44      "manifest": "../secure_fw/partitions/protected_storage/tfm_protected_storage.yaml",
45      "output_path": "secure_fw/partitions/protected_storage",
46      "conditional": "TFM_PARTITION_PROTECTED_STORAGE",
47      "version_major": 0,
48      "version_minor": 1,
49      "pid": 256,
50      "linker_pattern": {
51        "library_list": [
52           "*tfm_*partition_ps.*"
53         ],
54      }
55    },
56    {
57      "description": "TF-M Internal Trusted Storage Partition",
58      "manifest": "../secure_fw/partitions/internal_trusted_storage/tfm_internal_trusted_storage.yaml",
59      "output_path": "secure_fw/partitions/internal_trusted_storage",
60      "conditional": "TFM_PARTITION_INTERNAL_TRUSTED_STORAGE",
61      "version_major": 0,
62      "version_minor": 1,
63      "pid": 257,
64      "linker_pattern": {
65        "library_list": [
66           "*tfm_*partition_its.*"
67         ]
68      }
69    },
70    {
71      "description": "TFM Crypto Partition",
72      "manifest": "../secure_fw/partitions/crypto/tfm_crypto.yaml",
73      "output_path": "secure_fw/partitions/crypto",
74      "conditional": "TFM_PARTITION_CRYPTO",
75      "version_major": 0,
76      "version_minor": 1,
77      "pid": 259,
78      "linker_pattern": {
79        "library_list": [
80           "*tfm_*partition_crypto.*",
81           "*mbedcrypto.*",
82         ]
83      }
84    },
85    {
86      "description": "TFM Platform Partition",
87      "manifest": "../secure_fw/partitions/platform/tfm_platform.yaml",
88      "output_path": "secure_fw/partitions/platform",
89      "conditional": "TFM_PARTITION_PLATFORM",
90      "version_major": 0,
91      "version_minor": 1,
92      "pid": 260,
93      "linker_pattern": {
94        "library_list": [
95           "*tfm_*partition_platform.*"
96         ]
97      }
98    },
99    {
100      "description": "TFM Initial Attestation Partition",
101      "manifest": "../secure_fw/partitions/initial_attestation/tfm_initial_attestation.yaml",
102      "output_path": "secure_fw/partitions/initial_attestation",
103      "conditional": "TFM_PARTITION_INITIAL_ATTESTATION",
104      "version_major": 0,
105      "version_minor": 1,
106      "pid": 261,
107      "linker_pattern": {
108        "library_list": [
109           "*tfm_*partition_attestation.*"
110         ]
111      }
112    },
113    {
114      "description": "TFM Firmware Update Partition",
115      "manifest": "../secure_fw/partitions/firmware_update/tfm_firmware_update.yaml",
116      "output_path": "secure_fw/partitions/firmware_update",
117      "conditional": "TFM_PARTITION_FIRMWARE_UPDATE",
118      "version_major": 0,
119      "version_minor": 1,
120      "pid": 271,
121      "linker_pattern": {
122        "library_list": [
123          "*tfm_*partition_fwu*"
124         ]
125      }
126    },
127  ]
128}
129