Add new defines for STM32MP1 platform
To boot on eMMC or SD-cards, STM32MP1 platform needs: - GPT_IMAGE_ID to read GPT table on those devices - STM32_IMAGE_ID and IO_TYPE_STM32IMAGE to read images with STM32 header - IO_TYPE_MMC to have a IO for MMC devices Signed-off-by: Yann Gautier <yann.gautier@st.com>
This commit is contained in:
parent
8e2e5e8b18
commit
6fe8b195fa
|
@ -77,7 +77,13 @@
|
||||||
/* NT_FW_CONFIG */
|
/* NT_FW_CONFIG */
|
||||||
#define NT_FW_CONFIG_ID U(27)
|
#define NT_FW_CONFIG_ID U(27)
|
||||||
|
|
||||||
|
/* GPT Partition */
|
||||||
|
#define GPT_IMAGE_ID U(28)
|
||||||
|
|
||||||
|
/* Binary with STM32 header */
|
||||||
|
#define STM32_IMAGE_ID U(29)
|
||||||
|
|
||||||
/* Define size of the array */
|
/* Define size of the array */
|
||||||
#define MAX_NUMBER_IDS U(28)
|
#define MAX_NUMBER_IDS U(30)
|
||||||
|
|
||||||
#endif /* __TBBR_IMG_DEF_H__ */
|
#endif /* __TBBR_IMG_DEF_H__ */
|
||||||
|
|
|
@ -22,6 +22,8 @@ typedef enum {
|
||||||
IO_TYPE_DUMMY,
|
IO_TYPE_DUMMY,
|
||||||
IO_TYPE_FIRMWARE_IMAGE_PACKAGE,
|
IO_TYPE_FIRMWARE_IMAGE_PACKAGE,
|
||||||
IO_TYPE_BLOCK,
|
IO_TYPE_BLOCK,
|
||||||
|
IO_TYPE_MMC,
|
||||||
|
IO_TYPE_STM32IMAGE,
|
||||||
IO_TYPE_MAX
|
IO_TYPE_MAX
|
||||||
} io_type_t;
|
} io_type_t;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue