From fbc66b9dc035bcd287d434363ce984c41118bf95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Sun, 8 Apr 2018 15:05:09 +0200 Subject: util/cbfstool: Print all supported architectures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/25590 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/cbfstool/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'util/cbfstool/common.h') diff --git a/util/cbfstool/common.h b/util/cbfstool/common.h index 85dfdeb589..8bae63e08e 100644 --- a/util/cbfstool/common.h +++ b/util/cbfstool/common.h @@ -204,6 +204,7 @@ int parse_elf_to_stage(const struct buffer *input, struct buffer *output, int parse_elf_to_xip_stage(const struct buffer *input, struct buffer *output, uint32_t *location, const char *ignore_section); +void print_supported_architectures(void); void print_supported_filetypes(void); /* lzma/lzma.c */ -- cgit v1.2.3