mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
tools/env: soften warning about erase block alignment
addon 183923d3e
MMC/SATA have no erase blocks, only blocks. Hence the warning
about erase block alignment might be confusing in such environment.
Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
490365c38f
commit
4ed6f4318b
1 changed files with 1 additions and 1 deletions
2
tools/env/fw_env.c
vendored
2
tools/env/fw_env.c
vendored
|
@ -1295,7 +1295,7 @@ static int check_device_config(int dev)
|
|||
int fd, rc = 0;
|
||||
|
||||
if (DEVOFFSET(dev) % DEVESIZE(dev) != 0) {
|
||||
fprintf(stderr, "Environment does not start on erase block boundary\n");
|
||||
fprintf(stderr, "Environment does not start on (erase) block boundary\n");
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue