diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-12-26 15:28:09 +0300 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-02-16 17:42:20 +0300 |
commit | f69d63fae281ba98c3d063097cf4e95d17f3754d (patch) | |
tree | 5788ca3b88e41bfc754a5a8b7102903d4c00bd99 /lib | |
parent | 8f7e2b2980a2d964db60a19a5d2ef8532caddf7d (diff) | |
download | u-boot-f69d63fae281ba98c3d063097cf4e95d17f3754d.tar.xz |
efi_loader: use efi_start_image() for bootefi
Remove the duplicate code in efi_do_enter() and use efi_start_image() to
start the image invoked by the bootefi command.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/efi_loader/efi_boottime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 155cdc5a23..45ed36755f 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -1772,9 +1772,9 @@ error: * * Return: status code */ -static efi_status_t EFIAPI efi_start_image(efi_handle_t image_handle, - efi_uintn_t *exit_data_size, - u16 **exit_data) +efi_status_t EFIAPI efi_start_image(efi_handle_t image_handle, + efi_uintn_t *exit_data_size, + u16 **exit_data) { struct efi_loaded_image_obj *image_obj = (struct efi_loaded_image_obj *)image_handle; |