9
0
Fork 0

Don't honor initrd load address

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 <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2013-05-02 11:07:12 +02:00
parent ce9163ae34
commit 88a012b9e1
1 changed files with 0 additions and 3 deletions

View File

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