Changeset 1458


Ignore:
Timestamp:
11/02/11 15:31:18 (7 months ago)
Author:
stefanct
Message:

Add board enable for Sun Ultra 40 M2

Failure report with logs:
http://www.flashrom.org/pipermail/flashrom/2011-October/008158.html
Success report:
 http://paste.flashrom.org/view.php?id=889

Signed-off-by: Joshua Roys <roysjosh@…>
Acked-by: Stefan Tauner <stefan.tauner@…>

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/board_enable.c

    r1457 r1458  
    10481048{ 
    10491049        return nvidia_mcp_gpio_set(0x3b, 1); 
     1050} 
     1051 
     1052/* 
     1053 * Suited for: 
     1054 *  - Sun Ultra 40 M2: Dual Socket F (1207) + MCP55 
     1055 */ 
     1056static int board_sun_ultra_40_m2(void) 
     1057{ 
     1058        int ret; 
     1059        uint8_t reg; 
     1060        uint16_t base; 
     1061        struct pci_dev *dev; 
     1062 
     1063        ret = nvidia_mcp_gpio4_lower(); 
     1064        if (ret) 
     1065                return ret; 
     1066 
     1067        dev = pci_dev_find(0x10de, 0x0364); /* NVIDIA MCP55 LPC bridge */ 
     1068        if (!dev) { 
     1069                msg_perr("\nERROR: NVIDIA MCP55 LPC bridge not found.\n"); 
     1070                return -1; 
     1071        } 
     1072 
     1073        base = pci_read_word(dev, 0xb4); /* some IO BAR? */ 
     1074        if (!base) 
     1075                return -1; 
     1076 
     1077        reg = INB(base + 0x4b); 
     1078        reg |= 0x10; 
     1079        OUTB(reg, base + 0x4b); 
     1080 
     1081        return 0; 
    10501082} 
    10511083 
     
    21102142        {0x10DE, 0x0050, 0x1297, 0x5036,  0x1412, 0x1724, 0x1297, 0x5036, NULL,         NULL, NULL,           P3, "Shuttle",     "FN25",                  0,   OK, board_shuttle_fn25}, 
    21112143        {0x1106, 0x3038, 0x0925, 0x1234,  0x1106, 0x3058, 0x15DD, 0x7609, NULL,         NULL, NULL,           P3, "Soyo",        "SY-7VCA",               0,   OK, via_apollo_gpo0_lower}, 
     2144        {0x10de, 0x0364, 0x108e, 0x6676,  0x10de, 0x0369, 0x108e, 0x6676, "^Sun Ultra 40 M2", NULL, NULL,     P3, "Sun",         "Ultra 40 M2",           0,   OK, board_sun_ultra_40_m2}, 
    21122145        {0x1106, 0x3038, 0x0925, 0x1234,  0x1106, 0x0596, 0x1106,      0, NULL,         NULL, NULL,           P3, "Tekram",      "P6Pro-A5",              256, OK, NULL}, 
    21132146        {0x1106, 0x3123, 0x1106, 0x3123,  0x1106, 0x3059, 0x1106, 0x4161, NULL,         NULL, NULL,           P3, "Termtek",     "TK-3370 (Rev:2.5B)",    0,   OK, w836xx_memw_enable_4e}, 
  • trunk/print.c

    r1457 r1458  
    847847        B("Sun",        "Fire x4540",           0, "http://www.sun.com/servers/x64/x4540/", "No public report found. May work now."), 
    848848        B("Sun",        "Fire x4600",           0, "http://www.sun.com/servers/x64/x4600/", "No public report found. May work now."), 
     849        B("Sun",        "Ultra 40 M2",          1, "http://download.oracle.com/docs/cd/E19127-01/ultra40.ws/820-0123-13/intro.html", NULL), 
    849850        B("Supermicro", "H8QC8",                1, "http://www.supermicro.com/Aplus/motherboard/Opteron/nforce/H8QC8.cfm", NULL), 
    850851        B("Supermicro", "X5DP8-G2",             1, "http://www.supermicro.com/products/motherboard/Xeon/E7501/X5DP8-G2.cfm", NULL), 
Note: See TracChangeset for help on using the changeset viewer.