aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-03-03 15:29:03 +0100
committerAlexander Graf <agraf@suse.de>2018-04-04 11:00:06 +0200
commitbc4f9133edb4baf5f68689a03137bb2c336e2026 (patch)
tree53c7af9775ee69c14fc2cf69ecc37a545af23464 /lib
parentfc225e60822e3fd18a56b546eb683d6818d3f9c4 (diff)
downloadu-boot-bc4f9133edb4baf5f68689a03137bb2c336e2026.zip
u-boot-bc4f9133edb4baf5f68689a03137bb2c336e2026.tar.gz
u-boot-bc4f9133edb4baf5f68689a03137bb2c336e2026.tar.bz2
efi_loader: support device tree for bootefi selftest
The second argument of the bootefi command should always be usable to specify a device tree. This was missing for bootefi selftest and bootefi hello. Proper error handling is added. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_boottime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
index 4e133e9..3cee8d6 100644
--- a/lib/efi_loader/efi_boottime.c
+++ b/lib/efi_loader/efi_boottime.c
@@ -56,6 +56,8 @@ static volatile void *efi_gd, *app_gd;
static int entry_count;
static int nesting_level;
+/* GUID of the device tree table */
+const efi_guid_t efi_guid_fdt = EFI_FDT_GUID;
/* GUID of the EFI_DRIVER_BINDING_PROTOCOL */
const efi_guid_t efi_guid_driver_binding_protocol =
EFI_DRIVER_BINDING_PROTOCOL_GUID;