diff options
author | Rob Clark <robdclark@gmail.com> | 2017-09-21 01:23:42 +0300 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2017-09-21 10:04:25 +0300 |
commit | 7dd5d44753969167a6059405635bdb8b9d961fa1 (patch) | |
tree | 9eaac3e9708da8ef760ab5b1ea9bc98fea4e60e2 /cmd/bootefi.c | |
parent | 7aca68ca06b8a96cb71f690e24f990281e402be8 (diff) | |
download | u-boot-7dd5d44753969167a6059405635bdb8b9d961fa1.tar.xz |
efi_loader: fix efi_exit
efi_exit() already restores gd, so we shouldn't EFI_EXIT() on the
otherside of the longjmp().
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cmd/bootefi.c')
-rw-r--r-- | cmd/bootefi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/bootefi.c b/cmd/bootefi.c index e0a657323f..b7087e3da8 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c @@ -190,7 +190,6 @@ static unsigned long do_bootefi_exec(void *efi, void *fdt, if (setjmp(&loaded_image_info.exit_jmp)) { ret = loaded_image_info.exit_status; - EFI_EXIT(ret); goto exit; } |