]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi: Locate all block devices in the app
authorSimon Glass <sjg@chromium.org>
Wed, 29 Dec 2021 18:57:36 +0000 (11:57 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 31 Dec 2021 05:45:01 +0000 (06:45 +0100)
commit613cd0c46796cae340382679bc01ef220daf3768
tree72545484708a19d77730c276790ec5fae54df85d
parent726cd9836db0d698f1f409e9522828e985c912e2
efi: Locate all block devices in the app

When starting the app, locate all block devices and make them available
to U-Boot. This allows listing partitions and accessing files in
filesystems.

EFI also has the concept of 'disks', meaning boot media. For now, this
is not obviously useful in U-Boot, but add code to at least locate these.
This can be expanded later as needed.

We cannot use printf() in the early stub or app since it is not compiled
in

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
doc/develop/uefi/u-boot_on_efi.rst
include/efi.h
include/efi_api.h
lib/efi/efi_app.c