[U-Boot] New item at list end for backwards compatibility

Marek Vasut marek.vasut at gmail.com
Wed Dec 5 14:52:20 UTC 2018


From: Robert Berger <robert.berger at ReliableEmbeddedSystems.com>

Signed-off-by: Robert Berger <robert.berger at ReliableEmbeddedSystems.com>

I received this off-list from Robert, it's a bugfix to mkimage, where
the IH_TYPE_ enumeration changed recently and broke backward mkimage
backward compatibility.

Peng, can you respin the patch, test it and repost it ? Thanks

---
diff --git a/include/image.h b/include/image.h
index 031c355..866e9f1 100644
--- a/include/image.h
+++ b/include/image.h
@@ -251,7 +251,6 @@ enum {
        IH_TYPE_FLATDT,                 /* Binary Flat Device Tree Blob */
        IH_TYPE_KWBIMAGE,               /* Kirkwood Boot Image          */
        IH_TYPE_IMXIMAGE,               /* Freescale IMXBoot Image      */
-       IH_TYPE_IMX8IMAGE,              /* Freescale IMX8Boot Image     */
        IH_TYPE_UBLIMAGE,               /* Davinci UBL Image            */
        IH_TYPE_OMAPIMAGE,              /* TI OMAP Config Header Image  */
        IH_TYPE_AISIMAGE,               /* TI Davinci AIS Image         */
@@ -278,6 +277,7 @@ enum {
        IH_TYPE_PMMC,            /* TI Power Management Micro-Controller
Firmware */
        IH_TYPE_STM32IMAGE,             /* STMicroelectronics STM32 Image */
        IH_TYPE_SOCFPGAIMAGE_V1,        /* Altera SOCFPGA A10 Preloader */
+       IH_TYPE_IMX8IMAGE,              /* Freescale IMX8Boot Image     */

        IH_TYPE_COUNT,                  /* Number of image types */
 };
-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list