summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRudolf Marek <r.marek@assembler.cz>2010-04-05 19:21:18 +0000
committerRudolf Marek <r.marek@assembler.cz>2010-04-05 19:21:18 +0000
commitf932c2edadcedcab247b4f891d13c48859d202dd (patch)
tree647debe3b2eac6ac76621c007476e4cb3f11359f /src
parentc9250c6740d4aa32724115ddda166f191501b2df (diff)
Add RS785G, looks like it works although it is RV620.
Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5356 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/include/device/pci_ids.h1
-rw-r--r--src/southbridge/amd/rs780/rs780_gfx.c6
2 files changed, 7 insertions, 0 deletions
diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h
index 7e4d18831f..c98887a701 100644
--- a/src/include/device/pci_ids.h
+++ b/src/include/device/pci_ids.h
@@ -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
diff --git a/src/southbridge/amd/rs780/rs780_gfx.c b/src/southbridge/amd/rs780/rs780_gfx.c
index 066dc60762..7c951ef42d 100644
--- a/src/southbridge/amd/rs780/rs780_gfx.c
+++ b/src/southbridge/amd/rs780/rs780_gfx.c
@@ -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 @@ static const struct pci_driver pcie_driver_780e __pci_driver = {
.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)