From 88a012b9e14680149c0c970193e082fb5cf90157 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 2 May 2013 11:07:12 +0200 Subject: [PATCH] Don't honor initrd load address MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit U-Boot doesn't honor the load address specified in an initrd. Barebox shouldn't be more strict here. This unbreaks booting an uInitrd generated by Debian's flash-kernel that uses 0 as entry address where there is nothing on the i.MX53 that was used. Signed-off-by: Uwe Kleine-König Signed-off-by: Sascha Hauer --- commands/bootm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/commands/bootm.c b/commands/bootm.c index bb44776af..5dd170353 100644 --- a/commands/bootm.c +++ b/commands/bootm.c @@ -127,9 +127,6 @@ static int bootm_open_initrd_uimage(struct image_data *data) data->initrd = data->os; } - if (data->initrd_address == UIMAGE_INVALID_ADDRESS) - data->initrd_address = data->initrd->header.ih_load; - return 0; }