u-boot/lib/efi_loader
Alexander Graf 0f4060ebcb efi_loader: Pass proper device path in on boot
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 <agraf@suse.de>
2016-03-15 21:30:14 -04:00
..
efi_boottime.c efi_loader: Add runtime services 2016-03-15 18:03:10 -04:00
efi_console.c efi_loader: Add console interface 2016-03-15 18:03:09 -04:00
efi_disk.c efi_loader: Pass proper device path in on boot 2016-03-15 21:30:14 -04:00
efi_image_loader.c efi_loader: Add PE image loader 2016-03-15 15:19:23 -04:00
efi_memory.c efi_loader: Implement memory allocation and map 2016-03-15 21:30:10 -04:00
efi_runtime.c efi_loader: Add runtime services 2016-03-15 18:03:10 -04:00
Kconfig efi_loader: hook up in build environment 2016-03-15 21:30:11 -04:00
Makefile efi_loader: hook up in build environment 2016-03-15 21:30:11 -04:00