summaryrefslogtreecommitdiff
path: root/common/image.c
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2011-10-17 00:07:43 +0000
committerWolfgang Denk <wd@denx.de>2011-10-23 23:34:21 +0200
commit4962e38e9a4a053792722918bb11c5408549aebd (patch)
treee6efc3d47eb55a231415d70597321173c6f13ef8 /common/image.c
parentdaaaf0285d55745248762fe2b4ea51ab4f3712d9 (diff)
downloadu-boot-imx-4962e38e9a4a053792722918bb11c5408549aebd.zip
u-boot-imx-4962e38e9a4a053792722918bb11c5408549aebd.tar.gz
u-boot-imx-4962e38e9a4a053792722918bb11c5408549aebd.tar.bz2
mkimage: adding support for Davinci AIS image
Some Davinci processors supports the Application Image Script (AIS) boot process. The patch adds the generation of the AIS image inside the mkimage tool to make possible to generate a bootable U-boot without external tools (TI Davinci AIS Generator). Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common/image.c')
-rw-r--r--common/image.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/common/image.c b/common/image.c
index 13b4a68..555d9d9 100644
--- a/common/image.c
+++ b/common/image.c
@@ -131,19 +131,20 @@ static const table_entry_t uimage_os[] = {
};
static const table_entry_t uimage_type[] = {
+ { IH_TYPE_AISIMAGE, "aisimage", "Davinci AIS image",},
{ IH_TYPE_FILESYSTEM, "filesystem", "Filesystem Image", },
{ IH_TYPE_FIRMWARE, "firmware", "Firmware", },
{ IH_TYPE_FLATDT, "flat_dt", "Flat Device Tree", },
{ IH_TYPE_KERNEL, "kernel", "Kernel Image", },
+ { IH_TYPE_KWBIMAGE, "kwbimage", "Kirkwood Boot Image",},
+ { IH_TYPE_IMXIMAGE, "imximage", "Freescale i.MX Boot Image",},
+ { IH_TYPE_INVALID, NULL, "Invalid 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_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, "", "", },
};