]> git.ipfire.org Git - thirdparty/u-boot.git/commit
mkimage: update man page and -h output
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Thu, 28 Sep 2023 08:02:57 +0000 (10:02 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 11 Oct 2023 17:22:32 +0000 (13:22 -0400)
commit4cb6c8e5f0de3c4c5f9eba51c6a1610934a8cf77
tree6381e62bf9e136855b7b6700ef9d6a071eb61074
parent4fb7e570d6bc3658e581937940de8cde52bd4103
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>
doc/mkimage.1
tools/mkimage.c