Add an image type for logo images, which U-Boot supports reading within
the PXE code.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 boot/image.c    | 1 +
 include/image.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/boot/image.c b/boot/image.c
index b13644b03dc..eaba9eb4332 100644
--- a/boot/image.c
+++ b/boot/image.c
@@ -185,6 +185,7 @@ static const table_entry_t uimage_type[] = {
        {       IH_TYPE_STARFIVE_SPL, "sfspl", "StarFive SPL Image" },
        {       IH_TYPE_EXTLINUX_CFG, "extlinux_cfg", "Extlinux configuration" 
},
        {       IH_TYPE_EFI, "efi", "EFI applicaiton" },
+       {       IH_TYPE_LOGO, "logo", "Logo image" },
        {       -1,                 "",           "",                   },
 };
 
diff --git a/include/image.h b/include/image.h
index a04925aa829..0d1adee499b 100644
--- a/include/image.h
+++ b/include/image.h
@@ -234,6 +234,7 @@ enum image_type_t {
        IH_TYPE_STARFIVE_SPL,           /* StarFive SPL image */
        IH_TYPE_EXTLINUX_CFG,           /* extlinux configuration-file */
        IH_TYPE_EFI,                    /* EFI PE image */
+       IH_TYPE_LOGO,                   /* Image / logo */
 
        IH_TYPE_COUNT,                  /* Number of image types */
 };
-- 
2.34.1

Reply via email to