aboutsummaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorMarc Kleine-Budde2022-11-23 12:55:33 +0100
committerTom Rini2022-12-08 09:29:02 -0500
commit28f924f2650ed2229fd712620c36a41dc0610fcb (patch)
treef8981b94d7d7026324a8e8032644d656e0008699 /boot
parent72c3f5dbd9545259a7eb04a7d21dff9b318de77e (diff)
tools: mkimage: add new image type "fdt_legacy"
If the user select the image type "flat_dt" a FIT image will be build. This breaks the legacy use case of putting a Flat Device Tree into a legacy u-boot image. Add a new image type "fdt_legacy" to build a legacy u-boot image with a "flat_dt" type. Link: https://lore.kernel.org/all/20221028155205.ojw6tcso2fofgnhm@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Reviewed-by: Sean Anderson <seanga2@gmail.com>
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 b33d1dfc6b3..958dbf85347 100644
--- a/boot/image.c
+++ b/boot/image.c
@@ -180,6 +180,7 @@ static const table_entry_t uimage_type[] = {
{ IH_TYPE_COPRO, "copro", "Coprocessor Image"},
{ IH_TYPE_SUNXI_EGON, "sunxi_egon", "Allwinner eGON Boot Image" },
{ IH_TYPE_SUNXI_TOC0, "sunxi_toc0", "Allwinner TOC0 Boot Image" },
+ { IH_TYPE_FDT_LEGACY, "fdt_legacy", "legacy Image with Flat Device Tree ", },
{ -1, "", "", },
};