From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iP3M0-0000cL-3x for barebox@lists.infradead.org; Mon, 28 Oct 2019 11:38:33 +0000 Date: Mon, 28 Oct 2019 12:38:30 +0100 From: Sascha Hauer Message-ID: <20191028113830.w364h2pqirgu3zzq@pengutronix.de> References: <20191024062137.2135-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191024062137.2135-1-a.fatoum@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] efi: populate boot source instance To: Ahmad Fatoum Cc: barebox@lists.infradead.org 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 > --- > 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@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox