]> git.sur5r.net Git - u-boot/commitdiff
tools/env: soften warning about erase block alignment
authorAndreas Fenkart <andreas.fenkart@digitalstrom.com>
Wed, 17 Aug 2016 21:41:54 +0000 (23:41 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 20 Aug 2016 18:03:27 +0000 (14:03 -0400)
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>
tools/env/fw_env.c

index 7cc748806071861fa678997cac2836933afb6f74..d27f57e251f654d4b204e1a7f3cfc8f9e875e7f7 100644 (file)
@@ -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;
        }