9
0
Fork 0

bootm: remove dead code

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2011-11-29 21:13:55 +01:00
parent ad4537ba92
commit 27169b62f6
1 changed files with 0 additions and 8 deletions

View File

@ -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;