aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-04-22 22:00:56 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-05-01 07:39:05 +0200
commit5ab82b10f02296232a14fde6dab1803559ab62e5 (patch)
treed3055720a29c03d9b124c6a993d404af94f2f96b
parent2c4ca2d672f7a64e50dc543eb4e9f076666a417d (diff)
downloadu-boot-5ab82b10f02296232a14fde6dab1803559ab62e5.zip
u-boot-5ab82b10f02296232a14fde6dab1803559ab62e5.tar.gz
u-boot-5ab82b10f02296232a14fde6dab1803559ab62e5.tar.bz2
doc: correct description of 'env print -e'
If 'env print -e' is invoked without variable name, all UEFI variables are listed. Describe that 'env print -e' requires CONFIG_HEXDUMP=y to print content of UEFI variables. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-rw-r--r--doc/usage/cmd/env.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/usage/cmd/env.rst b/doc/usage/cmd/env.rst
index 040076b..9629f97 100644
--- a/doc/usage/cmd/env.rst
+++ b/doc/usage/cmd/env.rst
@@ -226,7 +226,7 @@ in UEFI variables.
\-a
all U-Boot environment, when 'name' is absent.
\-e
- print UEFI variables, all by default when 'name'.
+ print UEFI variables, all by default if 'name' is not provided.
\-guid guid
print only the UEFI variables matching this GUID (any by default)
with guid format = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx".
@@ -372,6 +372,10 @@ info
load
CONFIG_CMD_NVEDIT_LOAD
+print
+ CONFIG_CMD_NVEDIT_EFI for UEFI variables support ('-e' option),
+ additionally CONFIG_HEXDUMP to display content of UEFI variables
+
run
CONFIG_CMD_RUN
@@ -381,5 +385,5 @@ save
select
CONFIG_CMD_NVEDIT_SELECT
-set, print
- CONFIG_CMD_NVEDIT_EFI for '-e' option
+set
+ CONFIG_CMD_NVEDIT_EFI for UEFI variables support ('-e' option)