From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 16 Mar 2016 22:03:18 -0400 Subject: [U-Boot] [U-Boot, v5, 30/30] efi_loader: Pass proper device path in on boot In-Reply-To: <1457050214-117592-31-git-send-email-agraf@suse.de> References: <1457050214-117592-31-git-send-email-agraf@suse.de> Message-ID: <20160317020318.GL23166@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Mar 04, 2016 at 01:10:14AM +0100, Alexander Graf wrote: > EFI payloads can query for the device they were booted from. Because > we have a disconnect between loading binaries and running binaries, > we passed in a dummy device path so far. > > Unfortunately that breaks grub2's logic to find its configuration > file from the same device it was booted from. > > This patch adds logic to have the "load" command call into our efi > code to set the device path to the one we last loaded a binary from. > > With this grub2 properly detects where we got booted from and can > find its configuration file, even when searching by-partition. > > Signed-off-by: Alexander Graf Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: