1 /* 2 * Copyright (c) 2024, STMicroelectronics - All Rights Reserved 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef PLAT_TBBR_IMG_DEF_H 8 #define PLAT_TBBR_IMG_DEF_H 9 10 #include <export/common/tbbr/tbbr_img_def_exp.h> 11 12 /* Undef the existing values */ 13 #undef BKUP_FWU_METADATA_IMAGE_ID 14 #undef FWU_METADATA_IMAGE_ID 15 #undef FW_CONFIG_ID 16 #undef ENC_IMAGE_ID 17 #undef GPT_IMAGE_ID 18 #undef NT_FW_CONFIG_ID 19 #undef SOC_FW_CONFIG_ID 20 #undef TB_FW_CONFIG_ID 21 #undef HW_CONFIG_ID 22 #undef TRUSTED_BOOT_FW_CERT_ID 23 #undef SOC_FW_CONTENT_CERT_ID 24 #undef BL32_EXTRA1_IMAGE_ID 25 #undef TOS_FW_CONFIG_ID 26 27 /* Define the STM32MP2 used ID */ 28 #define FW_CONFIG_ID U(1) 29 #define HW_CONFIG_ID U(2) 30 #define ENC_IMAGE_ID U(6) 31 #define BL32_EXTRA1_IMAGE_ID U(8) 32 #define FWU_METADATA_IMAGE_ID U(12) 33 #define BKUP_FWU_METADATA_IMAGE_ID U(13) 34 #define TOS_FW_CONFIG_ID U(16) 35 #define NT_FW_CONFIG_ID U(18) 36 #define SOC_FW_CONFIG_ID U(19) 37 #define TB_FW_CONFIG_ID U(20) 38 #define TRUSTED_BOOT_FW_CERT_ID U(21) 39 #define SOC_FW_CONTENT_CERT_ID U(23) 40 #define STM32MP_CONFIG_CERT_ID U(24) 41 #define GPT_IMAGE_ID U(25) 42 43 #if STM32MP_DDR_FIP_IO_STORAGE 44 #define DDR_FW_ID U(26) 45 /* Increase the MAX_NUMBER_IDS to match the authentication pool required */ 46 #define MAX_NUMBER_IDS U(27) 47 48 #else 49 /* Increase the MAX_NUMBER_IDS to match the authentication pool required */ 50 #define MAX_NUMBER_IDS U(26) 51 52 #endif 53 54 #endif /* PLAT_TBBR_IMG_DEF_H */ 55 56