diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-11-29 21:13:55 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-11-29 21:13:55 +0100 |
commit | 27169b62f66d9dff1ce4c83ac124c2ff39f20b23 (patch) | |
tree | d3ef738386fc56369402af9adfaf7566d8a4bb9b /commands | |
parent | ad4537ba92ef49c4ed0590a52e5f0033efb7e225 (diff) | |
download | barebox-27169b62f66d9dff1ce4c83ac124c2ff39f20b23.tar.gz barebox-27169b62f66d9dff1ce4c83ac124c2ff39f20b23.tar.xz |
bootm: remove dead code
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r-- | commands/bootm.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/commands/bootm.c b/commands/bootm.c index 3bef6e78a3..859ec28a26 100644 --- a/commands/bootm.c +++ b/commands/bootm.c @@ -44,10 +44,6 @@ #include <uncompress.h> #include <asm-generic/memory_layout.h> -#ifndef CFG_BOOTM_LEN -#define CFG_BOOTM_LEN 0x800000 /* use 8MByte as default max gunzip size */ -#endif - struct image_handle_data* image_handle_data_get_by_num(struct image_handle* handle, int num) { if (!handle || num < 0 || num >= handle->nb_data_entries) @@ -64,10 +60,6 @@ int relocate_image(struct image_handle *handle, void *load_address) void *data; int ret; -#if defined CONFIG_CMD_BOOTM_ZLIB || defined CONFIG_CMD_BOOTM_BZLIB - uint unc_len = BOOTM_LEN; -#endif - iha = image_handle_data_get_by_num(handle, 0); data = iha->data; |