1*dff93c86SJuan Castillo /* 2*dff93c86SJuan Castillo * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved. 3*dff93c86SJuan Castillo * 4*dff93c86SJuan Castillo * Redistribution and use in source and binary forms, with or without 5*dff93c86SJuan Castillo * modification, are permitted provided that the following conditions are met: 6*dff93c86SJuan Castillo * 7*dff93c86SJuan Castillo * Redistributions of source code must retain the above copyright notice, this 8*dff93c86SJuan Castillo * list of conditions and the following disclaimer. 9*dff93c86SJuan Castillo * 10*dff93c86SJuan Castillo * Redistributions in binary form must reproduce the above copyright notice, 11*dff93c86SJuan Castillo * this list of conditions and the following disclaimer in the documentation 12*dff93c86SJuan Castillo * and/or other materials provided with the distribution. 13*dff93c86SJuan Castillo * 14*dff93c86SJuan Castillo * Neither the name of ARM nor the names of its contributors may be used 15*dff93c86SJuan Castillo * to endorse or promote products derived from this software without specific 16*dff93c86SJuan Castillo * prior written permission. 17*dff93c86SJuan Castillo * 18*dff93c86SJuan Castillo * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 19*dff93c86SJuan Castillo * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20*dff93c86SJuan Castillo * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21*dff93c86SJuan Castillo * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 22*dff93c86SJuan Castillo * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23*dff93c86SJuan Castillo * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24*dff93c86SJuan Castillo * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25*dff93c86SJuan Castillo * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26*dff93c86SJuan Castillo * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27*dff93c86SJuan Castillo * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28*dff93c86SJuan Castillo * POSSIBILITY OF SUCH DAMAGE. 29*dff93c86SJuan Castillo */ 30*dff93c86SJuan Castillo 31*dff93c86SJuan Castillo #ifndef __TBBR_IMG_DEF_H__ 32*dff93c86SJuan Castillo #define __TBBR_IMG_DEF_H__ 33*dff93c86SJuan Castillo 34*dff93c86SJuan Castillo /* Firmware Image Package */ 35*dff93c86SJuan Castillo #define FIP_IMAGE_ID 0 36*dff93c86SJuan Castillo 37*dff93c86SJuan Castillo /* Trusted Boot Firmware BL2 */ 38*dff93c86SJuan Castillo #define BL2_IMAGE_ID 1 39*dff93c86SJuan Castillo 40*dff93c86SJuan Castillo /* SCP Firmware BL3-0 */ 41*dff93c86SJuan Castillo #define BL30_IMAGE_ID 2 42*dff93c86SJuan Castillo 43*dff93c86SJuan Castillo /* EL3 Runtime Firmware BL31 */ 44*dff93c86SJuan Castillo #define BL31_IMAGE_ID 3 45*dff93c86SJuan Castillo 46*dff93c86SJuan Castillo /* Secure Payload BL32 (Trusted OS) */ 47*dff93c86SJuan Castillo #define BL32_IMAGE_ID 4 48*dff93c86SJuan Castillo 49*dff93c86SJuan Castillo /* Non-Trusted Firmware BL33 */ 50*dff93c86SJuan Castillo #define BL33_IMAGE_ID 5 51*dff93c86SJuan Castillo 52*dff93c86SJuan Castillo /* Certificates */ 53*dff93c86SJuan Castillo #define BL2_CERT_ID 6 54*dff93c86SJuan Castillo #define TRUSTED_KEY_CERT_ID 7 55*dff93c86SJuan Castillo 56*dff93c86SJuan Castillo #define BL30_KEY_CERT_ID 8 57*dff93c86SJuan Castillo #define BL31_KEY_CERT_ID 9 58*dff93c86SJuan Castillo #define BL32_KEY_CERT_ID 10 59*dff93c86SJuan Castillo #define BL33_KEY_CERT_ID 11 60*dff93c86SJuan Castillo 61*dff93c86SJuan Castillo #define BL30_CERT_ID 12 62*dff93c86SJuan Castillo #define BL31_CERT_ID 13 63*dff93c86SJuan Castillo #define BL32_CERT_ID 14 64*dff93c86SJuan Castillo #define BL33_CERT_ID 15 65*dff93c86SJuan Castillo 66*dff93c86SJuan Castillo #endif /* __TBBR_IMG_DEF_H__ */ 67