From f932c2edadcedcab247b4f891d13c48859d202dd Mon Sep 17 00:00:00 2001 From: Rudolf Marek Date: Mon, 5 Apr 2010 19:21:18 +0000 Subject: Add RS785G, looks like it works although it is RV620. Signed-off-by: Rudolf Marek Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5356 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/device/pci_ids.h | 1 + src/southbridge/amd/rs780/rs780_gfx.c | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'src') 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 #include @@ -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) -- cgit v1.2.3