summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Roys <roysjosh@gmail.com>2011-05-18 01:32:16 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2011-05-18 01:32:16 +0000
commit7225ccdb62d8220c29bc2ae48f778c33d7192de8 (patch)
tree0dcb8b61283be43cb5d13d32efe50a7080784ef9
parentef1017558b3fc683599f3250d6b57fc95f348292 (diff)
downloadast2050-flashrom-7225ccdb62d8220c29bc2ae48f778c33d7192de8.zip
ast2050-flashrom-7225ccdb62d8220c29bc2ae48f778c33d7192de8.tar.gz
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>
-rw-r--r--board_enable.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/board_enable.c b/board_enable.c
index c4f2883..16e50d4 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -1580,6 +1580,28 @@ static int intel_ich_gpio32_raise(void)
/*
* 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
*/
static int board_acorp_6a815epd(void)
@@ -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},
OpenPOWER on IntegriCloud