efi_loader: use efi_start_image() for bootefi
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 26 Dec 2018 12:28:09 +0000 (13:28 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 16 Feb 2019 14:42:20 +0000 (15:42 +0100)
commitf69d63fae281ba98c3d063097cf4e95d17f3754d
tree5788ca3b88e41bfc754a5a8b7102903d4c00bd99
parent8f7e2b2980a2d964db60a19a5d2ef8532caddf7d
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>
cmd/bootefi.c
include/efi_loader.h
lib/efi_loader/efi_boottime.c