From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Sun, 15 Jan 2012 08:45:49 +0100 Subject: [U-Boot] [PATCH] common, image: introduce new uimage types Message-ID: <1326613549-23724-1-git-send-email-hs@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de - ubootimage U-Boot image - splimage SPL image - dfenvimage Default Environment image - ublheader TI davinci UBL header image Signed-off-by: Heiko Schocher --- common/image.c | 6 +++++- include/image.h | 4 ++++ 2 files changed, 9 insertions(+), 1 deletions(-) diff --git a/common/image.c b/common/image.c index 202c8a1..aca1318 100644 --- a/common/image.c +++ b/common/image.c @@ -133,6 +133,7 @@ static const table_entry_t uimage_os[] = { static const table_entry_t uimage_type[] = { { IH_TYPE_AISIMAGE, "aisimage", "Davinci AIS image",}, + { IH_TYPE_DFENVIMAGE, "dfenvimage", "default Env image", }, { IH_TYPE_FILESYSTEM, "filesystem", "Filesystem Image", }, { IH_TYPE_FIRMWARE, "firmware", "Firmware", }, { IH_TYPE_FLATDT, "flat_dt", "Flat Device Tree", }, @@ -145,8 +146,11 @@ static const table_entry_t uimage_type[] = { { IH_TYPE_OMAPIMAGE, "omapimage", "TI OMAP SPL With GP CH",}, { IH_TYPE_RAMDISK, "ramdisk", "RAMDisk Image", }, { IH_TYPE_SCRIPT, "script", "Script", }, + { IH_TYPE_SPLIMAGE, "splimage", "SPL image", }, { IH_TYPE_STANDALONE, "standalone", "Standalone Program", }, - { IH_TYPE_UBLIMAGE, "ublimage", "Davinci UBL image",}, + { IH_TYPE_UBOOTIMAGE, "ubootimage", "U-Boot image", }, + { IH_TYPE_UBLHEADER, "ublheader", "UBL header image", }, + { IH_TYPE_UBLIMAGE, "ublimage", "Davinci UBL image", }, { -1, "", "", }, }; diff --git a/include/image.h b/include/image.h index bbf80f0..3b5bd51 100644 --- a/include/image.h +++ b/include/image.h @@ -164,6 +164,10 @@ #define IH_TYPE_OMAPIMAGE 12 /* TI OMAP Config Header Image */ #define IH_TYPE_AISIMAGE 13 /* TI Davinci AIS Image */ #define IH_TYPE_KERNEL_NOLOAD 14 /* OS Kernel Image, can run from any load address */ +#define IH_TYPE_UBOOTIMAGE 15 /* U-Boot image */ +#define IH_TYPE_SPLIMAGE 16 /* SPL image */ +#define IH_TYPE_DFENVIMAGE 17 /* default Environment Image */ +#define IH_TYPE_UBLHEADER 18 /* UBL Header image */ /* * Compression Types -- 1.7.7.4