summaryrefslogtreecommitdiff
path: root/boot/bootdev-uclass.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-04-24 13:49:46 +1200
committerTom Rini <trini@konsulko.com>2023-04-26 08:43:04 -0400
commitd80bb4f958b01b6e1a3e904fe8e5e40584113938 (patch)
tree391735767197aeb4b57351a852cf6445fc01364c /boot/bootdev-uclass.c
parent27ff7806c1d7d1e98cc6ec1d295595786e13b4b4 (diff)
bootstd: Support booting EFI where multiple options exist
The current EFI implementation has a strange quirk where it watches loaded files and uses the last-loaded file to determine the device that is being booted from. This is confusing with bootstd, where multiple options may exist. Even loading a device tree will cause it to go wrong. There is no API for passing this information, since the only entry into booting an EFI image is the 'bootefi' command. To work around this, call efi_set_bootdev() for EFI images, if possible, just before booting. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/bootdev-uclass.c')
0 files changed, 0 insertions, 0 deletions