Commit 4ed6f431 authored by Andreas Fenkart's avatar Andreas Fenkart Committed by Tom Rini

tools/env: soften warning about erase block alignment

addon 183923d3
MMC/SATA have no erase blocks, only blocks. Hence the warning
about erase block alignment might be confusing in such environment.
Signed-off-by: default avatarAndreas Fenkart <andreas.fenkart@digitalstrom.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 490365c3
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment