aboutsummaryrefslogtreecommitdiffstats
path: root/include/image.h
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2022-11-23 12:55:33 +0100
committerTom Rini <trini@konsulko.com>2022-12-08 09:29:02 -0500
commit28f924f2650ed2229fd712620c36a41dc0610fcb (patch)
treef8981b94d7d7026324a8e8032644d656e0008699 /include/image.h
parent72c3f5dbd9545259a7eb04a7d21dff9b318de77e (diff)
downloadu-boot-28f924f2650ed2229fd712620c36a41dc0610fcb.tar.gz
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 'include/image.h')
-rw-r--r--include/image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h
index 6f21dafba8c..b6a809834ad 100644
--- a/include/image.h
+++ b/include/image.h
@@ -229,6 +229,7 @@ enum image_type_t {
IH_TYPE_COPRO, /* Coprocessor Image for remoteproc*/
IH_TYPE_SUNXI_EGON, /* Allwinner eGON Boot Image */
IH_TYPE_SUNXI_TOC0, /* Allwinner TOC0 Boot Image */
+ IH_TYPE_FDT_LEGACY, /* Binary Flat Device Tree Blob in a Legacy Image */
IH_TYPE_COUNT, /* Number of image types */
};