From 15884260e763abe575cb9e952b5884c3bae20c85 Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Mon, 2 Feb 2009 22:55:26 +0000 Subject: flashrom: MSI MS-7046 board enable Signed-off-by: Peter Stuge Acked-by: David Tiemann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3927 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/board_enable.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/util/flashrom/board_enable.c b/util/flashrom/board_enable.c index 0c2b002b2d..fc30b78866 100644 --- a/util/flashrom/board_enable.c +++ b/util/flashrom/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; @@ -991,6 +999,20 @@ struct board_pciid_enable board_pciid_enables[] = { .name = "Intel Desktop Board D201GLY", .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, -- cgit v1.2.3