From: Andreas Fenkart Date: Wed, 17 Aug 2016 21:41:54 +0000 (+0200) Subject: tools/env: soften warning about erase block alignment X-Git-Tag: v2016.09-rc2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4ed6f4318be9fff2df344ba7ac678736c4b6f3d6;p=u-boot 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 Reviewed-by: Tom Rini --- diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index 7cc7488060..d27f57e251 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; }