[0/5] efi_loader: run a specific efi application more easily

Message ID 20181218050257.20142-1-takahiro.akashi@linaro.org
Headers show
Series
  • efi_loader: run a specific efi application more easily
Related show

Message

AKASHI Takahiro Dec. 18, 2018, 5:02 a.m.
This patch is a result from re-organizing my previous patches;
a combination of [1] and part of [2] so as solely to provide several ways
of executing a specific efi application explicitly.
  * bootmanager via BootNext variable
  * bootefi with boot id
  * run -e

[1] https://lists.denx.de/pipermail/u-boot/2018-November/349281.html
[2] https://lists.denx.de/pipermail/u-boot/2018-November/346450.html

AKASHI Takahiro (5):
  efi_loader: bootmgr: support BootNext and BootCurrent variable
    behavior
  efi_loader: bootmgr: allow for running a given load option
  cmd: bootefi: carve out fdt parameter handling
  cmd: bootefi: run an EFI application of a specific load option
  cmd: run: add "-e" option to run an EFI application

 cmd/bootefi.c                | 71 +++++++++++++++++++++++++-----------
 cmd/bootefi.h                |  3 ++
 cmd/nvedit.c                 |  5 +++
 common/cli.c                 | 31 ++++++++++++++++
 include/command.h            |  3 ++
 include/efi_loader.h         |  3 +-
 lib/efi_loader/efi_bootmgr.c | 46 ++++++++++++++++++++++-
 7 files changed, 138 insertions(+), 24 deletions(-)
 create mode 100644 cmd/bootefi.h