On Thu, Oct 24, 2019 at 08:21:37AM +0200, Ahmad Fatoum wrote: > We already determine the boot source variable at core init level, but so > far we didn't populate the instance because the numbering of the block > devices isn't known that early. Introduce a helper to check if a block > device is the boot source and if it is, have the block device driver > populate the missing boot source instance. > > Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> > --- > drivers/block/efi-block-io.c | 17 +++++++++++++---- > drivers/efi/efi-device.c | 8 +++++++- > include/efi/efi-device.h | 1 + > 3 files changed, 21 insertions(+), 5 deletions(-) Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox