diff options
author | Yann Gautier <yann.gautier@st.com> | 2018-10-15 09:36:21 +0200 |
---|---|---|
committer | Yann Gautier <yann.gautier@st.com> | 2018-10-15 09:36:21 +0200 |
commit | 6fe8b195fade423dd0ffca656c7af79a40c81440 (patch) | |
tree | baf1762790b21d25ac9bb52587fb1e7eb6654b7f /include/common | |
parent | 8e2e5e8b182abfc2034a4730804b870f0cc2d7f9 (diff) |
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>
Diffstat (limited to 'include/common')
-rw-r--r-- | include/common/tbbr/tbbr_img_def.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/common/tbbr/tbbr_img_def.h b/include/common/tbbr/tbbr_img_def.h index a97914de..96bfb534 100644 --- a/include/common/tbbr/tbbr_img_def.h +++ b/include/common/tbbr/tbbr_img_def.h @@ -77,7 +77,13 @@ /* NT_FW_CONFIG */ #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 MAX_NUMBER_IDS U(28) +#define MAX_NUMBER_IDS U(30) #endif /* __TBBR_IMG_DEF_H__ */ |