summaryrefslogtreecommitdiff
path: root/src/cpu/intel/speedstep/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/intel/speedstep/acpi.c')
-rw-r--r--src/cpu/intel/speedstep/acpi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cpu/intel/speedstep/acpi.c b/src/cpu/intel/speedstep/acpi.c
index 249d9e47a8..d658c705ee 100644
--- a/src/cpu/intel/speedstep/acpi.c
+++ b/src/cpu/intel/speedstep/acpi.c
@@ -49,13 +49,15 @@ static int determine_total_number_of_cores(void)
static int get_fsb(void)
{
- u32 fsbcode=(rdmsr(0xcd).lo >> 4) & 7;
+ const u32 fsbcode = rdmsr(0xcd).lo & 7;
switch (fsbcode) {
case 0: return 266;
case 1: return 133;
case 2: return 200;
case 3: return 166;
+ case 4: return 333;
case 5: return 100;
+ case 6: return 400;
}
printk(BIOS_DEBUG, "Warning: No supported FSB frequency. Assuming 200MHz\n");
return 200;