diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-06-24 04:59:27 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-06-24 04:59:27 +0000 |
commit | 07c8a6dab5024c74a00ab6b8e314bd6479f6b823 (patch) | |
tree | b0fe4fd4831b8116ed6a2a8f61f13d84719d883e /tools/mkimage | |
parent | 080f7b4b10ad7d2cc1aaabfe4da2cc49b7d9a81b (diff) | |
download | upstream-07c8a6dab5024c74a00ab6b8e314bd6479f6b823.tar.gz upstream-07c8a6dab5024c74a00ab6b8e314bd6479f6b823.tar.bz2 upstream-07c8a6dab5024c74a00ab6b8e314bd6479f6b823.zip |
add lzma compression format to mkimage (will be used on infineon amazon)
SVN-Revision: 7718
Diffstat (limited to 'tools/mkimage')
-rw-r--r-- | tools/mkimage/src/image.h | 1 | ||||
-rw-r--r-- | tools/mkimage/src/mkimage.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/mkimage/src/image.h b/tools/mkimage/src/image.h index 2f575fd2d7..cb62cde5b3 100644 --- a/tools/mkimage/src/image.h +++ b/tools/mkimage/src/image.h @@ -133,6 +133,7 @@ #define IH_COMP_NONE 0 /* No Compression Used */ #define IH_COMP_GZIP 1 /* gzip Compression Used */ #define IH_COMP_BZIP2 2 /* bzip2 Compression Used */ +#define IH_COMP_LZMA 3 /* lzma Compression Used */ #define IH_MAGIC 0x27051956 /* Image Magic Number */ #define IH_NMLEN 32 /* Image Name Length */ diff --git a/tools/mkimage/src/mkimage.c b/tools/mkimage/src/mkimage.c index f3796acf07..6ba400a47e 100644 --- a/tools/mkimage/src/mkimage.c +++ b/tools/mkimage/src/mkimage.c @@ -142,6 +142,7 @@ table_entry_t comp_name[] = { { IH_COMP_NONE, "none", "uncompressed", }, { IH_COMP_BZIP2, "bzip2", "bzip2 compressed", }, { IH_COMP_GZIP, "gzip", "gzip compressed", }, + { IH_COMP_LZMA, "lzma", "lzma compressed", }, { -1, "", "", }, }; |