aboutsummaryrefslogtreecommitdiff
path: root/common/image.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2018-03-12 10:46:04 +0100
committerTom Rini <trini@konsulko.com>2018-03-19 16:14:19 -0400
commit81260e3331d52e08c3f4709043c931a3fdd62095 (patch)
tree5f9423e22732a36d544d4be5b1c19e51d81891f0 /common/image.c
parentdbc34323796bfc37116a7a28e93bcc5bea5fb136 (diff)
downloadu-boot-81260e3331d52e08c3f4709043c931a3fdd62095.zip
u-boot-81260e3331d52e08c3f4709043c931a3fdd62095.tar.gz
u-boot-81260e3331d52e08c3f4709043c931a3fdd62095.tar.bz2
tools/mkimage: add support for STM32 image format
STM32MP157 bootrom needs a specific header for first boot stage. This patch adds support of this header in mkimage. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'common/image.c')
-rw-r--r--common/image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/image.c b/common/image.c
index 14be3ca..9e850c0 100644
--- a/common/image.c
+++ b/common/image.c
@@ -161,6 +161,7 @@ static const table_entry_t uimage_type[] = {
{ IH_TYPE_TEE, "tee", "Trusted Execution Environment Image",},
{ IH_TYPE_FIRMWARE_IVT, "firmware_ivt", "Firmware with HABv4 IVT" },
{ IH_TYPE_PMMC, "pmmc", "TI Power Management Micro-Controller Firmware",},
+ { IH_TYPE_STM32IMAGE, "stm32image", "STMicroelectronics STM32 Image" },
{ -1, "", "", },
};