]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: fix efi_exit
authorRob Clark <robdclark@gmail.com>
Wed, 20 Sep 2017 22:23:42 +0000 (18:23 -0400)
committerAlexander Graf <agraf@suse.de>
Thu, 21 Sep 2017 07:04:25 +0000 (09:04 +0200)
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>
cmd/bootefi.c

index e0a657323fba8a89b74e9bfb9fc9147facd00c4d..b7087e3da874e7f14745dc63dfbf62458bf80795 100644 (file)
@@ -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;
        }