efi_exit() already restores gd, so we shouldn't EFI_EXIT() on the
otherside of the longjmp().

Signed-off-by: Rob Clark <robdcl...@gmail.com>
---
 cmd/bootefi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cmd/bootefi.c b/cmd/bootefi.c
index fdfed1be05..a049e5f64d 100644
--- a/cmd/bootefi.c
+++ b/cmd/bootefi.c
@@ -191,7 +191,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;
        }
 
-- 
2.13.5

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to