From ef03afa405b049a172146aab93cfb81fb21f3945 Mon Sep 17 00:00:00 2001 From: "arch import user (historical)" Date: Wed, 6 Jul 2005 17:15:30 +0000 Subject: Revision: linuxbios@linuxbios.org--devel/freebios--devel--2.0--patch-34 Creator: Yinghai Lu AMD D0/E0 Opteron new mem mapping support, AMD E Opteron mem hole support,AMD K8 Four Ranks DIMM support git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1950 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/devices/hypertransport.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/devices') diff --git a/src/devices/hypertransport.c b/src/devices/hypertransport.c index 7bc1c215b8..80c621ed79 100644 --- a/src/devices/hypertransport.c +++ b/src/devices/hypertransport.c @@ -10,6 +10,10 @@ #define OPT_HT_LINK 0 +#if OPT_HT_LINK == 1 +#include "../northbridge/amd/amdk8/cpu_rev.c" +#endif + static device_t ht_scan_get_devs(device_t *old_devices) { device_t first, last; @@ -47,6 +51,7 @@ static unsigned ht_read_freq_cap(device_t dev, unsigned pos) } else /* AMD K8 Unsupported 1Ghz? */ if ((dev->vendor == PCI_VENDOR_ID_AMD) && (dev->device == 0x1100)) { + if (is_cpu_pre_e0()) freq_cap &= ~(1 << HT_FREQ_1000Mhz); } return freq_cap; -- cgit v1.2.3