From 429d59c3e5e6a3d3d6cd9f3c59c075e9037459c0 Mon Sep 17 00:00:00 2001
From: Tom Rini <trini@konsulko.com>
Date: Wed, 11 Oct 2023 15:32:39 -0400
Subject: [PATCH] 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>
---
 doc/mkimage.1   | 6 ++----
 tools/mkimage.c | 2 +-
 2 files changed, 3 insertions(+), 5 deletions(-)

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
-- 
2.39.5