
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