summaryrefslogtreecommitdiffstats
path: root/board_enable.c
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2009-02-02 22:55:26 +0000
committerPeter Stuge <peter@stuge.se>2009-02-02 22:55:26 +0000
commit09c13337022502f0a6421c99dbd5ee3a50565b26 (patch)
tree04fe5a83ab38f3fa577ebc9aa1c66ebc59252a72 /board_enable.c
parent0c2029f862ca2ff6aa7161cd88cb76a2c054baae (diff)
downloadast2050-flashrom-09c13337022502f0a6421c99dbd5ee3a50565b26.zip
ast2050-flashrom-09c13337022502f0a6421c99dbd5ee3a50565b26.tar.gz
MSI MS-7046 board enable
Corresponding to flashrom svn r414 and coreboot v2 svn r3927. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: David Tiemann <davidtiemann@gmail.com>
Diffstat (limited to 'board_enable.c')
-rw-r--r--board_enable.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/board_enable.c b/board_enable.c
index 0c2b002..fc30b78 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -484,6 +484,14 @@ static int ich2_gpio22_raise(const char *name)
return ich_gpio_raise(name, 0x8086, 0x2440, 0x58, 0x0c, 0xffc0, 22);
}
+/**
+ * Suited for MSI MS-7046.
+ */
+static int ich6_gpio19_raise(const char *name)
+{
+ return ich_gpio_raise(name, 0x8086, 0x2640, 0x48, 0x0c, 0xffc0, 19);
+}
+
static int board_kontron_986lcd_m(const char *name)
{
struct pci_dev *dev;
@@ -992,6 +1000,20 @@ struct board_pciid_enable board_pciid_enables[] = {
.enable = wbsio_check_for_spi,
},
{
+ .first_vendor = 0x8086,
+ .first_device = 0x2658,
+ .first_card_vendor = 0x1462,
+ .first_card_device = 0x7046,
+ .second_vendor = 0x1106,
+ .second_device = 0x3044,
+ .second_card_vendor = 0x1462,
+ .second_card_device = 0x046d,
+ .lb_vendor = NULL,
+ .lb_part = NULL,
+ .name = "MSI MS-7046",
+ .enable = ich6_gpio19_raise,
+ },
+ {
.first_vendor = 0,
.first_device = 0,
.first_card_vendor = 0,
OpenPOWER on IntegriCloud