aboutsummaryrefslogtreecommitdiff
path: root/tools/env
diff options
context:
space:
mode:
authorAndreas Fenkart <andreas.fenkart@digitalstrom.com>2016-08-17 23:41:54 +0200
committerTom Rini <trini@konsulko.com>2016-08-20 14:03:27 -0400
commit4ed6f4318be9fff2df344ba7ac678736c4b6f3d6 (patch)
tree16a4e1c176f3c89627d544d0dedeb4c355e8c564 /tools/env
parent490365c38f869ecebda701df2c060ba3a9e628d3 (diff)
downloadu-boot-4ed6f4318be9fff2df344ba7ac678736c4b6f3d6.zip
u-boot-4ed6f4318be9fff2df344ba7ac678736c4b6f3d6.tar.gz
u-boot-4ed6f4318be9fff2df344ba7ac678736c4b6f3d6.tar.bz2
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>
Diffstat (limited to 'tools/env')
-rw-r--r--tools/env/fw_env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index 7cc7488..d27f57e 100644
--- a/tools/env/fw_env.c
+++ b/tools/env/fw_env.c
@@ -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;
}