summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-02-21 06:55:40 +0000
committerTom Rini <trini@ti.com>2013-03-12 12:43:31 -0400
commit01fac041cb32408a4fc5f4617381da6ec609a8dc (patch)
tree4bfc2abc62ac7e944b253c77077551b134a6c419 /common
parentf1932b78505aa52fc29e5862ed8588a6f1bbe3ec (diff)
downloadu-boot-imx-01fac041cb32408a4fc5f4617381da6ec609a8dc.zip
u-boot-imx-01fac041cb32408a4fc5f4617381da6ec609a8dc.tar.gz
u-boot-imx-01fac041cb32408a4fc5f4617381da6ec609a8dc.tar.bz2
cmd_fat.c: Note in fatread help about alignment requirements
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>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_fat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/cmd_fat.c b/common/cmd_fat.c
index 86be044..0487438 100644
--- a/common/cmd_fat.c
+++ b/common/cmd_fat.c
@@ -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."
);