xref: /rk3399_ARM-atf/include/common/tbbr/tbbr_img_def.h (revision 82cb2c1ad9897473743f08437d0a3995bed561b9)
1dff93c86SJuan Castillo /*
2dff93c86SJuan Castillo  * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
3dff93c86SJuan Castillo  *
4*82cb2c1aSdp-arm  * SPDX-License-Identifier: BSD-3-Clause
5dff93c86SJuan Castillo  */
6dff93c86SJuan Castillo 
7dff93c86SJuan Castillo #ifndef __TBBR_IMG_DEF_H__
8dff93c86SJuan Castillo #define __TBBR_IMG_DEF_H__
9dff93c86SJuan Castillo 
10dff93c86SJuan Castillo /* Firmware Image Package */
11dff93c86SJuan Castillo #define FIP_IMAGE_ID			0
12dff93c86SJuan Castillo 
13dff93c86SJuan Castillo /* Trusted Boot Firmware BL2 */
14dff93c86SJuan Castillo #define BL2_IMAGE_ID			1
15dff93c86SJuan Castillo 
16f59821d5SJuan Castillo /* SCP Firmware SCP_BL2 */
17f59821d5SJuan Castillo #define SCP_BL2_IMAGE_ID		2
18dff93c86SJuan Castillo 
19dff93c86SJuan Castillo /* EL3 Runtime Firmware BL31 */
20dff93c86SJuan Castillo #define BL31_IMAGE_ID			3
21dff93c86SJuan Castillo 
22dff93c86SJuan Castillo /* Secure Payload BL32 (Trusted OS) */
23dff93c86SJuan Castillo #define BL32_IMAGE_ID			4
24dff93c86SJuan Castillo 
25dff93c86SJuan Castillo /* Non-Trusted Firmware BL33 */
26dff93c86SJuan Castillo #define BL33_IMAGE_ID			5
27dff93c86SJuan Castillo 
28dff93c86SJuan Castillo /* Certificates */
29516beb58SJuan Castillo #define TRUSTED_BOOT_FW_CERT_ID		6
30dff93c86SJuan Castillo #define TRUSTED_KEY_CERT_ID		7
31dff93c86SJuan Castillo 
32516beb58SJuan Castillo #define SCP_FW_KEY_CERT_ID		8
33516beb58SJuan Castillo #define SOC_FW_KEY_CERT_ID		9
34516beb58SJuan Castillo #define TRUSTED_OS_FW_KEY_CERT_ID	10
35516beb58SJuan Castillo #define NON_TRUSTED_FW_KEY_CERT_ID	11
36dff93c86SJuan Castillo 
37516beb58SJuan Castillo #define SCP_FW_CONTENT_CERT_ID		12
38516beb58SJuan Castillo #define SOC_FW_CONTENT_CERT_ID		13
39516beb58SJuan Castillo #define TRUSTED_OS_FW_CONTENT_CERT_ID	14
40516beb58SJuan Castillo #define NON_TRUSTED_FW_CONTENT_CERT_ID	15
41dff93c86SJuan Castillo 
4248bfb88eSYatharth Kochar /* Non-Trusted ROM Firmware NS_BL1U */
4348bfb88eSYatharth Kochar #define NS_BL1U_IMAGE_ID		16
4448bfb88eSYatharth Kochar 
4548bfb88eSYatharth Kochar /* Trusted FWU Certificate */
4648bfb88eSYatharth Kochar #define FWU_CERT_ID			17
4748bfb88eSYatharth Kochar 
4848bfb88eSYatharth Kochar /* Trusted FWU SCP Firmware SCP_BL2U */
4948bfb88eSYatharth Kochar #define SCP_BL2U_IMAGE_ID		18
5048bfb88eSYatharth Kochar 
5148bfb88eSYatharth Kochar /* Trusted FWU Boot Firmware BL2U */
5248bfb88eSYatharth Kochar #define BL2U_IMAGE_ID			19
5348bfb88eSYatharth Kochar 
5448bfb88eSYatharth Kochar /* Non-Trusted FWU Firmware NS_BL2U */
5548bfb88eSYatharth Kochar #define NS_BL2U_IMAGE_ID		20
5648bfb88eSYatharth Kochar 
57dff93c86SJuan Castillo #endif /* __TBBR_IMG_DEF_H__ */
58