mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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>
This commit is contained in:

committed by
Alexander Graf

parent
fc225e6082
commit
bc4f9133ed
@ -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;
|
||||
|
Reference in New Issue
Block a user