Juan Castillo | 9b265a8 | 2015-05-07 14:52:44 +0100 | [diff] [blame] | 1 | /* |
Soby Mathew | 0bdfef0 | 2017-11-07 17:03:57 +0000 | [diff] [blame] | 2 | * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved. |
Juan Castillo | 9b265a8 | 2015-05-07 14:52:44 +0100 | [diff] [blame] | 3 | * |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
Juan Castillo | 9b265a8 | 2015-05-07 14:52:44 +0100 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __TBBR_IMG_DEF_H__ |
| 8 | #define __TBBR_IMG_DEF_H__ |
| 9 | |
| 10 | /* Firmware Image Package */ |
| 11 | #define FIP_IMAGE_ID 0 |
| 12 | |
| 13 | /* Trusted Boot Firmware BL2 */ |
| 14 | #define BL2_IMAGE_ID 1 |
| 15 | |
Juan Castillo | a72b647 | 2015-12-10 15:49:17 +0000 | [diff] [blame] | 16 | /* SCP Firmware SCP_BL2 */ |
| 17 | #define SCP_BL2_IMAGE_ID 2 |
Juan Castillo | 9b265a8 | 2015-05-07 14:52:44 +0100 | [diff] [blame] | 18 | |
| 19 | /* EL3 Runtime Firmware BL31 */ |
| 20 | #define BL31_IMAGE_ID 3 |
| 21 | |
| 22 | /* Secure Payload BL32 (Trusted OS) */ |
| 23 | #define BL32_IMAGE_ID 4 |
| 24 | |
| 25 | /* Non-Trusted Firmware BL33 */ |
| 26 | #define BL33_IMAGE_ID 5 |
| 27 | |
| 28 | /* Certificates */ |
Juan Castillo | be80120 | 2015-12-03 10:19:21 +0000 | [diff] [blame] | 29 | #define TRUSTED_BOOT_FW_CERT_ID 6 |
Juan Castillo | 9b265a8 | 2015-05-07 14:52:44 +0100 | [diff] [blame] | 30 | #define TRUSTED_KEY_CERT_ID 7 |
| 31 | |
Juan Castillo | be80120 | 2015-12-03 10:19:21 +0000 | [diff] [blame] | 32 | #define SCP_FW_KEY_CERT_ID 8 |
| 33 | #define SOC_FW_KEY_CERT_ID 9 |
| 34 | #define TRUSTED_OS_FW_KEY_CERT_ID 10 |
| 35 | #define NON_TRUSTED_FW_KEY_CERT_ID 11 |
Juan Castillo | 9b265a8 | 2015-05-07 14:52:44 +0100 | [diff] [blame] | 36 | |
Juan Castillo | be80120 | 2015-12-03 10:19:21 +0000 | [diff] [blame] | 37 | #define SCP_FW_CONTENT_CERT_ID 12 |
| 38 | #define SOC_FW_CONTENT_CERT_ID 13 |
| 39 | #define TRUSTED_OS_FW_CONTENT_CERT_ID 14 |
| 40 | #define NON_TRUSTED_FW_CONTENT_CERT_ID 15 |
Juan Castillo | 9b265a8 | 2015-05-07 14:52:44 +0100 | [diff] [blame] | 41 | |
Yatharth Kochar | 71c9a5e | 2015-10-10 19:06:53 +0100 | [diff] [blame] | 42 | /* Non-Trusted ROM Firmware NS_BL1U */ |
| 43 | #define NS_BL1U_IMAGE_ID 16 |
| 44 | |
| 45 | /* Trusted FWU Certificate */ |
| 46 | #define FWU_CERT_ID 17 |
| 47 | |
| 48 | /* Trusted FWU SCP Firmware SCP_BL2U */ |
| 49 | #define SCP_BL2U_IMAGE_ID 18 |
| 50 | |
| 51 | /* Trusted FWU Boot Firmware BL2U */ |
| 52 | #define BL2U_IMAGE_ID 19 |
| 53 | |
| 54 | /* Non-Trusted FWU Firmware NS_BL2U */ |
| 55 | #define NS_BL2U_IMAGE_ID 20 |
| 56 | |
Summer Qin | 8072678 | 2017-04-20 16:28:39 +0100 | [diff] [blame] | 57 | /* Secure Payload BL32_EXTRA1 (Trusted OS Extra1) */ |
| 58 | #define BL32_EXTRA1_IMAGE_ID 21 |
| 59 | |
| 60 | /* Secure Payload BL32_EXTRA2 (Trusted OS Extra2) */ |
| 61 | #define BL32_EXTRA2_IMAGE_ID 22 |
| 62 | |
Soby Mathew | 0bdfef0 | 2017-11-07 17:03:57 +0000 | [diff] [blame] | 63 | /* HW_CONFIG (e.g. Kernel DT) */ |
| 64 | #define HW_CONFIG_ID 23 |
| 65 | |
| 66 | /* TB_FW_CONFIG */ |
| 67 | #define TB_FW_CONFIG_ID 24 |
| 68 | |
Soby Mathew | 40eb4b6 | 2018-01-08 13:36:49 +0000 | [diff] [blame] | 69 | /* SOC_FW_CONFIG */ |
| 70 | #define SOC_FW_CONFIG_ID 25 |
| 71 | |
| 72 | /* TOS_FW_CONFIG */ |
| 73 | #define TOS_FW_CONFIG_ID 26 |
| 74 | |
| 75 | /* NT_FW_CONFIG */ |
| 76 | #define NT_FW_CONFIG_ID 27 |
| 77 | |
Roberto Vargas | be126ed | 2018-02-12 12:36:17 +0000 | [diff] [blame] | 78 | /* Define size of the array */ |
| 79 | #define MAX_NUMBER_IDS 28 |
| 80 | |
Juan Castillo | 9b265a8 | 2015-05-07 14:52:44 +0100 | [diff] [blame] | 81 | #endif /* __TBBR_IMG_DEF_H__ */ |