mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
8f7e2b2980
commit
f69d63fae2
3 changed files with 8 additions and 24 deletions
|
@ -320,6 +320,10 @@ efi_status_t efi_create_handle(efi_handle_t *handle);
|
|||
void efi_delete_handle(efi_handle_t obj);
|
||||
/* Call this to validate a handle and find the EFI object for it */
|
||||
struct efi_object *efi_search_obj(const efi_handle_t handle);
|
||||
/* Start image */
|
||||
efi_status_t EFIAPI efi_start_image(efi_handle_t image_handle,
|
||||
efi_uintn_t *exit_data_size,
|
||||
u16 **exit_data);
|
||||
/* Find a protocol on a handle */
|
||||
efi_status_t efi_search_protocol(const efi_handle_t handle,
|
||||
const efi_guid_t *protocol_guid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue