Author: ruik
Date: Mon Apr  5 21:21:18 2010
New Revision: 5356
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5356

Log:
Add RS785G, looks like it works although it is RV620.

Signed-off-by: Rudolf Marek <[email protected]>
Acked-by: Stefan Reinauer <[email protected]>

Modified:
   trunk/src/include/device/pci_ids.h
   trunk/src/southbridge/amd/rs780/rs780_gfx.c

Modified: trunk/src/include/device/pci_ids.h
==============================================================================
--- trunk/src/include/device/pci_ids.h  Sat Apr  3 17:41:27 2010        (r5355)
+++ trunk/src/include/device/pci_ids.h  Mon Apr  5 21:21:18 2010        (r5356)
@@ -340,6 +340,7 @@
 #define PCI_DEVICE_ID_ATI_RS780M_INT_GFX       0x9612
 #define PCI_DEVICE_ID_ATI_RS780MC_INT_GFX      0x9613
 #define PCI_DEVICE_ID_ATI_RS780E_INT_GFX       0x9615
+#define PCI_DEVICE_ID_ATI_RS785G_INT_GFX       0x9710
 
 #define PCI_VENDOR_ID_VLSI             0x1004
 #define PCI_DEVICE_ID_VLSI_82C592      0x0005

Modified: trunk/src/southbridge/amd/rs780/rs780_gfx.c
==============================================================================
--- trunk/src/southbridge/amd/rs780/rs780_gfx.c Sat Apr  3 17:41:27 2010        
(r5355)
+++ trunk/src/southbridge/amd/rs780/rs780_gfx.c Mon Apr  5 21:21:18 2010        
(r5356)
@@ -25,6 +25,7 @@
  *     RS780M: 0x9612
  *     RS780MC:0x9613
  *     RS780E: 0x9615
+ *     RS785G: 0x9710 - just works, not much tested
  */
 #include <console/console.h>
 #include <device/device.h>
@@ -815,6 +816,11 @@
        .vendor = PCI_VENDOR_ID_ATI,
        .device = PCI_DEVICE_ID_ATI_RS780E_INT_GFX,
 };
+static const struct pci_driver pcie_driver_785g __pci_driver = {
+       .ops = &pcie_ops,
+       .vendor = PCI_VENDOR_ID_ATI,
+       .device = PCI_DEVICE_ID_ATI_RS785G_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