Commit 6fe8b195 authored by Yann Gautier's avatar Yann Gautier
Browse files

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: default avatarYann Gautier <yann.gautier@st.com>
parent 8e2e5e8b
...@@ -77,7 +77,13 @@ ...@@ -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 { ...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment