util/cbfstool: Print all supported architectures
The list of supported architectures in the usage output of cbfstool is currently hardcoded and outdated. Use the arch_names array in common.c to provide and up-to-date list. Change-Id: I3e7ed67c3bfd928b304c314fcc8e1bea35561662 Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-on: https://review.coreboot.org/25590 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Martin Roth
parent
e32cea15c8
commit
fbc66b9dc0
@@ -1350,10 +1350,11 @@ static void usage(char *name)
|
||||
" in two possible formats: if their value is greater than\n"
|
||||
" 0x80000000, they are interpreted as a top-aligned x86 memory\n"
|
||||
" address; otherwise, they are treated as an offset into flash.\n"
|
||||
"ARCHes:\n"
|
||||
" arm64, arm, mips, x86\n"
|
||||
"TYPEs:\n", name, name
|
||||
"ARCHes:\n", name, name
|
||||
);
|
||||
print_supported_architectures();
|
||||
|
||||
printf("TYPEs:\n");
|
||||
print_supported_filetypes();
|
||||
|
||||
printf(
|
||||
|
Reference in New Issue
Block a user