diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-08-24 08:27:49 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-08-24 16:37:53 +0200 |
commit | 2b3fbcb59f4174e455a6285eaddf1426ed3e76c5 (patch) | |
tree | 9a48bb8433eaf5f0c4c53e71e5c8716cf792c273 /cmd/nvedit_efi.c | |
parent | 15d8f008dc577bbef6ad98494c28553558941420 (diff) | |
download | u-boot-2b3fbcb59f4174e455a6285eaddf1426ed3e76c5.tar.gz u-boot-2b3fbcb59f4174e455a6285eaddf1426ed3e76c5.tar.bz2 u-boot-2b3fbcb59f4174e455a6285eaddf1426ed3e76c5.zip |
efi_loader: use ':' as separator for setenv -i
setenv -e -i <address>,<filesize> can be used to set a UEFI variable
from memory.
For separating an address and a size we use ':' in most commands.
Let's do the same for setenv -e -i.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'cmd/nvedit_efi.c')
-rw-r--r-- | cmd/nvedit_efi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/nvedit_efi.c b/cmd/nvedit_efi.c index 8e31f43e1f..094c0e8098 100644 --- a/cmd/nvedit_efi.c +++ b/cmd/nvedit_efi.c @@ -473,7 +473,7 @@ int do_env_set_efi(struct cmd_tbl *cmdtp, int flag, int argc, argc--; argv++; addr = simple_strtoul(argv[0], &ep, 16); - if (*ep != ',') + if (*ep != ':') return CMD_RET_USAGE; /* 0 should be allowed for delete */ |