summaryrefslogtreecommitdiff
path: root/print_wiki.c
diff options
context:
space:
mode:
authorstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2011-07-26 14:33:46 +0000
committerstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2011-07-26 14:33:46 +0000
commit0c8f8d3dc7300d33ea2acef0f5e994706e3b435e (patch)
tree3eb592d1a3c6cac53aa9856cfaa7d2a70371fcc5 /print_wiki.c
parent7c4802d62ba2623ea1cf22f4610c03c0a366cfe6 (diff)
downloadflashrom-0c8f8d3dc7300d33ea2acef0f5e994706e3b435e.tar.gz
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 <stefan.tauner@student.tuwien.ac.at> the last one is Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> everything else is Acked-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1393 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'print_wiki.c')
-rw-r--r--print_wiki.c6
1 files changed, 5 insertions, 1 deletions
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"