From 93f7023e16c8bd6f16ad02d4f2027669e5c90285 Mon Sep 17 00:00:00 2001 From: Stefan Tauner 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 Corresponding to flashrom svn r1393. Signed-off-by: Stefan Tauner the last one is Acked-by: Carl-Daniel Hailfinger everything else is Acked-by: Stefan Tauner --- 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 6280affc6..b70da8606 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.3