summaryrefslogtreecommitdiff
path: root/util/amdfwtool
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2021-04-27 17:19:43 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-04-30 23:15:26 +0000
commit6f0b361aee6ed9eb5df7261c8e90a8f6e5b7acb1 (patch)
tree2a91c29f5e51352fc0329c24cb3ba0a9422c4814 /util/amdfwtool
parent39b7afa118d44943ac83595a88b049ddfa8823c2 (diff)
amdfwtool: Cleanup the message of help
1. Wrap the long lines. 2. Align the message. 3. Add new SOC name, Cezanne. 4. Fix the cases. Change-Id: Id537d7c9b77641289274c1b2b6f606e2be37ac6b Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/52697 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'util/amdfwtool')
-rw-r--r--util/amdfwtool/amdfwtool.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c
index b2b7c42219..46910cbfc8 100644
--- a/util/amdfwtool/amdfwtool.c
+++ b/util/amdfwtool/amdfwtool.c
@@ -170,9 +170,10 @@ static void usage(void)
printf("-p | --load-mp2-fw Set if load MP2 firmware\n");
printf("-L | --load-s0i3 Set if load s0i3 firmware\n");
printf("-Z | --verstage <FILE> Add verstage\n");
- printf("-E | --verstage_sig Add verstage signature");
+ printf("-E | --verstage_sig Add verstage signature\n");
printf("\nBIOS options:\n");
- printf("-I | --instance <number> Sets instance field for the next BIOS firmware\n");
+ printf("-I | --instance <number> Sets instance field for the next BIOS\n");
+ printf(" firmware\n");
printf("-a | --apcb <FILE> Add AGESA PSP customization block\n");
printf("-Q | --apob-base <HEX_VAL> Destination for AGESA PSP output block\n");
printf("-F | --apob-nv-base <HEX_VAL> Location of S3 resume data\n");
@@ -182,7 +183,7 @@ static void usage(void)
printf("-e | --bios-bin-src <HEX_VAL> Address in flash of source if -V not used\n");
printf("-v | --bios-bin-dest <HEX_VAL> Destination for uncompressed BIOS\n");
printf("-j | --bios-uncomp-size <HEX> Uncompressed size of BIOS image\n");
- printf("\n-o | --output <filename> output filename\n");
+ printf("-o | --output <filename> Output filename\n");
printf("-f | --flashsize <HEX_VAL> ROM size in bytes\n");
printf(" size must be larger than %dKB\n",
MIN_ROM_KB);
@@ -190,10 +191,12 @@ static void usage(void)
printf("-l | --location Location of Directory\n");
printf("-q | --anywhere Use any 64-byte aligned addr for Directory\n");
printf("-R | --sharedmem Location of PSP/FW shared memory\n");
- printf("-P | --sharedmem-size Maximum size of the PSP/FW shared memory area\n");
+ printf("-P | --sharedmem-size Maximum size of the PSP/FW shared memory\n");
+ printf(" area\n");
printf("-C | --soc-name <socname> Specify SOC name. Supported names are\n");
- printf(" Stoneyridge, Raven, Picasso, Renoir or Lucienne");
- printf("-h | --help show this help\n");
+ printf(" Stoneyridge, Raven, Picasso, Renoir, Cezanne\n");
+ printf(" or Lucienne\n");
+ printf("-h | --help Show this help\n");
printf("\nEmbedded Firmware Structure options used by the PSP:\n");
printf("--spi-speed <HEX_VAL> SPI fast speed to place in EFS Table\n");
printf(" 0x0 66.66Mhz\n");