plat_tbbr_img_def.h 1016 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Copyright (c) 2022, STMicroelectronics - All Rights Reserved
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. *
  6. */
  7. #ifndef STM32MP1_IMG_DEF_H
  8. #define STM32MP1_IMG_DEF_H
  9. #include <export/common/tbbr/tbbr_img_def_exp.h>
  10. /* Undef the existing values */
  11. #undef BL32_EXTRA1_IMAGE_ID
  12. #undef BL32_EXTRA2_IMAGE_ID
  13. #undef TOS_FW_CONFIG_ID
  14. #undef TRUSTED_BOOT_FW_CERT_ID
  15. #undef FWU_METADATA_IMAGE_ID
  16. #undef BKUP_FWU_METADATA_IMAGE_ID
  17. #undef FW_CONFIG_ID
  18. #undef HW_CONFIG_ID
  19. #undef GPT_IMAGE_ID
  20. #undef ENC_IMAGE_ID
  21. /* Define the STM32MP1 used ID */
  22. #define FW_CONFIG_ID U(1)
  23. #define HW_CONFIG_ID U(2)
  24. #define GPT_IMAGE_ID U(3)
  25. #define ENC_IMAGE_ID U(6)
  26. #define BL32_EXTRA1_IMAGE_ID U(8)
  27. #define BL32_EXTRA2_IMAGE_ID U(9)
  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 STM32MP_CONFIG_CERT_ID U(17)
  32. /* Increase the MAX_NUMBER_IDS to match the authentication pool required */
  33. #define MAX_NUMBER_IDS U(19)
  34. #endif /* STM32MP1_IMG_DEF_H */