plat_tbbr_img_def.h 1.4 KB

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