summaryrefslogtreecommitdiff
path: root/boot/image.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2022-11-23 14:55:33 +0300
committerTom Rini <trini@konsulko.com>2022-12-08 17:29:02 +0300
commit28f924f2650ed2229fd712620c36a41dc0610fcb (patch)
treef8981b94d7d7026324a8e8032644d656e0008699 /boot/image.c
parent72c3f5dbd9545259a7eb04a7d21dff9b318de77e (diff)
downloadu-boot-28f924f2650ed2229fd712620c36a41dc0610fcb.tar.xz
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/image.c')
-rw-r--r--boot/image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/image.c b/boot/image.c
index b33d1dfc6b..958dbf8534 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, "", "", },
};