diff options
author | Alexander Graf <agraf@suse.de> | 2016-03-10 00:26:15 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-15 21:30:11 -0400 |
commit | 74522c898b35e641cde9ea6a20625a3d80e56e53 (patch) | |
tree | d127a195ea4b643aedf57c9afedafff2bf0d47fc /common | |
parent | ed980b8c62fbe17052ec6151a68b5b0be3809485 (diff) | |
download | u-boot-imx-74522c898b35e641cde9ea6a20625a3d80e56e53.zip u-boot-imx-74522c898b35e641cde9ea6a20625a3d80e56e53.tar.gz u-boot-imx-74522c898b35e641cde9ea6a20625a3d80e56e53.tar.bz2 |
efi_loader: Add distro boot script for removable media
UEFI defines a simple boot protocol for removable media. There we should look
at the EFI (first GPT FAT) partition and search for /efi/boot/bootXXX.efi with
XXX being different between different platforms (x86, x64, arm, aa64, ...).
This patch implements a simple version of that protocol for the default distro
boot script. With this we can automatically boot from valid UEFI enabled
removable media.
Because from all I could see U-Boot by default doesn't deliver device tree
blobs with its firmware, we also need to load the dtb from somewhere. Traverse
the same EFI partition for an fdt file that fits our current board so that
an OS receives a valid device tree when booted automatically.
Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions