sunxi: Support building a SPL as a TOC0 image
authorSamuel Holland <samuel@sholland.org>
Fri, 18 Mar 2022 05:00:45 +0000 (00:00 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 4 Apr 2022 22:24:17 +0000 (23:24 +0100)
commita0ca51f70b7559733c65cef1069f1b39aa410a0f
treef1f41b01fc2261eac77a63be61ed5cf628d1c0e9
parent44de13d9459afedd85334d7ba83c13451af0977d
sunxi: Support building a SPL as a TOC0 image

Now that mkimage can generate TOC0 images, and the SPL can interpret
them, hook up the build infrastructure so the user can choose which
image type to build. Since the absolute load address is stored in the
TOC0 header, that information must be passed to mkimage.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/mach-sunxi/Kconfig
board/sunxi/Kconfig [new file with mode: 0644]
scripts/Makefile.spl