diff options
Diffstat (limited to 'arch/i386/kernel/cpu/cpufreq')
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/longhaul.c | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/longhaul.c b/arch/i386/kernel/cpu/cpufreq/longhaul.c index 98fbe28affff..8f65ebe4de5b 100644 --- a/arch/i386/kernel/cpu/cpufreq/longhaul.c +++ b/arch/i386/kernel/cpu/cpufreq/longhaul.c | |||
@@ -358,22 +358,15 @@ static int __init longhaul_get_ranges(void) | |||
358 | * C3 is booting at max anyway. */ | 358 | * C3 is booting at max anyway. */ |
359 | maxmult = mult; | 359 | maxmult = mult; |
360 | /* Get min multiplier */ | 360 | /* Get min multiplier */ |
361 | switch (longhaul_version) { | 361 | switch (cpu_model) { |
362 | case TYPE_LONGHAUL_V1: | 362 | case CPU_NEHEMIAH: |
363 | case TYPE_LONGHAUL_V2: | 363 | minmult = 50; |
364 | minmult = 30; | ||
365 | break; | 364 | break; |
366 | 365 | case CPU_NEHEMIAH_C: | |
367 | case TYPE_POWERSAVER: | 366 | minmult = 40; |
368 | /* Ezra-T */ | 367 | break; |
369 | if (cpu_model == CPU_EZRA_T) | 368 | default: |
370 | minmult = 30; | 369 | minmult = 30; |
371 | /* Nehemiah */ | ||
372 | else if (cpu_model == CPU_NEHEMIAH) | ||
373 | minmult = 50; | ||
374 | /* Nehemiah C */ | ||
375 | else if (cpu_model == CPU_NEHEMIAH_C) | ||
376 | minmult = 40; | ||
377 | break; | 370 | break; |
378 | } | 371 | } |
379 | 372 | ||