"Das U-Boot" Source Tree
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

cmd: nvedit: fix efi env -e -i command help

The help string for the `setenv -e' command shows a comma being used as
the separator between address and size for the -i option, which deals
with UEFI Variables contents passed as a buffer in memory.
This is no longer the case since commit 2b3fbcb59f41 ("efi_loader: use
':' as separator for setenv -i") and commit 8f0ac536d493 ("efi: change
'env -e -i' usage syntax"), which changed the separator from a comma to
a colon.
Therefore fix this last bit of the help string accordingly.

While at it, fix the comment of function do_env_set_efi(), which also
mentions a comma as separator.

Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Cc: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>

authored by

Vincent Stehlé and committed by
Heinrich Schuchardt
2865a859 de56e5c9

+2 -2
+1 -1
cmd/nvedit.c
··· 1263 1263 " \"-rt\": set runtime attribute\n" 1264 1264 " \"-at\": set time-based authentication attribute\n" 1265 1265 " \"-a\": append-write\n" 1266 - " \"-i addr,size\": use <addr,size> as variable's value\n" 1266 + " \"-i addr:size\": use <addr,size> as variable's value\n" 1267 1267 " \"-v\": verbose message\n" 1268 1268 " - delete UEFI variable 'name' if 'value' not specified\n" 1269 1269 #endif
+1 -1
cmd/nvedit_efi.c
··· 367 367 * 368 368 * This function is for "env set -e" or "setenv -e" command: 369 369 * => env set -e [-guid guid][-nv][-bs][-rt][-at][-a][-v] 370 - * [-i address,size] var, or 370 + * [-i address:size] var, or 371 371 * var [value ...] 372 372 * Encode values specified and set given UEFI variable. 373 373 * If no value is specified, delete the variable.