[U-Boot] [PATCH 1/3] tools: mkimage: Add missing names for imx8mimage and loadables

Andre Przywara andre.przywara at arm.com
Sat Dec 22 01:34:20 UTC 2018


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.przywara at 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



More information about the U-Boot mailing list