From: Tom Rini <trini@konsulko.com>
Date: Wed, 11 Oct 2023 19:32:39 +0000 (-0400)
Subject: Revert "mkimage: update man page and -h output"
X-Git-Tag: v2025.01-rc5-pxa1908~832
X-Git-Url: http://git.dujemihanovic.xyz/%22bddb.css/static/%7B%7B%20%24style.RelPermalink%20%7D%7D?a=commitdiff_plain;h=429d59c3e5e6a3d3d6cd9f3c59c075e9037459c0;p=u-boot.git

Revert "mkimage: update man page and -h output"

This is part of a longer series, which isn't quite ready.  Revert this
for now at least.

This reverts commit 4cb6c8e5f0de3c4c5f9eba51c6a1610934a8cf77.

Signed-off-by: Tom Rini <trini@konsulko.com>
---

diff --git a/doc/mkimage.1 b/doc/mkimage.1
index c1903896f3..d0a038a880 100644
--- a/doc/mkimage.1
+++ b/doc/mkimage.1
@@ -281,10 +281,8 @@ properties.  A \(oqdata-offset\(cq of 0 indicates that it starts in the first
 .BI \-B " alignment"
 .TQ
 .BI \-\-alignment " alignment"
-The alignment, in hexadecimal, that the FDT structure will be aligned
-to. With
-.BR \-E ,
-also specifies the alignment for the external data.
+The alignment, in hexadecimal, that external data will be aligned to. This
+option only has an effect when \-E is specified.
 .
 .TP
 .BI \-p " external-position"
diff --git a/tools/mkimage.c b/tools/mkimage.c
index a5979fa6fd..6dfe3e1d42 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, with -E, for the external data\n"
+		"          -B => align size in hex for FIT structure and header\n"
 		"          -b => append the device tree binary to the FIT\n"
 		"          -t => update the timestamp in the FIT\n");
 #ifdef CONFIG_FIT_SIGNATURE