summaryrefslogtreecommitdiffstats
path: root/print_wiki.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2011-07-26 14:33:46 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2011-07-26 14:33:46 +0000
commit93f7023e16c8bd6f16ad02d4f2027669e5c90285 (patch)
tree3eb592d1a3c6cac53aa9856cfaa7d2a70371fcc5 /print_wiki.c
parent84d1968250ecf9df18b2d456530f76b8984edf6b (diff)
downloadast2050-flashrom-93f7023e16c8bd6f16ad02d4f2027669e5c90285.zip
ast2050-flashrom-93f7023e16c8bd6f16ad02d4f2027669e5c90285.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 Corresponding to flashrom svn r1393. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.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@alumni.tuwien.ac.at>
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"
OpenPOWER on IntegriCloud