diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-01-21 19:30:36 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-01-26 00:04:57 +0100 |
commit | 44431cabbb66e81a2d77642b6f7d39c6230ea4ba (patch) | |
tree | 21d0bf6f82d514cde39b19b375ca4d33a37234b7 /common/cmd_bootm.c | |
parent | 8edcde5e4e2e7f6bc7e277011fed71e64fd9d294 (diff) | |
download | u-boot-imx-44431cabbb66e81a2d77642b6f7d39c6230ea4ba.zip u-boot-imx-44431cabbb66e81a2d77642b6f7d39c6230ea4ba.tar.gz u-boot-imx-44431cabbb66e81a2d77642b6f7d39c6230ea4ba.tar.bz2 |
gzip/zlib: make features optional
If you really want to slim down U-Boot and you would rather use a higher
compression scheme (like LZMA), it'd be nice to disable gzip/zlib since
these code bases take up a significant amount of space.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/cmd_bootm.c')
-rw-r--r-- | common/cmd_bootm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index f28e88f..23ab0c4 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -352,6 +352,7 @@ static int bootm_load_os(image_info_t os, ulong *load_end, int boot_progress) *load_end = load + image_len; puts("OK\n"); break; +#ifdef CONFIG_GZIP case IH_COMP_GZIP: printf (" Uncompressing %s ... ", type_name); if (gunzip ((void *)load, unc_len, @@ -365,6 +366,7 @@ static int bootm_load_os(image_info_t os, ulong *load_end, int boot_progress) *load_end = load + image_len; break; +#endif /* CONFIG_GZIP */ #ifdef CONFIG_BZIP2 case IH_COMP_BZIP2: printf (" Uncompressing %s ... ", type_name); |