1dff93c86SJuan Castillo /* 2dff93c86SJuan Castillo * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved. 3dff93c86SJuan Castillo * 4dff93c86SJuan Castillo * Redistribution and use in source and binary forms, with or without 5dff93c86SJuan Castillo * modification, are permitted provided that the following conditions are met: 6dff93c86SJuan Castillo * 7dff93c86SJuan Castillo * Redistributions of source code must retain the above copyright notice, this 8dff93c86SJuan Castillo * list of conditions and the following disclaimer. 9dff93c86SJuan Castillo * 10dff93c86SJuan Castillo * Redistributions in binary form must reproduce the above copyright notice, 11dff93c86SJuan Castillo * this list of conditions and the following disclaimer in the documentation 12dff93c86SJuan Castillo * and/or other materials provided with the distribution. 13dff93c86SJuan Castillo * 14dff93c86SJuan Castillo * Neither the name of ARM nor the names of its contributors may be used 15dff93c86SJuan Castillo * to endorse or promote products derived from this software without specific 16dff93c86SJuan Castillo * prior written permission. 17dff93c86SJuan Castillo * 18dff93c86SJuan Castillo * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 19dff93c86SJuan Castillo * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20dff93c86SJuan Castillo * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21dff93c86SJuan Castillo * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 22dff93c86SJuan Castillo * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23dff93c86SJuan Castillo * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24dff93c86SJuan Castillo * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25dff93c86SJuan Castillo * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26dff93c86SJuan Castillo * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27dff93c86SJuan Castillo * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28dff93c86SJuan Castillo * POSSIBILITY OF SUCH DAMAGE. 29dff93c86SJuan Castillo */ 30dff93c86SJuan Castillo 31dff93c86SJuan Castillo #ifndef __TBBR_IMG_DEF_H__ 32dff93c86SJuan Castillo #define __TBBR_IMG_DEF_H__ 33dff93c86SJuan Castillo 34dff93c86SJuan Castillo /* Firmware Image Package */ 35dff93c86SJuan Castillo #define FIP_IMAGE_ID 0 36dff93c86SJuan Castillo 37dff93c86SJuan Castillo /* Trusted Boot Firmware BL2 */ 38dff93c86SJuan Castillo #define BL2_IMAGE_ID 1 39dff93c86SJuan Castillo 40*f59821d5SJuan Castillo /* SCP Firmware SCP_BL2 */ 41*f59821d5SJuan Castillo #define SCP_BL2_IMAGE_ID 2 42dff93c86SJuan Castillo 43dff93c86SJuan Castillo /* EL3 Runtime Firmware BL31 */ 44dff93c86SJuan Castillo #define BL31_IMAGE_ID 3 45dff93c86SJuan Castillo 46dff93c86SJuan Castillo /* Secure Payload BL32 (Trusted OS) */ 47dff93c86SJuan Castillo #define BL32_IMAGE_ID 4 48dff93c86SJuan Castillo 49dff93c86SJuan Castillo /* Non-Trusted Firmware BL33 */ 50dff93c86SJuan Castillo #define BL33_IMAGE_ID 5 51dff93c86SJuan Castillo 52dff93c86SJuan Castillo /* Certificates */ 53516beb58SJuan Castillo #define TRUSTED_BOOT_FW_CERT_ID 6 54dff93c86SJuan Castillo #define TRUSTED_KEY_CERT_ID 7 55dff93c86SJuan Castillo 56516beb58SJuan Castillo #define SCP_FW_KEY_CERT_ID 8 57516beb58SJuan Castillo #define SOC_FW_KEY_CERT_ID 9 58516beb58SJuan Castillo #define TRUSTED_OS_FW_KEY_CERT_ID 10 59516beb58SJuan Castillo #define NON_TRUSTED_FW_KEY_CERT_ID 11 60dff93c86SJuan Castillo 61516beb58SJuan Castillo #define SCP_FW_CONTENT_CERT_ID 12 62516beb58SJuan Castillo #define SOC_FW_CONTENT_CERT_ID 13 63516beb58SJuan Castillo #define TRUSTED_OS_FW_CONTENT_CERT_ID 14 64516beb58SJuan Castillo #define NON_TRUSTED_FW_CONTENT_CERT_ID 15 65dff93c86SJuan Castillo 6648bfb88eSYatharth Kochar /* Non-Trusted ROM Firmware NS_BL1U */ 6748bfb88eSYatharth Kochar #define NS_BL1U_IMAGE_ID 16 6848bfb88eSYatharth Kochar 6948bfb88eSYatharth Kochar /* Trusted FWU Certificate */ 7048bfb88eSYatharth Kochar #define FWU_CERT_ID 17 7148bfb88eSYatharth Kochar 7248bfb88eSYatharth Kochar /* Trusted FWU SCP Firmware SCP_BL2U */ 7348bfb88eSYatharth Kochar #define SCP_BL2U_IMAGE_ID 18 7448bfb88eSYatharth Kochar 7548bfb88eSYatharth Kochar /* Trusted FWU Boot Firmware BL2U */ 7648bfb88eSYatharth Kochar #define BL2U_IMAGE_ID 19 7748bfb88eSYatharth Kochar 7848bfb88eSYatharth Kochar /* Non-Trusted FWU Firmware NS_BL2U */ 7948bfb88eSYatharth Kochar #define NS_BL2U_IMAGE_ID 20 8048bfb88eSYatharth Kochar 81dff93c86SJuan Castillo #endif /* __TBBR_IMG_DEF_H__ */ 82