Merge tag 'efi-next-2022-09-14' of https://source.denx.de/u-boot/custodians/u-boot...
authorTom Rini <trini@konsulko.com>
Wed, 14 Sep 2022 16:31:44 +0000 (12:31 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 14 Sep 2022 16:31:44 +0000 (12:31 -0400)
Pull request for efi next

UEFI:

Implement a command eficonfig to maintain Load Options and boot order via
menus.

1  2 
cmd/Kconfig
cmd/Makefile
doc/usage/index.rst

diff --combined cmd/Kconfig
@@@ -1928,6 -1928,13 +1928,13 @@@ config CMD_EFIDEBU
          particularly for managing boot parameters as  well as examining
          various EFI status for debugging.
  
+ config CMD_EFICONFIG
+       bool "eficonfig - provide menu-driven uefi variables maintenance interface"
+       depends on CMD_BOOTEFI_BOOTMGR
+       help
+         Enable the 'eficonfig' command which provides the menu-driven UEFI
+         variable maintenance interface.
  config CMD_EXCEPTION
        bool "exception - raise exception"
        depends on ARM || RISCV || SANDBOX || X86
@@@ -2511,22 -2518,6 +2518,22 @@@ config CMD_CBSYSINF
          memory by coreboot before jumping to U-Boot. It can be useful for
          debugging the beaaviour of coreboot or U-Boot.
  
 +config CMD_CYCLIC
 +      bool "cyclic - Show information about cyclic functions"
 +      depends on CYCLIC
 +      default y
 +      help
 +        This enables the 'cyclic' command which provides information about
 +        cyclic execution functions. This infrastructure allows registering
 +        functions to be executed cyclically, e.g. every 100ms. These commands
 +        are supported:
 +
 +          cyclic list - list cyclic functions
 +          cyclic cyclic demo <cycletime_ms> <delay_us> - register cyclic
 +              demo function
 +
 +        See doc/develop/cyclic.rst for more details.
 +
  config CMD_DIAG
        bool "diag - Board diagnostics"
        help
diff --combined cmd/Makefile
@@@ -56,7 -56,6 +56,7 @@@ obj-$(CONFIG_CMD_DIAG) += diag.
  endif
  obj-$(CONFIG_CMD_ADTIMG) += adtimg.o
  obj-$(CONFIG_CMD_ABOOTIMG) += abootimg.o
 +obj-$(CONFIG_CMD_CYCLIC) += cyclic.o
  obj-$(CONFIG_CMD_EVENT) += event.o
  obj-$(CONFIG_CMD_EXTENSION) += extension_board.o
  obj-$(CONFIG_CMD_ECHO) += echo.o
@@@ -64,6 -63,7 +64,7 @@@ obj-$(CONFIG_ENV_IS_IN_EEPROM) += eepro
  obj-$(CONFIG_CMD_EEPROM) += eeprom.o
  obj-$(CONFIG_EFI) += efi.o
  obj-$(CONFIG_CMD_EFIDEBUG) += efidebug.o
+ obj-$(CONFIG_CMD_EFICONFIG) += eficonfig.o
  obj-$(CONFIG_CMD_ELF) += elf.o
  obj-$(CONFIG_CMD_EROFS) += erofs.o
  obj-$(CONFIG_HUSH_PARSER) += exit.o
diff --combined doc/usage/index.rst
@@@ -33,9 -33,9 +33,10 @@@ Shell command
     cmd/bootz
     cmd/cbsysinfo
     cmd/conitrace
 +   cmd/cyclic
     cmd/dm
     cmd/echo
+    cmd/eficonfig
     cmd/env
     cmd/event
     cmd/exception