diff options
-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 3c47ab5d9e..5f858e8a10 100644 --- a/commands/bootm.c +++ b/commands/bootm.c @@ -126,14 +126,6 @@ static int bootm_open_initrd_uimage(struct image_data *data) if (data->initrd_address == UIMAGE_SOME_ADDRESS) data->initrd_address = data->initrd->header.ih_load; - if (data->initrd_address != UIMAGE_INVALID_ADDRESS) { - data->initrd_res = uimage_load_to_sdram(data->initrd, - data->initrd_num, - data->initrd_address); - if (!data->initrd_res) - return -ENOMEM; - } - return 0; } |