From 98f3cf138e6bfa956ea0f542f8b63e04f1979f6c Mon Sep 17 00:00:00 2001 From: Shuo Liu Date: Fri, 28 Feb 2025 20:16:27 +0800 Subject: [PATCH] cbfstool: Fix the help text The help text of cbfstool's memory map window assignment option needs to be corrected to [--mmap flash-base:mmio-base:size] from [--mmio flash-base:mmio-base:size]. P.S. The option --mmap was initially introduced by commit 34a7e66faa46 ("util/cbfstool: Add a new mechanism to provide a memory map"). Change-Id: I5f8224c8789e642fc68f6ae2242e8e7a7228c8de Signed-off-by: Shuo Liu Reviewed-on: https://review.coreboot.org/c/coreboot/+/86639 Tested-by: build bot (Jenkins) Reviewed-by: Nicholas Chin --- util/cbfstool/cbfstool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c index 783c7d9892..1b9931063e 100644 --- a/util/cbfstool/cbfstool.c +++ b/util/cbfstool/cbfstool.c @@ -1975,7 +1975,7 @@ static void usage(char *name) " [-c compression] [-b base-address | -a alignment] \\\n" " [-p padding size] [-y|--xip if TYPE is FSP] \\\n" " [-j topswap-size] (Intel CPUs only) [--ibb] \\\n" - " [--mmio flash-base:mmio-base:size] " + " [--mmap flash-base:mmio-base:size] " "Add a component\n" " " " -j valid size: 0x10000 0x20000 0x40000 0x80000 0x100000 \n" @@ -1988,7 +1988,7 @@ static void usage(char *name) " [-S comma-separated-section(s)-to-ignore] \\\n" " [-a alignment] [-Q|--pow2page] \\\n" " [-y|--xip] [--ibb] \\\n" - " [--mmio flash-base:mmio-base:size] " + " [--mmap flash-base:mmio-base:size] " "Add a stage to the ROM\n" " add-flat-binary [-r image,regions] -f FILE -n NAME \\\n" " [-A hash] -l load-address -e entry-point \\\n"