Author: hailfinger
Date: 2008-12-17 03:14:24 +0100 (Wed, 17 Dec 2008)
New Revision: 3816

Modified:
   trunk/coreboot-v2/src/southbridge/amd/rs690/rs690_gfx.c
Log:
Add 690G and 690(MT) internal graphics support.
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 <[email protected]>
Acked-by: Carl-Daniel Hailfinger <[email protected]>


Modified: trunk/coreboot-v2/src/southbridge/amd/rs690/rs690_gfx.c
===================================================================
--- trunk/coreboot-v2/src/southbridge/amd/rs690/rs690_gfx.c     2008-12-15 
12:15:49 UTC (rev 3815)
+++ trunk/coreboot-v2/src/southbridge/amd/rs690/rs690_gfx.c     2008-12-17 
02:14:24 UTC (rev 3816)
@@ -211,12 +211,22 @@
        .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)
 {


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

Reply via email to