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 --- flashrom.c | 2 +- print.c | 7 ++++--- print_wiki.c | 6 +++++- spi.c | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/flashrom.c b/flashrom.c index 97eaf6e..7b1b9ba 100644 --- a/flashrom.c +++ b/flashrom.c @@ -1713,7 +1713,7 @@ int selfcheck(void) msg_gerr("Programmer table miscompilation!\n"); ret = 1; } - /* It would be favorable if we could also check for correct terminaion + /* It would be favorable if we could also check for correct termination * of the following arrays, but we don't know their sizes in here... * For 'flashchips' we check the first element to be non-null. In the * other cases there exist use cases where the first element can be diff --git a/print.c b/print.c index 869780a..16b7973 100644 --- a/print.c +++ b/print.c @@ -516,7 +516,7 @@ const struct board_info boards_known[] = { B("EPoX", "EP-9NPA7I", 0, "http://www.epox.com/product.asp?ID=EP-9NPA7I", "Needs a patch (http://patchwork.coreboot.org/patch/2125/) and the same board enable as the EP-8NPA7I."), B("EPoX", "EP-8RDA3+", 1, "http://www.epox.com/product.asp?ID=EP-8RDA3plus", NULL), B("EPoX", "EP-BX3", 1, "http://www.epox.com/product.asp?ID=EP-BX3", NULL), - B("EVGA", "132-CK-NF78", 1, "http://http://www.evga.com/articles/385.asp", NULL), + B("EVGA", "132-CK-NF78", 1, "http://www.evga.com/articles/385.asp", NULL), B("EVGA", "270-WS-W555-A2 (Classified SR-2)", 1, "http://www.evga.com/products/moreInfo.asp?pn=270-WS-W555-A2", NULL), B("FIC", "VA-502", 0, "ftp://ftp.fic.com.tw/motherboard/manual/socket7/va-502/", "No public report found. Owned by Uwe Hermann . Seems the PCI subsystem IDs are identical with the Tekram P6Pro-A5. May work now."), B("Foxconn", "6150K8MD-8EKRSH", 1, "http://www.foxconnchannel.com/product/motherboards/detail_overview.aspx?id=en-us0000157", NULL), @@ -580,7 +580,8 @@ const struct board_info boards_known[] = { B("Intel", "Greencity", 1, NULL, "Intel reference board."), B("Intel", "SE440BX-2", 0, "http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&ProductFamily=Desktop+Boards&ProductLine=Discontinued+Motherboards&ProductProduct=Intel%C2%AE+SE440BX-2+Motherboard", "Probably won't work, see http://www.coreboot.org/pipermail/flashrom/2010-July/003952.html"), B("IWILL", "DK8-HTX", 1, "http://web.archive.org/web/20060507170150/http://www.iwill.net/product_2.asp?p_id=98", NULL), - B("Jetway", "J7F4K1G5D-PB", 1, "http://www.jetway.com.tw/jetway/system/productshow2.asp?id=389&proname=J7F4K1G5D-P", NULL), + B("Jetway", "J-7BXAN", 1, "http://www.jetway.com.tw/evisn/download/d7BXAS.htm", NULL), + B("Jetway", "J7F4K1G5D-PB", 1, "http://www.jetway.com.tw/jw/ipcboard_view.asp?productid=282&proname=J7F4K1G5D", NULL), B("Kontron", "986LCD-M", 1, "http://de.kontron.com/products/boards+and+mezzanines/embedded+motherboards/miniitx+motherboards/986lcdmmitx.html", NULL), B("Lanner", "EM-8510C", 1, NULL, NULL), B("Lex", "CV700A", 1, "http://www.lex.com.tw/product/CV700A-spec.htm", NULL), @@ -602,7 +603,7 @@ const struct board_info boards_known[] = { B("MSI", "MS-7005 (651M-L)", 1, "http://www.msi.com/product/mb/651M-L.html", NULL), B("MSI", "MS-7025 (K8N Neo2 Platinum)", 1, "http://www.msi.com/product/mb/K8N-Neo2-Platinum.html", NULL), B("MSI", "MS-7046", 1, "http://www.heimir.de/ms7046/", NULL), - B("MSI", "MS-7061 (KM3M-V/KM4M-V/KM4AM-V)", 1, "http://www.msi.com/service/search/?kw=7061&type=product", NULL), + B("MSI", "MS-7061 (KM4M-V/KM4AM-V)", 1, "http://www.msi.com/service/search/?kw=7061&type=product", NULL), B("MSI", "MS-7065", 1, "http://browse.geekbench.ca/geekbench2/view/53114", NULL), B("MSI", "MS-7135 (K8N Neo3)", 1, "http://www.msi.com/product/mb/K8N-Neo3.html", NULL), B("MSI", "MS-7142 (K8MM-V)", 1, "http://www.msi.com/product/mb/K8MM-V.html", NULL), 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" diff --git a/spi.c b/spi.c index 4610102..5d2e441 100644 --- a/spi.c +++ b/spi.c @@ -196,4 +196,4 @@ void register_spi_programmer(const struct spi_programmer *pgm) { spi_programmer = pgm; buses_supported |= CHIP_BUSTYPE_SPI; -} \ No newline at end of file +} -- cgit v1.1