summaryrefslogtreecommitdiff
path: root/include/sunxi_image.h
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2018-12-20 04:15:18 +0300
committerAndre Przywara <andre.przywara@arm.com>2021-01-12 02:19:33 +0300
commit6d295099cc96ed39cd2229dad376ab00baba9a5d (patch)
tree1f080b61c5cd25edfc132b2ca1938163d131c9cc /include/sunxi_image.h
parent23c0ee83aa09c484df3d2c19a8550d31782fd42d (diff)
downloadu-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 'include/sunxi_image.h')
-rw-r--r--include/sunxi_image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sunxi_image.h b/include/sunxi_image.h
index d0d1290eb7..5b2055c0af 100644
--- a/include/sunxi_image.h
+++ b/include/sunxi_image.h
@@ -13,6 +13,7 @@
#define SUNXI_IMAGE_H
#define BOOT0_MAGIC "eGON.BT0"
+#define BROM_STAMP_VALUE 0x5f0a6c39
#define SPL_SIGNATURE "SPL" /* marks "sunxi" SPL header */
#define SPL_MAJOR_BITS 3
#define SPL_MINOR_BITS 5