diff options
author | Andre Przywara <andre.przywara@arm.com> | 2018-12-20 04:15:18 +0300 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2021-01-12 02:19:33 +0300 |
commit | 6d295099cc96ed39cd2229dad376ab00baba9a5d (patch) | |
tree | 1f080b61c5cd25edfc132b2ca1938163d131c9cc /common/image.c | |
parent | 23c0ee83aa09c484df3d2c19a8550d31782fd42d (diff) | |
download | u-boot-6d295099cc96ed39cd2229dad376ab00baba9a5d.tar.xz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/image.c b/common/image.c index 451fc689a8..6923dac7c0 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, "", "", }, }; |