2015-05-07 14:52:44 +01:00
|
|
|
/*
|
2017-11-07 17:03:57 +00:00
|
|
|
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
|
2015-05-07 14:52:44 +01:00
|
|
|
*
|
2017-05-03 09:38:09 +01:00
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
2015-05-07 14:52:44 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __TBBR_IMG_DEF_H__
|
|
|
|
#define __TBBR_IMG_DEF_H__
|
|
|
|
|
2018-08-21 14:14:31 +01:00
|
|
|
#include <utils_def.h>
|
|
|
|
|
2015-05-07 14:52:44 +01:00
|
|
|
/* Firmware Image Package */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define FIP_IMAGE_ID U(0)
|
2015-05-07 14:52:44 +01:00
|
|
|
|
|
|
|
/* Trusted Boot Firmware BL2 */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define BL2_IMAGE_ID U(1)
|
2015-05-07 14:52:44 +01:00
|
|
|
|
2015-12-10 15:49:17 +00:00
|
|
|
/* SCP Firmware SCP_BL2 */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define SCP_BL2_IMAGE_ID U(2)
|
2015-05-07 14:52:44 +01:00
|
|
|
|
|
|
|
/* EL3 Runtime Firmware BL31 */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define BL31_IMAGE_ID U(3)
|
2015-05-07 14:52:44 +01:00
|
|
|
|
|
|
|
/* Secure Payload BL32 (Trusted OS) */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define BL32_IMAGE_ID U(4)
|
2015-05-07 14:52:44 +01:00
|
|
|
|
|
|
|
/* Non-Trusted Firmware BL33 */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define BL33_IMAGE_ID U(5)
|
2015-05-07 14:52:44 +01:00
|
|
|
|
|
|
|
/* Certificates */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define TRUSTED_BOOT_FW_CERT_ID U(6)
|
|
|
|
#define TRUSTED_KEY_CERT_ID U(7)
|
2015-05-07 14:52:44 +01:00
|
|
|
|
2018-08-21 14:14:31 +01:00
|
|
|
#define SCP_FW_KEY_CERT_ID U(8)
|
|
|
|
#define SOC_FW_KEY_CERT_ID U(9)
|
|
|
|
#define TRUSTED_OS_FW_KEY_CERT_ID U(10)
|
|
|
|
#define NON_TRUSTED_FW_KEY_CERT_ID U(11)
|
2015-05-07 14:52:44 +01:00
|
|
|
|
2018-08-21 14:14:31 +01:00
|
|
|
#define SCP_FW_CONTENT_CERT_ID U(12)
|
|
|
|
#define SOC_FW_CONTENT_CERT_ID U(13)
|
|
|
|
#define TRUSTED_OS_FW_CONTENT_CERT_ID U(14)
|
|
|
|
#define NON_TRUSTED_FW_CONTENT_CERT_ID U(15)
|
2015-05-07 14:52:44 +01:00
|
|
|
|
2015-10-10 19:06:53 +01:00
|
|
|
/* Non-Trusted ROM Firmware NS_BL1U */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define NS_BL1U_IMAGE_ID U(16)
|
2015-10-10 19:06:53 +01:00
|
|
|
|
|
|
|
/* Trusted FWU Certificate */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define FWU_CERT_ID U(17)
|
2015-10-10 19:06:53 +01:00
|
|
|
|
|
|
|
/* Trusted FWU SCP Firmware SCP_BL2U */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define SCP_BL2U_IMAGE_ID U(18)
|
2015-10-10 19:06:53 +01:00
|
|
|
|
|
|
|
/* Trusted FWU Boot Firmware BL2U */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define BL2U_IMAGE_ID U(19)
|
2015-10-10 19:06:53 +01:00
|
|
|
|
|
|
|
/* Non-Trusted FWU Firmware NS_BL2U */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define NS_BL2U_IMAGE_ID U(20)
|
2015-10-10 19:06:53 +01:00
|
|
|
|
2017-04-20 16:28:39 +01:00
|
|
|
/* Secure Payload BL32_EXTRA1 (Trusted OS Extra1) */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define BL32_EXTRA1_IMAGE_ID U(21)
|
2017-04-20 16:28:39 +01:00
|
|
|
|
|
|
|
/* Secure Payload BL32_EXTRA2 (Trusted OS Extra2) */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define BL32_EXTRA2_IMAGE_ID U(22)
|
2017-04-20 16:28:39 +01:00
|
|
|
|
2017-11-07 17:03:57 +00:00
|
|
|
/* HW_CONFIG (e.g. Kernel DT) */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define HW_CONFIG_ID U(23)
|
2017-11-07 17:03:57 +00:00
|
|
|
|
|
|
|
/* TB_FW_CONFIG */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define TB_FW_CONFIG_ID U(24)
|
2017-11-07 17:03:57 +00:00
|
|
|
|
2018-01-08 13:36:49 +00:00
|
|
|
/* SOC_FW_CONFIG */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define SOC_FW_CONFIG_ID U(25)
|
2018-01-08 13:36:49 +00:00
|
|
|
|
|
|
|
/* TOS_FW_CONFIG */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define TOS_FW_CONFIG_ID U(26)
|
2018-01-08 13:36:49 +00:00
|
|
|
|
|
|
|
/* NT_FW_CONFIG */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define NT_FW_CONFIG_ID U(27)
|
2018-01-08 13:36:49 +00:00
|
|
|
|
2018-02-12 12:36:17 +00:00
|
|
|
/* Define size of the array */
|
2018-08-21 14:14:31 +01:00
|
|
|
#define MAX_NUMBER_IDS U(28)
|
2018-02-12 12:36:17 +00:00
|
|
|
|
2015-05-07 14:52:44 +01:00
|
|
|
#endif /* __TBBR_IMG_DEF_H__ */
|