summaryrefslogtreecommitdiff
path: root/cmd/irq.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-03-09 23:26:15 (GMT)
committerTom Rini <trini@konsulko.com>2016-03-16 01:30:11 (GMT)
commit74522c898b35e641cde9ea6a20625a3d80e56e53 (patch)
treed127a195ea4b643aedf57c9afedafff2bf0d47fc /cmd/irq.c
parented980b8c62fbe17052ec6151a68b5b0be3809485 (diff)
downloadu-boot-74522c898b35e641cde9ea6a20625a3d80e56e53.tar.xz
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 'cmd/irq.c')
0 files changed, 0 insertions, 0 deletions