From 0860e723cb40b82a9f7cc2652891499e0161d89e Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Sun, 10 Jun 2012 19:03:36 +0200 Subject: udelay: add missing bus frequency commit 5b6404e4195157eac8d97ae5bf30f45612109d57 ("Fix timer frequency detection on Sandybridge") reworked the udelay code, but didn't add the 333MHz FSB entry used on Model 15 Xeons. Change-Id: Ie34f9ae3703b64672625e7bf1b943654a7a5eaa6 Signed-off-by: Sven Schnelle Reviewed-on: http://review.coreboot.org/1099 Tested-by: build bot (Jenkins) --- src/cpu/x86/lapic/apic_timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cpu/x86/lapic') diff --git a/src/cpu/x86/lapic/apic_timer.c b/src/cpu/x86/lapic/apic_timer.c index bb6cca7d9a..a4106d40f3 100644 --- a/src/cpu/x86/lapic/apic_timer.c +++ b/src/cpu/x86/lapic/apic_timer.c @@ -34,7 +34,7 @@ static int set_timer_fsb(void) { struct cpuinfo_x86 c; int core_fsb[8] = { -1, 133, -1, 166, -1, 100, -1, -1 }; - int core2_fsb[8] = { 266, 133, 200, 166, -1, 100, -1, -1 }; + int core2_fsb[8] = { 266, 133, 200, 166, 333, 100, -1, -1 }; get_fms(&c, cpuid_eax(1)); if (c.x86 != 6) @@ -45,7 +45,7 @@ static int set_timer_fsb(void) case 0x1c: /* Atom */ timer_fsb = core_fsb[rdmsr(0xcd).lo & 7]; break; - case 0xf: /* Core 2*/ + case 0xf: /* Core 2 or Xeon */ case 0x17: /* Enhanced Core */ timer_fsb = core2_fsb[rdmsr(0xcd).lo & 7]; break; -- cgit v1.2.3