diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2019-02-25 15:54:36 +0900 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-02-25 12:47:13 +0100 |
commit | 49d81fdfb8c1fc07e54c8f01fe5c5b1125f884cb (patch) | |
tree | 8d124ccf33cef115a949601d0c57a4255cdf6447 /cmd/Kconfig | |
parent | ccecc3456a6c538626b34be40249bcf88279efcf (diff) | |
download | u-boot-49d81fdfb8c1fc07e54c8f01fe5c5b1125f884cb.tar.gz |
cmd: env: add "-e" option for handling UEFI variables
"env [print|set] -e" allows for handling uefi variables without
knowing details about mapping to corresponding u-boot variables.
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index ed8d85bfa6..af2bfb4e58 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -420,6 +420,16 @@ config CMD_ENV_FLAGS be deleted. This command shows the variables that have special flags. +config CMD_NVEDIT_EFI + bool "env [set|print] -e - set/print UEFI variables" + depends on EFI_LOADER + default y + imply HEXDUMP + help + UEFI variables are encoded as some form of U-Boot variables. + If enabled, we are allowed to set/print UEFI variables using + "env" command with "-e" option without knowing details. + endmenu menu "Memory commands" |