Skip to content
Snippets Groups Projects
Commit 01fac041 authored by Tom Rini's avatar Tom Rini
Browse files

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: default avatarTom Rini <trini@ti.com>
parent f1932b78
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,9 @@ U_BOOT_CMD( ...@@ -49,6 +49,9 @@ U_BOOT_CMD(
" If 'pos' is omitted, 0 is used. 'pos' requires 'bytes'.\n" " If 'pos' is omitted, 0 is used. 'pos' requires 'bytes'.\n"
" 'bytes' gives the size to load. If 'bytes' is 0 or omitted,\n" " 'bytes' gives the size to load. If 'bytes' is 0 or omitted,\n"
" the load stops on end of file.\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." " All numeric parameters are assumed to be hex."
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment