aboutsummaryrefslogtreecommitdiff
path: root/common/image.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2018-12-20 01:15:18 +0000
committerAndre Przywara <andre.przywara@arm.com>2021-01-11 23:19:33 +0000
commit6d295099cc96ed39cd2229dad376ab00baba9a5d (patch)
tree1f080b61c5cd25edfc132b2ca1938163d131c9cc /common/image.c
parent23c0ee83aa09c484df3d2c19a8550d31782fd42d (diff)
downloadu-boot-6d295099cc96ed39cd2229dad376ab00baba9a5d.zip
u-boot-6d295099cc96ed39cd2229dad376ab00baba9a5d.tar.gz
u-boot-6d295099cc96ed39cd2229dad376ab00baba9a5d.tar.bz2
tools: mkimage: Add Allwinner eGON support
So far we used the separate mksunxiboot tool for generating a bootable image for Allwinner SPLs, probably just for historical reasons. Use the mkimage framework to generate a so called eGON image the Allwinner BROM expects. The new image type is called "sunxi_egon", to differentiate it from the (still to be implemented) secure boot TOC0 image. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Simon Glass <sjg@chromium.org>
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 451fc68..6923dac 100644
--- a/common/image.c
+++ b/common/image.c
@@ -189,6 +189,7 @@ static const table_entry_t uimage_type[] = {
{ IH_TYPE_STM32IMAGE, "stm32image", "STMicroelectronics STM32 Image" },
{ IH_TYPE_MTKIMAGE, "mtk_image", "MediaTek BootROM loadable Image" },
{ IH_TYPE_COPRO, "copro", "Coprocessor Image"},
+ { IH_TYPE_SUNXI_EGON, "sunxi_egon", "Allwinner eGON Boot Image" },
{ -1, "", "", },
};