From 73918efe1a720f8837760fd99b6402e39bb8daf9 Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Mon, 13 Aug 2012 14:30:40 +0800 Subject: bootm: do not load the initrd in the common code This need to be handled by the arch bootm as the address can be invalid and provided at arch level. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/bootm.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'commands/bootm.c') 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; } -- cgit v1.2.3