Changeset 1425


Ignore:
Timestamp:
09/03/11 13:22:27 (9 months ago)
Author:
stefanct
Message:

Add a bunch of new/tested stuff and various small changes 7

  • remove unneeded nicintel_spi-related function declarations in programmer.h
  • typos and whitespace fixes
  • fix Asus P4P800-E Deluxe detection The original board enable was added before DMI matching and used the IDs of a Promise controller as secondary PCI ID set. The controller could be disabled in the BIOS which would make the board not match. This patch uses the SMBus controller instead and adds a DMI pattern. This was

Tested-by: Michael Schneider <vdrportal_midas at gmx dot de>

  • add "Sealed-case PC" to the list of chassis type (as indicating "not a laptop")

This is
Acked-by: Idwer Vollering <vidwer@…>

the fix for the typo unusued -> unused is
Signed-off-by: Sylvain "ythier" Hitier <sylvain.hitier@…>

everything else is
Signed-off-by: Stefan Tauner <stefan.tauner@…>
Acked-by: Stefan Tauner <stefan.tauner@…>

And everything was reviewed and
Acked-by: Uwe Hermann <uwe@…>

Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/board_enable.c

    r1424 r1425  
    20192019        {0x8086, 0x24D3, 0x1043, 0x80A6,  0x8086, 0x2578, 0x1043, 0x80F6, NULL,         NULL, NULL,           P3, "ASUS",        "P4C800-E Deluxe",       0,   OK, intel_ich_gpio21_raise}, 
    20202020        {0x8086, 0x2570, 0x1043, 0x80F2,  0x8086, 0x24D5, 0x1043, 0x80F3, NULL,         NULL, NULL,           P3, "ASUS",        "P4P800",                0,   NT, intel_ich_gpio21_raise}, 
    2021         {0x8086, 0x2570, 0x1043, 0x80F2,  0x105A, 0x3373, 0x1043, 0x80F5, NULL,        NULL, NULL,           P3, "ASUS",        "P4P800-E Deluxe",       0,   OK, intel_ich_gpio21_raise}, 
     2021        {0x8086, 0x2570, 0x1043, 0x80F2,  0x8086, 0x24D3, 0x1043, 0x80A6, "^P4P800-E$", NULL, NULL,           P3, "ASUS",        "P4P800-E Deluxe",       0,   OK, intel_ich_gpio21_raise}, 
    20222022        {0x8086, 0x2570, 0x1043, 0x80A5,  0x8086, 0x24d0,      0,      0, NULL,         NULL, NULL,           P3, "ASUS",        "P4P800-VM",             0,   OK, intel_ich_gpio21_raise}, 
    20232023        {0x1039, 0x0651, 0x1043, 0x8081,  0x1039, 0x0962,      0,      0, NULL,         NULL, NULL,           P3, "ASUS",        "P4SC-E",                0,   OK, it8707f_write_enable_2e}, 
  • trunk/chipset_enable.c

    r1423 r1425  
    328328                if (fwh_idsel & 0xffff000000000000ULL) { 
    329329                        msg_perr("Error: fwh_idsel= specified, but value had " 
    330                                  "unusued bits set.\n"); 
     330                                 "unused bits set.\n"); 
    331331                        goto idsel_garbage_out; 
    332332                } 
     
    342342        } else if (idsel) { 
    343343                msg_perr("Error: fwh_idsel= specified, but no value given.\n"); 
    344 idsel_garbage_out:       
     344idsel_garbage_out: 
    345345                free(idsel); 
    346346                /* FIXME: Return failure here once internal_init() starts 
     
    847847                rpci_write_byte(dev, 0x88, new); 
    848848                if (pci_read_byte(dev, 0x88) != new) { 
    849                         msg_pinfo("Setting register to set 0x%x to 0x%x on %s " 
    850                                   "failed (WARNING ONLY).\n", 0x88, new, name); 
     849                        msg_pinfo("Setting register 0x%x to 0x%x on %s failed " 
     850                                  "(WARNING ONLY).\n", 0x88, new, name); 
    851851                } 
    852852        } 
     
    11531153        {0x10de, 0x0367, OK, "NVIDIA", "MCP55",         enable_flash_mcp55}, /* Pro */ 
    11541154        {0x10de, 0x03e0, NT, "NVIDIA", "MCP61",         enable_flash_mcp6x_7x}, 
    1155         {0x10de, 0x03e1, NT, "NVIDIA", "MCP61",         enable_flash_mcp6x_7x}, 
     1155        {0x10de, 0x03e1, OK, "NVIDIA", "MCP61",         enable_flash_mcp6x_7x}, 
    11561156        {0x10de, 0x03e2, NT, "NVIDIA", "MCP61",         enable_flash_mcp6x_7x}, 
    11571157        {0x10de, 0x03e3, NT, "NVIDIA", "MCP61",         enable_flash_mcp6x_7x}, 
     
    11971197        {0x8086, 0x1c47, NT, "Intel", "UM67",           enable_flash_pch6}, 
    11981198        {0x8086, 0x1c49, NT, "Intel", "HM65",           enable_flash_pch6}, 
    1199         {0x8086, 0x1c4a, NT, "Intel", "H67",            enable_flash_pch6}, 
     1199        {0x8086, 0x1c4a, OK, "Intel", "H67",            enable_flash_pch6}, 
    12001200        {0x8086, 0x1c4b, NT, "Intel", "HM67",           enable_flash_pch6}, 
    12011201        {0x8086, 0x1c4c, NT, "Intel", "Q65",            enable_flash_pch6}, 
     
    12081208        {0x8086, 0x1c56, NT, "Intel", "C206",           enable_flash_pch6}, 
    12091209        {0x8086, 0x1c5c, NT, "Intel", "H61",            enable_flash_pch6}, 
     1210        {0x8086, 0x1d40, OK, "Intel", "X79",            enable_flash_ich10}, /* FIXME: when datasheet is available */ 
     1211        {0x8086, 0x1d41, NT, "Intel", "X79",            enable_flash_ich10}, /* FIXME: when datasheet is available */ 
    12101212        {0x8086, 0x2410, OK, "Intel", "ICH",            enable_flash_ich_4e}, 
    12111213        {0x8086, 0x2420, OK, "Intel", "ICH0",           enable_flash_ich_4e}, 
     
    12501252        {0x8086, 0x3b02, NT, "Intel", "P55",            enable_flash_pch5}, 
    12511253        {0x8086, 0x3b03, NT, "Intel", "PM55",           enable_flash_pch5}, 
    1252         {0x8086, 0x3b06, NT, "Intel", "H55",            enable_flash_pch5}, 
     1254        {0x8086, 0x3b06, OK, "Intel", "H55",            enable_flash_pch5}, 
    12531255        {0x8086, 0x3b07, OK, "Intel", "QM57",           enable_flash_pch5}, 
    12541256        {0x8086, 0x3b08, NT, "Intel", "H57",            enable_flash_pch5}, 
  • trunk/dmi.c

    r1413 r1425  
    8282        {0x11, 0, "Main Server Chassis"}, 
    8383        {0x17, 0, "Rack Mount Chassis"}, 
     84        {0x18, 0, "Sealed-case PC"}, /* used by Supermicro (X8SIE) */ 
    8485}; 
    8586 
  • trunk/flashchips.c

    r1421 r1425  
    15451545                .page_size      = 256, 
    15461546                .feature_bits   = FEATURE_WRSR_WREN, 
    1547                 .tested         = TEST_UNTESTED, 
     1547                .tested         = TEST_OK_PROBE, 
    15481548                .probe          = probe_spi_rdid, 
    15491549                .probe_timing   = TIMING_ZERO, 
     
    37693769                .total_size     = 128, 
    37703770                .page_size      = 128 * 1024, /* 112k + 2x4k + 8k */ 
    3771                 .tested         = TEST_UNTESTED, 
     3771                .tested         = TEST_OK_PR, 
    37723772                .probe          = probe_jedec, 
    37733773                .probe_timing   = TIMING_ZERO,  /* Datasheet has no timing info specified */ 
     
    37753775                { 
    37763776                        { 
    3777                                 .eraseblocks = {  
     3777                                .eraseblocks = { 
    37783778                                        {112 * 1024, 1}, 
    37793779                                        {4 * 1024, 2}, 
     
    44894489        { 
    44904490                .vendor         = "Macronix", 
    4491                 .name           = "MX29F002B", 
     4491                .name           = "MX29F002(N)B", 
    44924492                .bustype        = BUS_PARALLEL, 
    44934493                .manufacture_id = MACRONIX_ID, 
     
    45214521        { 
    45224522                .vendor         = "Macronix", 
    4523                 .name           = "MX29F002T", 
     4523                .name           = "MX29F002(N)T", 
    45244524                .bustype        = BUS_PARALLEL, 
    45254525                .manufacture_id = MACRONIX_ID, 
     
    56385638        { 
    56395639                .vendor         = "SST", 
    5640                 .name           = "SST25VF010.REMS", 
     5640                .name           = "SST25VF010", 
    56415641                .bustype        = BUS_SPI, 
    56425642                .manufacture_id = SST_ID, 
     
    57765776        { 
    57775777                .vendor         = "SST", 
    5778                 .name           = "SST25VF040.REMS", 
     5778                .name           = "SST25VF040", 
    57795779                .bustype        = BUS_SPI, 
    57805780                .manufacture_id = SST_ID, 
     
    61266126                .page_size      = 4096, 
    61276127                .feature_bits   = FEATURE_EITHER_RESET, 
    6128                 .tested         = TEST_OK_PRE, 
     6128                .tested         = TEST_OK_PREW, 
    61296129                .probe          = probe_jedec, 
    61306130                .probe_timing   = 1,                    /* 150 ns */ 
     
    66116611                .page_size      = 64 * 1024, 
    66126612                .feature_bits   = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, 
    6613                 .tested         = TEST_OK_PRE, 
     6613                .tested         = TEST_OK_PREW, 
    66146614                .probe          = probe_jedec, 
    66156615                .probe_timing   = 1,            /* 150ns */ 
     
    67306730        { 
    67316731                .vendor         = "ST", 
    6732                 .name           = "M25P05.RES", 
     6732                .name           = "M25P05", 
    67336733                .bustype        = BUS_SPI, 
    67346734                .manufacture_id = 0, /* Not used. */ 
     
    67856785        { 
    67866786                .vendor         = "ST", 
    6787                 .name           = "M25P10.RES", 
     6787                .name           = "M25P10", 
    67886788                .bustype        = BUS_SPI, 
    67896789                .manufacture_id = 0, /* Not used. */ 
     
    68386838 
    68396839        { 
    6840                 .vendor         = "ST", 
     6840                .vendor         = "ST", /* Numonyx */ 
    68416841                .name           = "M25P40", 
    68426842                .bustype        = BUS_SPI, 
  • trunk/flashchips.h

    r1384 r1425  
    370370#define MACRONIX_MX29F001B      0x19 
    371371#define MACRONIX_MX29F001T      0x18 
    372 #define MACRONIX_MX29F002B      0x34    /* Same as MX29F002NB */ 
    373 #define MACRONIX_MX29F002T      0xB0    /* Same as MX29F002NT */ 
     372#define MACRONIX_MX29F002B      0x34    /* Same as MX29F002NB; N has reset pin n/c. */ 
     373#define MACRONIX_MX29F002T      0xB0    /* Same as MX29F002NT; N has reset pin n/c. */ 
    374374#define MACRONIX_MX29F004B      0x46 
    375375#define MACRONIX_MX29F004T      0x45 
     
    475475#define SST_SST25VF040B         0x258D 
    476476#define SST_SST25VF040B_REMS    0x8D    /* REMS or RES opcode */ 
    477 #define SST_SST25VF080_REMS     0x80    /* REMS or RES opcode */ 
     477#define SST_SST25VF080_REMS     0x80    /* REMS or RES opcode, same as SST25LF080A */ 
    478478#define SST_SST25VF080B         0x258E 
    479479#define SST_SST25VF080B_REMS    0x8E    /* REMS or RES opcode */ 
     
    527527 * byte of device ID is related to log(bitsize) at least for some chips. 
    528528 */ 
    529 #define ST_ID                   0x20    /* ST / SGS/Thomson */ 
     529#define ST_ID                   0x20    /* ST / SGS/Thomson / Numonyx (later acquired by Micron) */ 
    530530#define ST_M25P05A              0x2010 
    531531#define ST_M25P05_RES           0x10    /* Same code as M25P10. */ 
  • trunk/nicintel.c

    r1396 r1425  
    2929const struct pcidev_status nics_intel[] = { 
    3030        {PCI_VENDOR_ID_INTEL, 0x1209, NT, "Intel", "8255xER/82551IT Fast Ethernet Controller"}, 
    31         {PCI_VENDOR_ID_INTEL, 0x1229, NT, "Intel", "82557/8/9/0/1 Ethernet Pro 100"}, 
     31        {PCI_VENDOR_ID_INTEL, 0x1229, OK, "Intel", "82557/8/9/0/1 Ethernet Pro 100"}, 
    3232 
    3333        {}, 
  • trunk/print.c

    r1424 r1425  
    432432        B("ASUS",       "A8V-E Deluxe",         1, "http://www.asus.com/product.aspx?P_ID=hQBPIJWEZnnGAZEh", NULL), 
    433433        B("ASUS",       "A8V-E SE",             1, "http://www.asus.com/product.aspx?P_ID=VMfiJJRYTHM4gXIi", "See http://www.coreboot.org/pipermail/coreboot/2007-October/026496.html"), 
     434        B("ASUS",       "Crosshair IV Extreme", 1, "http://www.asus.com/product.aspx?P_ID=lt1ShF6xEn3rlLe7", NULL), 
    434435        B("ASUS",       "E35M1-I DELUXE",       1, "http://www.asus.com/product.aspx?P_ID=9BmKhMwWCwqyl1lz", NULL), 
    435436        B("ASUS",       "K8V",                  1, "http://www.asus.com/product.aspx?P_ID=fG2KZOWF7v6MRFRm", NULL), 
    436437        B("ASUS",       "K8V SE Deluxe",        1, "http://www.asus.com/product.aspx?P_ID=65HeDI8XM1u6Uy6o", NULL), 
     438        B("ASUS",       "K8V-X",                1, NULL, NULL), 
    437439        B("ASUS",       "K8V-X SE",             1, "http://www.asus.com/product.aspx?P_ID=lzDXlbBVHkdckHVr", NULL), 
    438440        B("ASUS",       "M2A-MX",               1, "http://www.asus.com/product.aspx?P_ID=BmaOnPewi1JgltOZ", NULL), 
     
    470472        B("ASUS",       "P4P800",               1, "http://www.asus.com/product.aspx?P_ID=DYt1Et9MlBChqzLb", NULL), 
    471473        B("ASUS",       "P4P800-E Deluxe",      1, "http://www.asus.com/product.aspx?P_ID=INIJUvLlif7LHp3g", NULL), 
     474        B("ASUS",       "P4P800-VM",            1, NULL, NULL), 
    472475        B("ASUS",       "P4SC-E",               1, "ftp://ftp.asus.com.tw/pub/ASUS/mb/sock478/p4sc-e/", "Part of ASUS Terminator P4 533 barebone system"), 
    473476        B("ASUS",       "P4SD-LA",              1, "http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00022505", NULL), 
     
    497500        B("ASUS",       "P6T Deluxe V2",        1, "http://www.asus.com/product.aspx?P_ID=iRlP8RG9han6saZx", NULL), 
    498501        B("ASUS",       "P7H57D-V EVO",         1, "http://www.asus.com/Motherboards/Intel_Socket_1156/P7H57DV_EVO/", NULL), 
     502        B("ASUS",       "P7H55-M LX",           0, NULL, "flashrom works correctly, but GbE LAN is nonworking (probably due to a missing/bogus MAC address; see http://www.flashrom.org/pipermail/flashrom/2011-July/007432.html and http://ubuntuforums.org/showthread.php?t=1534389 for a possible workaround)"), 
    499503        B("ASUS",       "Z8NA-D6C",             1, "http://www.asus.com/product.aspx?P_ID=k81cpN8uEB01BpQ6", NULL), 
    500504        B("BCOM",       "WinNET100",            1, "http://www.coreboot.org/BCOM_WINNET100", "Used in the IGEL-316 thin client."), 
     505        B("Biostar",    "N68S3+",               1, NULL, NULL), 
    501506        B("Biostar",    "M6TBA",                0, "ftp://ftp.biostar-usa.com/manuals/M6TBA/", "No public report found. Owned by Uwe Hermann <uwe@hermann-uwe.de>. May work now."), 
    502507        B("Biostar",    "M7NCD Pro",            1, "http://www.biostar.com.tw/app/en/mb/content.php?S_ID=260", NULL), 
     
    513518        B("Elitegroup", "K7S6A",                1, "http://www.ecs.com.tw/ECSWebSite/Products/ProductsDetail.aspx?detailid=77&CategoryID=1&DetailName=Specification&MenuID=52&LanID=0", NULL), 
    514519        B("Elitegroup", "K7VTA3",               1, "http://www.ecs.com.tw/ECSWebSite/Products/ProductsDetail.aspx?detailid=264&CategoryID=1&DetailName=Specification&MenuID=52&LanID=0", NULL), 
     520        B("Elitegroup", "P4M800PRO-M (V1.0A)",  1, "http://www.ecs.com.tw/ECSWebSite_2007/Products/ProductsDetail.aspx?CategoryID=1&DetailID=574&DetailName=Feature&MenuID=52&LanID=0", NULL), 
    515521        B("Elitegroup", "P6IWP-Fe",             1, "http://www.ecs.com.tw/ECSWebSite_2007/Products/ProductsDetail.aspx?CategoryID=1&TypeID=3&DetailID=95&DetailName=Feature&MenuID=1&LanID=0", NULL), 
    516522        B("Elitegroup", "P6VAP-A+",             1, "http://www.ecs.com.tw/ECSWebSite/Products/ProductsDetail.aspx?detailid=117&CategoryID=1&DetailName=Specification&MenuID=1&LanID=0", NULL), 
     
    568574        B("GIGABYTE",   "GA-MA790XT-UD4P (rev. 1.0)", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=3010", NULL), 
    569575        B("GIGABYTE",   "GA-P55A-UD4 (rev. 1.0)", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=3436", NULL), 
     576        B("GIGABYTE",   "GA-X58A-UD7 (rev. 2.0)", 1, NULL, NULL), 
    570577        B("HP",         "e-Vectra P2706T",      1, "http://h20000.www2.hp.com/bizsupport/TechSupport/Home.jsp?lang=en&cc=us&prodSeriesId=77515&prodTypeId=12454", NULL), 
    571578        B("HP",         "ProLiant DL145 G3",    1, "http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c00816835&lang=en&cc=us&taskId=101&prodSeriesId=3219755&prodTypeId=15351", NULL), 
     
    580587        B("IEI",        "PICOe-9452",           1, "http://www.ieiworld.com/product_groups/industrial/content.aspx?keyword=WSB&gid=00001000010000000001&cid=08125380291060861658&id=08142308605814597144", NULL), 
    581588        B("Intel",      "D201GLY",              1, "http://www.intel.com/support/motherboards/desktop/d201gly/index.htm", NULL), 
     589        B("Intel",      "D865GLC",              0, NULL, "ICH5 with BIOS lock enable, see http://paste.flashrom.org/view.php?id=775"), 
    582590        B("Intel",      "DG45ID",               0, "http://www.intel.com/products/desktop/motherboards/dg45id/dg45id-overview.htm", "Probing works (Winbond W25x32, 4096 kB, SPI), but parts of the flash are problematic: descriptor is r/o (conforming to ICH reqs), ME is locked."), 
     591        B("Intel",      "DH67CF",               0, NULL, "H67 with BIOS lock enable and locked ME region, see http://www.flashrom.org/pipermail/flashrom/2011-September/007789.html"), 
    583592        B("Intel",      "EP80759",              1, NULL, NULL), 
    584593        B("Intel",      "Foxhollow",            1, NULL, "Intel reference board."), 
     
    648657        B("Shuttle",    "AV11V30",              1, NULL, NULL), 
    649658        B("Shuttle",    "FD37",                 1, "http://www.shuttle.eu/products/discontinued/barebones/sd37p2/", NULL), 
     659        B("Shuttle",    "FH67",                 1, "http://www.shuttle.eu/products/mini-pc/sh67h3/specification/", NULL), 
    650660        B("Shuttle",    "FN25",                 1, "http://www.shuttle.eu/products/discontinued/barebones/sn25p/?0=", NULL), 
    651661        B("Shuttle",    "X50/X50(B)",           1, "http://au.shuttle.com/product_detail_spec.jsp?PI=1241", NULL), 
     
    665675        B("Supermicro", "X8DTH-6F",             1, "http://www.supermicro.com/products/motherboard/QPI/5500/X8DTH-6F.cfm", NULL), 
    666676        B("Supermicro", "X8DTT-F",              1, "http://www.supermicro.com/products/motherboard/QPI/5500/X8DTT-F.cfm", NULL), 
     677        B("Supermicro", "X8DTU-6TF+",           0, "http://www.supermicro.com/products/motherboard/QPI/5500/X8DTU_.cfm?TYP=SAS&LAN=10", "Probing works (Atmel AT25DF321A, 4096 kB, SPI), but parts of the flash are problematic: descriptor is r/o (conforming to ICH reqs), ME region is locked."), 
    667678        B("Supermicro", "X8DTU-F",              1, "http://www.supermicro.com/products/motherboard/QPI/5500/X8DTU-F.cfm", NULL), 
    668679        B("Supermicro", "X8SIE(-F)",            0, "http://www.supermicro.com/products/motherboard/Xeon3000/3400/X8SIE.cfm?IPMI=N&TYP=LN2", "Requires unlocking the ME although the registers are set up correctly by the descriptor/BIOS already (tested with swseq and hwseq)."), 
     
    684695        B("Tyan",       "S2892 (Thunder K8SE)", 1, "http://www.tyan.com/product_board_detail.aspx?pid=145", NULL), 
    685696        B("Tyan",       "S2895 (Thunder K8WE)", 1, "http://www.tyan.com/archive/products/html/thunderk8we.html", NULL), 
     697        B("Tyan",       "S2912 (Thunder n3600R)", 1, "http://www.tyan.com/product_board_detail.aspx?pid=157", NULL), 
    686698        B("Tyan",       "S2915 (Thunder n6650W)", 1, "http://tyan.com/product_board_detail.aspx?pid=163", NULL), 
    687699        B("Tyan",       "S2915-E (Thunder n6650W)", 1, "http://tyan.com/product_SKU_spec.aspx?ProductType=MB&pid=541&SKU=600000041", NULL), 
     
    713725        B("VIA",        "PC3500G",              1, "http://www.via.com.tw/en/initiatives/empowered/pc3500_mainboard/index.jsp", NULL), 
    714726        B("VIA",        "VB700X",               1, "http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=490", NULL), 
     727        B("ZOTAC",      "GeForce 8200",         1, "http://pden.zotac.com/index.php?page=shop.product_details&product_id=129&category_id=92", NULL), 
    715728        B("ZOTAC",      "ZBOX HD-ID11",         1, "http://pdde.zotac.com/index.php?page=shop.product_details&product_id=240&category_id=75", NULL), 
    716729#endif 
  • trunk/programmer.h

    r1424 r1425  
    425425#if CONFIG_NICINTEL_SPI == 1 
    426426int nicintel_spi_init(void); 
    427 int nicintel_spi_send_command(unsigned int writecnt, unsigned int readcnt, 
    428         const unsigned char *writearr, unsigned char *readarr); 
    429 void nicintel_spi_chip_writeb(uint8_t val, chipaddr addr); 
    430427extern const struct pcidev_status nics_intel_spi[]; 
    431428#endif 
Note: See TracChangeset for help on using the changeset viewer.