At the moment "mkimage -T list" starts with two unknown entries, because
their IH_TYPE_ name is not listed in the uimage_type table.

Add those two entries to get an OCD-compatible image type listing.

Signed-off-by: Andre Przywara <andre.przyw...@arm.com>
---
 common/image.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/image.c b/common/image.c
index 0659133fcc..3ff713a521 100644
--- a/common/image.c
+++ b/common/image.c
@@ -140,7 +140,9 @@ static const table_entry_t uimage_type[] = {
        {       IH_TYPE_KWBIMAGE,   "kwbimage",   "Kirkwood Boot Image",},
        {       IH_TYPE_IMXIMAGE,   "imximage",   "Freescale i.MX Boot Image",},
        {       IH_TYPE_IMX8IMAGE,  "imx8image",  "NXP i.MX8 Boot Image",},
+       {       IH_TYPE_IMX8MIMAGE, "imx8mimage", "NXP i.MX8M Boot Image",},
        {       IH_TYPE_INVALID,    "invalid",    "Invalid Image",      },
+       {       IH_TYPE_LOADABLE,   "loadable",   "Typeless Image",     },
        {       IH_TYPE_MULTI,      "multi",      "Multi-File Image",   },
        {       IH_TYPE_OMAPIMAGE,  "omapimage",  "TI OMAP SPL With GP CH",},
        {       IH_TYPE_PBLIMAGE,   "pblimage",   "Freescale PBL Boot Image",},
-- 
2.14.5

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to