summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-10-07 08:33:16 +0200
committerWolfgang Denk <wd@denx.de>2011-10-09 23:24:47 +0200
commite42624bbe063c1f5da57b0a71ee67468bc2b4c68 (patch)
tree14f815ec02d61b730b2ee92d86f94e9436d9defe
parent49a23e4a414ef9cfb92b1de193d7fa700fb55bf1 (diff)
downloadu-boot-imx-e42624bbe063c1f5da57b0a71ee67468bc2b4c68.zip
u-boot-imx-e42624bbe063c1f5da57b0a71ee67468bc2b4c68.tar.gz
u-boot-imx-e42624bbe063c1f5da57b0a71ee67468bc2b4c68.tar.bz2
common/image.c: remove duplicated IH_TYPE entries.
Also rearrange IH_TYPE table slightly. Signed-off-by: Wolfgang Denk <wd@denx.de>
-rw-r--r--common/image.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/common/image.c b/common/image.c
index d38ce4a..ed6b26b 100644
--- a/common/image.c
+++ b/common/image.c
@@ -133,19 +133,16 @@ static const table_entry_t uimage_type[] = {
{ IH_TYPE_FILESYSTEM, "filesystem", "Filesystem Image", },
{ IH_TYPE_FIRMWARE, "firmware", "Firmware", },
{ IH_TYPE_FLATDT, "flat_dt", "Flat Device Tree", },
- { IH_TYPE_INVALID, NULL, "Invalid Image", },
- { IH_TYPE_IMXIMAGE, "imximage", "Freescale i.MX Boot Image",},
{ IH_TYPE_KERNEL, "kernel", "Kernel Image", },
- { IH_TYPE_KWBIMAGE, "kwbimage", "Kirkwood Boot Image",},
{ IH_TYPE_MULTI, "multi", "Multi-File Image", },
- { IH_TYPE_OMAPIMAGE, "omapimage", "TI OMAP SPL With GP CH",},
{ IH_TYPE_RAMDISK, "ramdisk", "RAMDisk Image", },
{ IH_TYPE_SCRIPT, "script", "Script", },
{ IH_TYPE_STANDALONE, "standalone", "Standalone Program", },
- { IH_TYPE_FLATDT, "flat_dt", "Flat Device Tree", },
- { IH_TYPE_KWBIMAGE, "kwbimage", "Kirkwood Boot Image",},
{ IH_TYPE_IMXIMAGE, "imximage", "Freescale i.MX Boot Image",},
+ { IH_TYPE_KWBIMAGE, "kwbimage", "Kirkwood Boot Image",},
+ { IH_TYPE_OMAPIMAGE, "omapimage", "TI OMAP SPL With GP CH",},
{ IH_TYPE_UBLIMAGE, "ublimage", "Davinci UBL image",},
+ { IH_TYPE_INVALID, NULL, "Invalid Image", },
{ -1, "", "", },
};