[U-Boot] [PATCH 0/2] efi_loader: Implement exit

Alexander Graf agraf at suse.de
Fri May 20 23:28:21 CEST 2016


In some environments it makes sense to try different boot paths in order,
for example boot from network, then determine that network boot is not for
you based on a configuration file, then continue descending the list to
SD boot.

The usual way this works in an EFI world is to just exit th EFI payload.
So far we didn't implement the exit call though. This patch set does it.

Alexander Graf (2):
  arm: Introduce setjmp/longjmp
  efi_loader: Add exit support

 arch/arm/include/asm/setjmp.h | 99 +++++++++++++++++++++++++++++++++++++++++++
 cmd/bootefi.c                 |  6 +++
 include/efi_api.h             | 10 +++++
 lib/efi_loader/efi_boottime.c | 21 ++++++---
 4 files changed, 131 insertions(+), 5 deletions(-)
 create mode 100644 arch/arm/include/asm/setjmp.h

-- 
1.8.5.6



More information about the U-Boot mailing list