From 0c8f8d3dc7300d33ea2acef0f5e994706e3b435e Mon Sep 17 00:00:00 2001 From: stefanct Date: Tue, 26 Jul 2011 14:33:46 +0000 Subject: add a bunch of new/tested stuff and various small changes 6 - add J-7BXAN to the list of supported boards http://www.flashrom.org/pipermail/flashrom/2011-July/007397.html - fix urls, typos, whitespace etc. - fix counting of supported chips in the wiki output Signed-off-by: Stefan Tauner the last one is Acked-by: Carl-Daniel Hailfinger everything else is Acked-by: Stefan Tauner git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1393 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- print_wiki.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'print_wiki.c') diff --git a/print_wiki.c b/print_wiki.c index 6280aff..b70da86 100644 --- a/print_wiki.c +++ b/print_wiki.c @@ -205,8 +205,12 @@ static void print_supported_chips_wiki(int cols) uint32_t t; char *s; - for (f = flashchips; f->name != NULL; f++) + for (f = flashchips; f->name != NULL; f++) { + /* Don't count "unknown XXXX SPI chip" entries. */ + if (!strncmp(f->name, "unknown", 7)) + continue; chipcount++; + } printf("\n== Supported chips ==\n\nTotal amount of supported " "chips: '''%d'''\n\n{| border=\"0\" valign=\"top\"\n" -- cgit v1.2.1