aboutsummaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-09-17 13:47:30 +0200
committerLeo Yu-Chi Liang <ycliang@andestech.com>2023-09-20 21:05:14 +0800
commit64fd30d367a1d5e33dbcbc2d017ca0431242155c (patch)
treec8cfb0b271eda204e345b151574c87e4c1c801dc /boot
parent98d17450cd4b008310351616e8a1897544713ffe (diff)
downloadu-boot-64fd30d367a1d5e33dbcbc2d017ca0431242155c.zip
u-boot-64fd30d367a1d5e33dbcbc2d017ca0431242155c.tar.gz
u-boot-64fd30d367a1d5e33dbcbc2d017ca0431242155c.tar.bz2
tools: mkimage: Add StarFive SPL image support
The StarFive JH7110 base boards require a header to be prefixed to the SPL binary image. This has previously done with a vendor tool 'spl_tool' published under a GPL-2-or-later license. Integrate this capability into mkimage. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Tested-by: Chanho Park <chanho61.park@samsung.com> Tested-by: Milan P. Stanić <mps@arvanta.net>
Diffstat (limited to 'boot')
-rw-r--r--boot/image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/image.c b/boot/image.c
index 26f68d4..88b67bc 100644
--- a/boot/image.c
+++ b/boot/image.c
@@ -182,6 +182,7 @@ static const table_entry_t uimage_type[] = {
{ IH_TYPE_SUNXI_TOC0, "sunxi_toc0", "Allwinner TOC0 Boot Image" },
{ IH_TYPE_FDT_LEGACY, "fdt_legacy", "legacy Image with Flat Device Tree ", },
{ IH_TYPE_RENESAS_SPKG, "spkgimage", "Renesas SPKG Image" },
+ { IH_TYPE_STARFIVE_SPL, "sfspl", "StarFive SPL Image" },
{ -1, "", "", },
};