diff options
author | Martin Roth <martinroth@chromium.org> | 2016-11-08 10:37:53 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-11-10 00:26:06 +0100 |
commit | 0e94062c2b5d7ceac5889dccfe35db5d62461531 (patch) | |
tree | b31e5fb96f3d156a1abacbdd570872172a4d7c95 /util | |
parent | 8806f7f6620d8156fddb8039cb5a9b276097a6e5 (diff) |
util/amdfwtool: add usage text
Change-Id: I0ddb4516c03b0240d9134b35753ad901932d3f53
Signed-off-by: Martin Roth <martinroth@chromium.org>
Reviewed-on: https://review.coreboot.org/17323
Tested-by: build bot (Jenkins)
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/amdfwtool/amdfwtool.c | 44 |
1 files changed, 43 insertions, 1 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index e1b3c21ce4..5cd0f285f5 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -147,7 +147,49 @@ static uint32_t fletcher32(const uint16_t *pptr, int length) static void usage(void) { - printf("Create AMD Firmware combination\n"); + printf("amdfwtool: Create AMD Firmware combination\n"); + printf("Usage: amdfwtool [options] -f <size> -o <filename>\n"); + printf("-x | --xhci <FILE> Add XHCI blob\n"); + printf("-i | --imc <FILE> Add IMC blob\n"); + printf("-g | --gec <FILE> Add GEC blob\n"); + + printf("\nPSP options:\n"); + printf("-p | --pubkey <FILE> Add pubkey\n"); + printf("-b | --bootloader <FILE> Add bootloader\n"); + printf("-s | --smufirmware <FILE> Add smufirmware\n"); + printf("-r | --recovery <FILE> Add recovery\n"); + printf("-k | --rtmpubkey <FILE> Add rtmpubkey\n"); + printf("-c | --secureos <FILE> Add secureos\n"); + printf("-n | --nvram <FILE> Add nvram\n"); + printf("-d | --securedebug <FILE> Add securedebug\n"); + printf("-t | --trustlets <FILE> Add trustlets\n"); + printf("-u | --trustletkey <FILE> Add trustletkey\n"); + printf("-w | --smufirmware2 <FILE> Add smufirmware2\n"); + printf("-m | --smuscs <FILE> Add smuscs\n"); + +#if PSP2 + printf("\nPSP2 options:\n"); + printf("-P | --pubkey2 <FILE> Add pubkey\n"); + printf("-B | --bootloader2 <FILE> Add bootloader\n"); + printf("-S | --smufirmware_2 <FILE> Add smufirmware\n"); + printf("-R | --recovery2 <FILE> Add recovery\n"); + printf("-K | --rtmpubkey2 <FILE> Add rtmpubkey\n"); + printf("-C | --secureos2 <FILE> Add secureos\n"); + printf("-N | --nvram2 <FILE> Add nvram\n"); + printf("-D | --securedebug2 <FILE> Add securedebug\n"); + printf("-T | --trustlets2 <FILE> Add trustlets\n"); + printf("-U | --trustletkey2 <FILE> Add trustletkey\n"); + printf("-W | --smufirmware2_2 <FILE> Add smufirmware2\n"); + printf("-M | --smuscs2 <FILE> Add smuscs\n"); +#endif + + printf("\n-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); + printf(" and must a multiple of 1024\n"); + printf("-h | --help show this help\n"); + } typedef enum _amd_fw_type { |