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:
parent
ce9163ae34
commit
88a012b9e1
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue