summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Bao <zheng.bao@amd.com>2010-12-31 01:46:12 +0000
committerZheng Bao <Zheng.Bao@amd.com>2010-12-31 01:46:12 +0000
commit40992d33b8d9f0b3c762d77c7538a8a4aacf3bfb (patch)
treedebd07df1f64ecf6c044fabebc6a48e03b834db3
parent6d81646314af1b720665b6bdb4e7523ae80cca73 (diff)
downloadcoreboot-40992d33b8d9f0b3c762d77c7538a8a4aacf3bfb.tar.xz
Add RS785(RS880) support. Just few pci_ids.
Signed-off-by: Zheng Bao <zheng.bao@amd.com> Acked-by: Stefan Reinauer <stepan@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6227 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/include/device/pci_ids.h4
-rw-r--r--src/southbridge/amd/rs780/gfx.c24
2 files changed, 28 insertions, 0 deletions
diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h
index 1103d6b4c8..7643f370ee 100644
--- a/src/include/device/pci_ids.h
+++ b/src/include/device/pci_ids.h
@@ -341,6 +341,10 @@
#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_DEVICE_ID_ATI_RS785C_INT_GFX 0x9711
+#define PCI_DEVICE_ID_ATI_RS785M_INT_GFX 0x9712
+#define PCI_DEVICE_ID_ATI_RS785MC_INT_GFX 0x9713
+#define PCI_DEVICE_ID_ATI_RS785D_INT_GFX 0x9714
#define PCI_VENDOR_ID_VLSI 0x1004
#define PCI_DEVICE_ID_VLSI_82C592 0x0005
diff --git a/src/southbridge/amd/rs780/gfx.c b/src/southbridge/amd/rs780/gfx.c
index 4a141314f9..d7c11e4003 100644
--- a/src/southbridge/amd/rs780/gfx.c
+++ b/src/southbridge/amd/rs780/gfx.c
@@ -26,6 +26,10 @@
* RS780MC:0x9613
* RS780E: 0x9615
* RS785G: 0x9710 - just works, not much tested
+ * RS785C: 0x9711
+ * RS785M: 0x9712
+ * RS785MC:0x9713
+ * RS785D: 0x9714
*/
#include <console/console.h>
#include <device/device.h>
@@ -912,6 +916,26 @@ static const struct pci_driver pcie_driver_785g __pci_driver = {
.vendor = PCI_VENDOR_ID_ATI,
.device = PCI_DEVICE_ID_ATI_RS785G_INT_GFX,
};
+static const struct pci_driver pcie_driver_785c __pci_driver = {
+ .ops = &pcie_ops,
+ .vendor = PCI_VENDOR_ID_ATI,
+ .device = PCI_DEVICE_ID_ATI_RS785C_INT_GFX,
+};
+static const struct pci_driver pcie_driver_785m __pci_driver = {
+ .ops = &pcie_ops,
+ .vendor = PCI_VENDOR_ID_ATI,
+ .device = PCI_DEVICE_ID_ATI_RS785M_INT_GFX,
+};
+static const struct pci_driver pcie_driver_785mc __pci_driver = {
+ .ops = &pcie_ops,
+ .vendor = PCI_VENDOR_ID_ATI,
+ .device = PCI_DEVICE_ID_ATI_RS785MC_INT_GFX,
+};
+static const struct pci_driver pcie_driver_785d __pci_driver = {
+ .ops = &pcie_ops,
+ .vendor = PCI_VENDOR_ID_ATI,
+ .device = PCI_DEVICE_ID_ATI_RS785D_INT_GFX,
+};
/* step 12 ~ step 14 from rpr */
static void single_port_configuration(device_t nb_dev, device_t dev)