mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 08:12:06 +02:00
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>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user