flashrom: MSI MS-7046 board enable
[coreboot.git] / util / flashrom / board_enable.c
index 1a5decabf0361fc08068357ac2bf339485a43c94..fc30b788660cdbf076b71c359817a38c8c5bd047 100644 (file)
@@ -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;
@@ -977,6 +985,34 @@ struct board_pciid_enable board_pciid_enables[] = {
                .name                   = "MSI K8T Neo2",
                .enable                 = w83627thf_gpio4_4_raise_2e,
        },
+       {
+               .first_vendor           = 0x1039,
+               .first_device           = 0x5513,
+               .first_card_vendor      = 0x8086,
+               .first_card_device      = 0xd61f,
+               .second_vendor          = 0x1039,
+               .second_device          = 0x6330,
+               .second_card_vendor     = 0x8086,
+               .second_card_device     = 0xd61f,
+               .lb_vendor              = NULL,
+               .lb_part                = NULL,
+               .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,