blob: fabe0b94205f818955f25e588127c31972741e5d [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
40/* SCP Firmware BL3-0 */
41#define BL30_IMAGE_ID 2
42
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 */
53#define BL2_CERT_ID 6
54#define TRUSTED_KEY_CERT_ID 7
55
56#define BL30_KEY_CERT_ID 8
57#define BL31_KEY_CERT_ID 9
58#define BL32_KEY_CERT_ID 10
59#define BL33_KEY_CERT_ID 11
60
61#define BL30_CERT_ID 12
62#define BL31_CERT_ID 13
63#define BL32_CERT_ID 14
64#define BL33_CERT_ID 15
65
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__ */