Add 690G and 690(MT) internal graphics support.
authorZheng Bao <zheng.bao@amd.com>
Wed, 17 Dec 2008 02:14:24 +0000 (02:14 +0000)
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Wed, 17 Dec 2008 02:14:24 +0000 (02:14 +0000)
The device ID of 690G is 0x791E, while the ID of 690M and 690T is 0x791F

This fixes booting on 690G.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3816 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/southbridge/amd/rs690/rs690_gfx.c

index ebddda2b51e1650eb818df0b7279bd668fd60f5b..d4c8755f8a4c5a5e4155c6ae8721e71563e1689d 100644 (file)
@@ -211,12 +211,22 @@ static struct device_operations pcie_ops = {
        .ops_pci = &lops_pci,
 };
 
-static struct pci_driver pcie_driver __pci_driver = {
+/*
+ * The dev id of 690G is 791E, while the id of 690M, 690T is 791F.
+ * We should list both of them here.
+ * */
+static struct pci_driver pcie_driver_690t __pci_driver = {
        .ops = &pcie_ops,
        .vendor = PCI_VENDOR_ID_ATI,
        .device = PCI_DEVICE_ID_ATI_RS690MT_INT_GFX,
 };
 
+static struct pci_driver pcie_driver_690 __pci_driver = {
+       .ops = &pcie_ops,
+       .vendor = PCI_VENDOR_ID_ATI,
+       .device = PCI_DEVICE_ID_ATI_RS690_INT_GFX,
+};
+
 /* step 12 ~ step 14 from rpr */
 static void single_port_configuration(device_t nb_dev, device_t dev)
 {