diff options
author | Yinghai Lu <yinghailu@gmail.com> | 2005-01-27 18:38:10 +0000 |
---|---|---|
committer | Yinghai Lu <yinghailu@gmail.com> | 2005-01-27 18:38:10 +0000 |
commit | 830435bb16e8e8dcc1e44f52b0603fcec4345664 (patch) | |
tree | 1c3a6bf5f6c3dbc8158b9ab24bdae26359c9ceb6 /src/northbridge | |
parent | 90b3e09e63565416cc1b72d6f613507a3f5365bc (diff) | |
download | coreboot-830435bb16e8e8dcc1e44f52b0603fcec4345664.tar.xz |
coherent.c don't need to read incoherent ht cap
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1902 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/amd/amdk8/coherent_ht.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/northbridge/amd/amdk8/coherent_ht.c b/src/northbridge/amd/amdk8/coherent_ht.c index 3588e523f8..0c6ce49a82 100644 --- a/src/northbridge/amd/amdk8/coherent_ht.c +++ b/src/northbridge/amd/amdk8/coherent_ht.c @@ -181,8 +181,6 @@ static void enable_routing(u8 node) print_spew("Enabling routing table for node "); print_spew_hex8(node); -// enable_apic_ext_id(node); - val=pci_read_config32(NODE_HT(node), 0x6c); val &= ~((1<<1)|(1<<0)); pci_write_config32(NODE_HT(node), 0x6c, val); @@ -266,7 +264,8 @@ static unsigned read_freq_cap(device_t dev, unsigned pos) freq_cap &= ~(1 << HT_FREQ_VENDOR); /* Ignore Vendor HT frequencies */ id = pci_read_config32(dev, 0); - +#if 0 + //is it coherent ht link? /* AMD 8131 Errata 48 */ if (id == (PCI_VENDOR_ID_AMD | (PCI_DEVICE_ID_AMD_8131_PCIX << 16))) { freq_cap &= ~(1 << HT_FREQ_800Mhz); @@ -275,6 +274,7 @@ static unsigned read_freq_cap(device_t dev, unsigned pos) if (id == (PCI_VENDOR_ID_AMD | (PCI_DEVICE_ID_AMD_8151_SYSCTRL << 16))) { freq_cap &= ~(1 << HT_FREQ_800Mhz); } +#endif /* AMD K8 Unsupported 1Ghz? */ if (id == (PCI_VENDOR_ID_AMD | (0x1100 << 16))) { freq_cap &= ~(1 << HT_FREQ_1000Mhz); |