1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 15:12:36 +02:00

Add board enable for AOpen i975Xa-YDG

Success report:
http://www.flashrom.org/pipermail/flashrom/2010-October/005046.html

Corresponding to flashrom svn r1313.

Signed-off-by: Joshua Roys <roysjosh@gmail.com>
Acked-by: Idwer Vollering <vidwer@gmail.com>
This commit is contained in:
Joshua Roys 2011-05-18 01:32:16 +00:00 committed by Stefan Tauner
parent ef1017558b
commit 7225ccdb62

View File

@ -1578,6 +1578,28 @@ static int intel_ich_gpio32_raise(void)
return intel_ich_gpio_set(32, 1);
}
/*
* Suited for:
* - AOpen i975Xa-YDG: i975X + ICH7 + W83627EHF
*/
static int board_aopen_i975xa_ydg(void)
{
int ret;
/* vendor BIOS ends up in LDN6... maybe the board enable is wrong,
* or perhaps it's not needed at all?
* the regs it tries to touch are 0xF0, 0xF1, 0xF2 which means if it
* were in the right LDN, it would have to be GPIO1 or GPIO3
*/
/*
ret = winbond_gpio_set(0x2e, WINBOND_W83627EHF_ID, x, 0)
if (!ret)
*/
ret = intel_ich_gpio_set(33, 1);
return ret;
}
/*
* Suited for:
* - Acorp 6A815EPD: socket 370 + intel 815 + ICH2
@ -1945,6 +1967,7 @@ const struct board_pciid_enable board_pciid_enables[] = {
{0x1106, 0x3177, 0x17F2, 0x3177, 0x1106, 0x3148, 0x17F2, 0x3148, NULL, NULL, NULL, P3, "Albatron", "PM266A Pro", 0, OK, w836xx_memw_enable_2e},
{0x1022, 0x2090, 0, 0, 0x1022, 0x2080, 0, 0, NULL, "artecgroup", "dbe61", P3, "Artec Group", "DBE61", 0, OK, board_artecgroup_dbe6x},
{0x1022, 0x2090, 0, 0, 0x1022, 0x2080, 0, 0, NULL, "artecgroup", "dbe62", P3, "Artec Group", "DBE62", 0, OK, board_artecgroup_dbe6x},
{0x8086, 0x277c, 0xa0a0, 0x060b, 0x8086, 0x27da, 0xa0a0, 0x060b, NULL, NULL, NULL, P3, "AOpen", "i975Xa-YDG", 0, OK, board_aopen_i975xa_ydg},
{0x1039, 0x0741, 0x1849, 0x0741, 0x1039, 0x5513, 0x1849, 0x5513, "^K7S41 $", NULL, NULL, P3, "ASRock", "K7S41", 0, OK, w836xx_memw_enable_2e},
{0x8086, 0x24D4, 0x1849, 0x24D0, 0x8086, 0x24D5, 0x1849, 0x9739, NULL, NULL, NULL, P3, "ASRock", "P4i65GV", 0, OK, intel_ich_gpio23_raise},
{0x8086, 0x2570, 0x1849, 0x2570, 0x8086, 0x24d3, 0x1849, 0x24d0, NULL, NULL, NULL, P3, "ASRock", "775i65G", 0, OK, intel_ich_gpio23_raise},