Hi List,

the patch attached adds support for the AMD-768 chipset.

Signed-off-by: Sven Schnelle <[email protected]>

Index: chipset_enable.c
===================================================================
--- chipset_enable.c    (revision 3845)
+++ chipset_enable.c    (working copy)
@@ -114,6 +114,19 @@
        return 0;
 }
 
+static int enable_flash_amd768(struct pci_dev *dev, const char *name)
+{
+       /* enable address decoding for LPC */
+       pci_write_byte(dev, 0x40, pci_read_byte(dev, 0x40) | 0x01);
+       pci_write_byte(dev, 0x43, 0xbf);
+
+       return 0;
+}
+
 /* Datasheet:
  *   - Name: 82371AB PCI-TO-ISA / IDE XCELERATOR (PIIX4)
  *   - URL: http://www.intel.com/design/intarch/datashts/290562.htm
@@ -937,6 +950,7 @@
        {0x1002, 0x4377, "ATI SB400",           enable_flash_sb400},
        {0x1166, 0x0205, "Broadcom HT-1000",    enable_flash_ht1000},
        {0x1022, 0x3000, "AMD Elan SC520",      get_flashbase_sc520},
+       {0x1022, 0x7440, "AMD AMD-768",         enable_flash_amd768},
 };
 
 void print_supported_chipsets(void)

--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to