Revision: linuxbios@linuxbios.org--devel/freebios--devel--2.0--patch-34
[coreboot.git] / src / devices / hypertransport.c
index 7bc1c215b86cfc0a5aebe6c86f721f0b156f07df..80c621ed79d259a0f26cb9a5e8bb1bf19d62512a 100644 (file)
 
 #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;