aboutsummaryrefslogtreecommitdiff
path: root/tools/mkimage.c
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2023-09-28 10:02:57 +0200
committerTom Rini <trini@konsulko.com>2023-10-11 13:22:32 -0400
commit4cb6c8e5f0de3c4c5f9eba51c6a1610934a8cf77 (patch)
tree6381e62bf9e136855b7b6700ef9d6a071eb61074 /tools/mkimage.c
parent4fb7e570d6bc3658e581937940de8cde52bd4103 (diff)
downloadu-boot-4cb6c8e5f0de3c4c5f9eba51c6a1610934a8cf77.zip
u-boot-4cb6c8e5f0de3c4c5f9eba51c6a1610934a8cf77.tar.gz
u-boot-4cb6c8e5f0de3c4c5f9eba51c6a1610934a8cf77.tar.bz2
mkimage: update man page and -h output
The man page correctly said that -B was ignored without -E, while the `mkimage -h` output suggested otherwise. Now that -B can actually be used by itself, update the man page. While at it, also amend the `mkimage -h` line to mention the connection with -E. The FDT header is a fixed 40 bytes, so its size cannot (and is not) modified, while its alignment is a property of the address in RAM one loads the FIT to, so not something mkimage can affect in any way. (In the file itself, the header is of course at offset 0, which has all possible alignments already.) Reported-by: Sean Anderson <seanga2@gmail.com> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/mkimage.c')
-rw-r--r--tools/mkimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c
index 6dfe3e1..a5979fa 100644
--- a/tools/mkimage.c
+++ b/tools/mkimage.c
@@ -112,7 +112,7 @@ static void usage(const char *msg)
" -f => input filename for FIT source\n"
" -i => input filename for ramdisk file\n"
" -E => place data outside of the FIT structure\n"
- " -B => align size in hex for FIT structure and header\n"
+ " -B => align size in hex for FIT structure and, with -E, for the external data\n"
" -b => append the device tree binary to the FIT\n"
" -t => update the timestamp in the FIT\n");
#ifdef CONFIG_FIT_SIGNATURE