]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
cmd_fat.c: Note in fatread help about alignment requirements
authorTom Rini <trini@ti.com>
Thu, 21 Feb 2013 06:55:40 +0000 (06:55 +0000)
committerTom Rini <trini@ti.com>
Tue, 12 Mar 2013 16:43:31 +0000 (12:43 -0400)
When using the partial read feature of fatwrite the buffer we read into
can become unaligned not just due to initial location but the size of
our partial reads as well.  Make this clear in the help text.

Signed-off-by: Tom Rini <trini@ti.com>
common/cmd_fat.c

index 86be044725c6504982a867fb55a485961e0badad..0487438faa028655b752689a21d023b38414812e 100644 (file)
@@ -49,6 +49,9 @@ U_BOOT_CMD(
        "      If 'pos' is omitted, 0 is used. 'pos' requires 'bytes'.\n"
        "      'bytes' gives the size to load. If 'bytes' is 0 or omitted,\n"
        "      the load stops on end of file.\n"
+       "      If either 'pos' or 'bytes' are not aligned to\n"
+       "      ARCH_DMA_MINALIGN then a misaligned buffer warning will\n"
+       "      be printed and performance will suffer for the load.\n"
        "      All numeric parameters are assumed to be hex."
 );