From 0704058327e5a8fa00ea32bbe10be748d7824fc1 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 24 Apr 2010 21:24:06 +0000 Subject: print the known cbfs types in cbfstool "usage" Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5487 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/cbfstool/common.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'util/cbfstool/common.c') diff --git a/util/cbfstool/common.c b/util/cbfstool/common.c index e0f4c312a3..30d52816b1 100644 --- a/util/cbfstool/common.c +++ b/util/cbfstool/common.c @@ -137,6 +137,17 @@ struct filetypes_t { {CBFS_COMPONENT_NULL, "null"} }; +void print_supported_filetypes(void) +{ + int i, number = ARRAY_SIZE(filetypes); + + for (i=0; i