diff options
author | Li-Ta Lo <ollie@lanl.gov> | 2006-04-20 21:26:01 +0000 |
---|---|---|
committer | Li-Ta Lo <ollie@lanl.gov> | 2006-04-20 21:26:01 +0000 |
commit | 05c0869fac22cae8a35897310fef64ad94caed01 (patch) | |
tree | 5cb65c177147d9859f729f8da4cfa415b3717352 /src/northbridge | |
parent | 37784b429dc687fda68e2e779b01145e2c6d3bff (diff) | |
download | coreboot-05c0869fac22cae8a35897310fef64ad94caed01.tar.xz |
boot to kernel
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2264 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/amd/gx2/northbridge.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/northbridge/amd/gx2/northbridge.c b/src/northbridge/amd/gx2/northbridge.c index 809a440e77..1dd4c9c7a3 100644 --- a/src/northbridge/amd/gx2/northbridge.c +++ b/src/northbridge/amd/gx2/northbridge.c @@ -237,17 +237,6 @@ setup_gx2(void) } } - -static void optimize_xbus(device_t dev) -{ - /* Optimise X-Bus performance */ -/* pci_write_config8(dev, 0x40, 0x1e); - pci_write_config8(dev, 0x41, 0x52); - pci_write_config8(dev, 0x43, 0xc1); - pci_write_config8(dev, 0x44, 0x00); -*/ -} - static void enable_shadow(device_t dev) { @@ -257,11 +246,9 @@ static void northbridge_init(device_t dev) { printk_debug("northbridge: %s()\n", __FUNCTION__); - optimize_xbus(dev); enable_shadow(dev); } - static struct device_operations northbridge_operations = { .read_resources = pci_dev_read_resources, .set_resources = pci_dev_set_resources, @@ -273,12 +260,10 @@ static struct device_operations northbridge_operations = { static struct pci_driver northbridge_driver __pci_driver = { .ops = &northbridge_operations, - .vendor = PCI_VENDOR_ID_CYRIX, - .device = PCI_DEVICE_ID_CYRIX_PCI_MASTER, + .vendor = PCI_VENDOR_ID_NS, + .device = PCI_DEVICE_ID_NS_GX2, }; - - #define BRIDGE_IO_MASK (IORESOURCE_IO | IORESOURCE_MEM) static void pci_domain_read_resources(device_t dev) @@ -441,7 +426,6 @@ static void enable_dev(struct device *dev) pci_set_method(dev); ram_resource(dev, 0, 0, (sizeram() - RAMADJUSTMB)*1024); } else if (dev->path.type == DEVICE_PATH_APIC_CLUSTER) { - printk_debug("DEVICE_PATH_APIC_CLUSTER\n"); dev->ops = &cpu_bus_ops; } |