Author: uwe
Date: Thu Jun  3 18:35:51 2010
New Revision: 1027
URL: http://flashrom.org/trac/coreboot/changeset/1027

Log:
Fix bug in wiki printing and whitespace (trivial).

The required "-m" options were not in the wiki output due to a mistake
that I think I introduced recently.

Signed-off-by: Uwe Hermann <[email protected]>
Acked-by: Uwe Hermann <[email protected]>

Modified:
   trunk/print.c
   trunk/print_wiki.c

Modified: trunk/print.c
==============================================================================
--- trunk/print.c       Thu Jun  3 02:49:50 2010        (r1026)
+++ trunk/print.c       Thu Jun  3 18:35:51 2010        (r1027)
@@ -450,14 +450,14 @@
 /* Please keep this list alphabetically ordered by vendor/board. */
 const struct board_info laptops_known[] = {
 #if defined(__i386__) || defined(__x86_64__)
-       B("Acer",       "Aspire 1520",  1, 
"http://support.acer.com/us/en/acerpanam/notebook/0000/Acer/Aspire1520/Aspire1520nv.shtml";,
 NULL),
-       B("Acer",       "Aspire One",   0, NULL, 
"http://www.coreboot.org/pipermail/coreboot/2009-May/048041.html";),
-       B("ASUS",       "Eee PC 701 4G",0, 
"http://www.asus.com/product.aspx?P_ID=h6SPd3tEzLEsrEiS";, "It seems the chip 
(25X40VSIG) is behind some SPI flash translation layer (likely in the EC, the 
ENE KB3310)."),
-       B("Dell",       "Latitude CPi A366XT",0, 
"http://www.coreboot.org/Dell_Latitude_CPi_A366XT";, "The laptop immediately 
powers off if you try to hot-swap the chip. It's not yet tested if write/erase 
would work on this laptop."),
-       B("HP/Compaq",  "nx9010",       0, 
"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c00348514";,
 "Hangs upon '''flashrom -V''' (needs hard power-cycle then)."),
-       B("IBM/Lenovo", "Thinkpad T40p",0, 
"http://www.thinkwiki.org/wiki/Category:T40p";, NULL),
-       B("IBM/Lenovo", "240",          0, 
"http://www.stanford.edu/~bresnan//tp240.html";, "Seems to (partially) work at 
first, but one block/sector cannot be written which then leaves you with a 
bricked laptop. Maybe this can be investigated and fixed in software later."),
-       B("Lenovo",     "3000 V100 TF05Cxx",1, 
"http://www5.pc.ibm.com/europe/products.nsf/products?openagent&brand=Lenovo3000Notebook&series=Lenovo+3000+V+Series#viewallmodelstop";,
 NULL),
+       B("Acer",       "Aspire 1520",          1, 
"http://support.acer.com/us/en/acerpanam/notebook/0000/Acer/Aspire1520/Aspire1520nv.shtml";,
 NULL),
+       B("Acer",       "Aspire One",           0, NULL, 
"http://www.coreboot.org/pipermail/coreboot/2009-May/048041.html";),
+       B("ASUS",       "Eee PC 701 4G",        0, 
"http://www.asus.com/product.aspx?P_ID=h6SPd3tEzLEsrEiS";, "It seems the chip 
(25X40VSIG) is behind some SPI flash translation layer (likely in the EC, the 
ENE KB3310)."),
+       B("Dell",       "Latitude CPi A366XT",  0, 
"http://www.coreboot.org/Dell_Latitude_CPi_A366XT";, "The laptop immediately 
powers off if you try to hot-swap the chip. It's not yet tested if write/erase 
would work on this laptop."),
+       B("HP/Compaq",  "nx9010",               0, 
"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c00348514";,
 "Hangs upon '''flashrom -V''' (needs hard power-cycle then)."),
+       B("IBM/Lenovo", "Thinkpad T40p",        0, 
"http://www.thinkwiki.org/wiki/Category:T40p";, NULL),
+       B("IBM/Lenovo", "240",                  0, 
"http://www.stanford.edu/~bresnan//tp240.html";, "Seems to (partially) work at 
first, but one block/sector cannot be written which then leaves you with a 
bricked laptop. Maybe this can be investigated and fixed in software later."),
+       B("Lenovo",     "3000 V100 TF05Cxx",    1, 
"http://www5.pc.ibm.com/europe/products.nsf/products?openagent&brand=Lenovo3000Notebook&series=Lenovo+3000+V+Series#viewallmodelstop";,
 NULL),
 #endif
 
        {},

Modified: trunk/print_wiki.c
==============================================================================
--- trunk/print_wiki.c  Thu Jun  3 02:49:50 2010        (r1026)
+++ trunk/print_wiki.c  Thu Jun  3 18:35:51 2010        (r1027)
@@ -146,8 +146,8 @@
 
                k = 0;
                while ((b[k].vendor_name != NULL)
-                       && !strcmp(b[k].vendor_name, boards[i].vendor)
-                       && !strcmp(b[k].board_name, boards[i].name)) {
+                       && strcmp(b[k].vendor_name, boards[i].vendor)
+                       && strcmp(b[k].board_name, boards[i].name)) {
                        k++;
                }
 

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to