blob: ad10e2e508b21901000d7facd2768ee5e78decd9 [file] [log] [blame]
Juan Castillo9b265a82015-05-07 14:52:44 +01001/*
2 * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 *
7 * Redistributions of source code must retain the above copyright notice, this
8 * list of conditions and the following disclaimer.
9 *
10 * Redistributions in binary form must reproduce the above copyright notice,
11 * this list of conditions and the following disclaimer in the documentation
12 * and/or other materials provided with the distribution.
13 *
14 * Neither the name of ARM nor the names of its contributors may be used
15 * to endorse or promote products derived from this software without specific
16 * prior written permission.
17 *
18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
22 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 * POSSIBILITY OF SUCH DAMAGE.
29 */
30
31#ifndef __TBBR_IMG_DEF_H__
32#define __TBBR_IMG_DEF_H__
33
34/* Firmware Image Package */
35#define FIP_IMAGE_ID 0
36
37/* Trusted Boot Firmware BL2 */
38#define BL2_IMAGE_ID 1
39
Juan Castilloa72b6472015-12-10 15:49:17 +000040/* SCP Firmware SCP_BL2 */
41#define SCP_BL2_IMAGE_ID 2
Juan Castillo9b265a82015-05-07 14:52:44 +010042
43/* EL3 Runtime Firmware BL31 */
44#define BL31_IMAGE_ID 3
45
46/* Secure Payload BL32 (Trusted OS) */
47#define BL32_IMAGE_ID 4
48
49/* Non-Trusted Firmware BL33 */
50#define BL33_IMAGE_ID 5
51
52/* Certificates */
Juan Castillobe801202015-12-03 10:19:21 +000053#define TRUSTED_BOOT_FW_CERT_ID 6
Juan Castillo9b265a82015-05-07 14:52:44 +010054#define TRUSTED_KEY_CERT_ID 7
55
Juan Castillobe801202015-12-03 10:19:21 +000056#define SCP_FW_KEY_CERT_ID 8
57#define SOC_FW_KEY_CERT_ID 9
58#define TRUSTED_OS_FW_KEY_CERT_ID 10
59#define NON_TRUSTED_FW_KEY_CERT_ID 11
Juan Castillo9b265a82015-05-07 14:52:44 +010060
Juan Castillobe801202015-12-03 10:19:21 +000061#define SCP_FW_CONTENT_CERT_ID 12
62#define SOC_FW_CONTENT_CERT_ID 13
63#define TRUSTED_OS_FW_CONTENT_CERT_ID 14
64#define NON_TRUSTED_FW_CONTENT_CERT_ID 15
Juan Castillo9b265a82015-05-07 14:52:44 +010065
Yatharth Kochar71c9a5e2015-10-10 19:06:53 +010066/* Non-Trusted ROM Firmware NS_BL1U */
67#define NS_BL1U_IMAGE_ID 16
68
69/* Trusted FWU Certificate */
70#define FWU_CERT_ID 17
71
72/* Trusted FWU SCP Firmware SCP_BL2U */
73#define SCP_BL2U_IMAGE_ID 18
74
75/* Trusted FWU Boot Firmware BL2U */
76#define BL2U_IMAGE_ID 19
77
78/* Non-Trusted FWU Firmware NS_BL2U */
79#define NS_BL2U_IMAGE_ID 20
80
Juan Castillo9b265a82015-05-07 14:52:44 +010081#endif /* __TBBR_IMG_DEF_H__ */