From: Rob Clark Date: Wed, 20 Sep 2017 22:23:42 +0000 (-0400) Subject: efi_loader: fix efi_exit X-Git-Tag: v2017.11-rc1~4^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7dd5d44753969167a6059405635bdb8b9d961fa1;p=u-boot 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 Signed-off-by: Alexander Graf --- 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; }