blob: c43c39540cbda2b1122c253ca322065d3e4002e5 [file] [log] [blame]
Juan Castillodff93c82015-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
66#endif /* __TBBR_IMG_DEF_H__ */