Author: hailfinger
Date: Wed Sep 15 16:47:56 2010
New Revision: 1174
URL: http://flashrom.org/trac/flashrom/changeset/1174

Log:
Add chipset enable for Broadcom OSB4.

No docs available.

Signed-off-by: Joshua Roys <[email protected]>
Acked-by: Carl-Daniel Hailfinger <[email protected]>

Modified:
   trunk/chipset_enable.c

Modified: trunk/chipset_enable.c
==============================================================================
--- trunk/chipset_enable.c      Wed Sep 15 14:02:07 2010        (r1173)
+++ trunk/chipset_enable.c      Wed Sep 15 16:47:56 2010        (r1174)
@@ -802,6 +802,23 @@
        return 0;
 }
 
+static int enable_flash_osb4(struct pci_dev *dev, const char *name)
+{
+       uint8_t tmp;
+
+       buses_supported = CHIP_BUSTYPE_PARALLEL;
+
+       tmp = INB(0xc06);
+       tmp |= 0x1;
+       OUTB(tmp, 0xc06);
+
+       tmp = INB(0xc6f);
+       tmp |= 0x40;
+       OUTB(tmp, 0xc6f);
+
+       return 0;
+}
+
 /* ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80) */
 static int enable_flash_sb400(struct pci_dev *dev, const char *name)
 {
@@ -1008,6 +1025,7 @@
        {0x1002, 0x439d, OK, "AMD", "SB700/SB710/SB750", enable_flash_sb600},
        {0x100b, 0x0510, NT, "AMD", "SC1100",           enable_flash_sc1100},
        {0x1002, 0x4377, OK, "ATI", "SB400",            enable_flash_sb400},
+       {0x1166, 0x0200, OK, "Broadcom", "OSB4",        enable_flash_osb4},
        {0x1166, 0x0205, OK, "Broadcom", "HT-1000",     enable_flash_ht1000},
        {0x8086, 0x3b00, NT, "Intel", "3400 Desktop",   enable_flash_ich10},
        {0x8086, 0x3b01, NT, "Intel", "3400 Mobile",    enable_flash_ich10},

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to