eficonfig: menu-driven addition of UEFI boot option
This commit add the "eficonfig" command. The "eficonfig" command implements the menu-driven UEFI boot option maintenance feature. This commit implements the addition of new boot option. User can select the block device volume having efi_simple_file_system_protocol and select the file corresponding to the Boot#### variable. User can also enter the description and optional_data of the BOOT#### variable in utf8. This commit adds "include/efi_config.h", it contains the common definition to be used from other menus such as UEFI Secure Boot key management. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
c2238fcf0c
commit
87d791423a
@@ -1928,6 +1928,13 @@ config CMD_EFIDEBUG
|
||||
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
|
||||
|
||||
@@ -63,6 +63,7 @@ obj-$(CONFIG_ENV_IS_IN_EEPROM) += eeprom.o
|
||||
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
|
||||
|
||||
1608
cmd/eficonfig.c
Normal file
1608
cmd/eficonfig.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user