Changeset 1455


Ignore:
Timestamp:
10/21/11 15:20:11 (7 months ago)
Author:
stefanct
Message:

Add board enable for ABIT AV8

I disassembled the write enable and the write disable functions from
the Award BIOS image and reconstructed C code to understand for
myself what happens. For details see:
http://www.flashrom.org/pipermail/flashrom/2011-October/008033.html

I compared the download pages of both, abit AV8 and abit AV8-3rd Eye,
and the BIOS downloads are the same. So it's save to assume that this
board enable works on both versions. Tested on AV8.

Signed-off-by: Christoph Grenz <christophg+cb@…>
Acked-by: Stefan Tauner <stefan.tauner@…>

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/board_enable.c

    r1425 r1455  
    18311831/* 
    18321832 * Suited for: 
     1833 *  - abit AV8: Socket939 + K8T800Pro + VT8237 
     1834 */ 
     1835static int board_abit_av8(void) 
     1836{ 
     1837        uint8_t val; 
     1838 
     1839        /* Raise GPO pins GP22 & GP23 */ 
     1840        val = INB(0x404E); 
     1841        val |= 0xC0; 
     1842        OUTB(val, 0x404E); 
     1843 
     1844        return 0; 
     1845} 
     1846 
     1847/* 
     1848 * Suited for: 
    18331849 *  - ASUS A7V333: VIA KT333 + VT8233A + IT8703F 
    18341850 *  - ASUS A7V8X: VIA KT400 + VT8235 + IT8703F 
     
    19801996#if defined(__i386__) || defined(__x86_64__) 
    19811997        {0x10DE, 0x0547, 0x147B, 0x1C2F,  0x10DE, 0x0548, 0x147B, 0x1C2F, NULL,         NULL, NULL,           P3, "abit",        "AN-M2",                 0,   NT, nvidia_mcp_gpio2_raise}, 
     1998        {0x1106, 0x0282, 0x147B, 0x1415,  0x1106, 0x3227, 0x147B, 0x1415, "^AV8 ",      NULL, NULL,           P3, "abit",        "AV8",                   0,   OK, board_abit_av8}, 
    19821999        {0x8086, 0x7190,      0,      0,  0x8086, 0x7110,      0,      0, "^i440BX-W977 (BM6)$", NULL, NULL,  P3, "abit",        "BM6",                   0,   OK, intel_piix4_gpo26_lower}, 
    19832000        {0x8086, 0x24d3, 0x147b, 0x1014,  0x8086, 0x2578, 0x147b, 0x1014, NULL,         NULL, NULL,           P3, "abit",        "IC7",                   0,   NT, intel_ich_gpio23_raise}, 
  • trunk/print.c

    r1454 r1455  
    536536        B("A-Trend",    "ATC-6220",             1, "http://www.motherboard.cz/mb/atrend/atc6220.htm", NULL), 
    537537        B("abit",       "AN-M2",                1, "http://www.abit.com.tw/page/en/motherboard/motherboard_detail.php?DEFTITLE=Y&fMTYPE=Socket%20AM2&pMODEL_NAME=AN-M2", NULL), 
     538        B("abit",       "AV8",                  1, "http://www.abit.com.tw/page/en/motherboard/motherboard_detail.php?DEFTITLE=Y&fMTYPE=Socket%20939&pMODEL_NAME=AV8", NULL), 
    538539        B("abit",       "AX8",                  1, "http://www.abit.com.tw/page/en/motherboard/motherboard_detail.php?DEFTITLE=Y&fMTYPE=Socket%20939&pMODEL_NAME=AX8", NULL), 
    539540        B("abit",       "BM6",                  1, "http://www.abit.com.tw/page/en/motherboard/motherboard_detail.php?pMODEL_NAME=BM6&fMTYPE=Socket%20370", NULL), 
Note: See TracChangeset for help on using the changeset viewer.