tools: mkimage: Add Allwinner eGON support
authorAndre Przywara <andre.przywara@arm.com>
Thu, 20 Dec 2018 01:15:18 +0000 (01:15 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 11 Jan 2021 23:19:33 +0000 (23:19 +0000)
commit6d295099cc96ed39cd2229dad376ab00baba9a5d
tree1f080b61c5cd25edfc132b2ca1938163d131c9cc
parent23c0ee83aa09c484df3d2c19a8550d31782fd42d
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>
common/image.c
include/image.h
include/sunxi_image.h
tools/Makefile
tools/sunxi_egon.c [new file with mode: 0644]