diff options
author | Daniel Willerud <daniel.willerud@stericsson.com> | 2012-01-13 10:20:03 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-03-06 12:46:31 -0500 |
commit | c72fe851df21603cd149320df49064eb2f903707 (patch) | |
tree | 5b9ad3e93799c1d0973d91918887f4ff56885fd1 /drivers/cpufreq/db8500-cpufreq.c | |
parent | e536b62095301271d974983044a011c29fcb2ea2 (diff) |
mfd: Remove db8500-prcmu U8400 legacy
This removes the U8400 legacy from PRCMU and cpufreq drivers.
This platform has no current in-kernel users.
Signed-off-by: Daniel Willerud <daniel.willerud@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/cpufreq/db8500-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/db8500-cpufreq.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/drivers/cpufreq/db8500-cpufreq.c b/drivers/cpufreq/db8500-cpufreq.c index f5002015d82e..a22ffa5bff9f 100644 --- a/drivers/cpufreq/db8500-cpufreq.c +++ b/drivers/cpufreq/db8500-cpufreq.c | |||
@@ -22,11 +22,11 @@ static struct cpufreq_frequency_table freq_table[] = { | |||
22 | }, | 22 | }, |
23 | [1] = { | 23 | [1] = { |
24 | .index = 1, | 24 | .index = 1, |
25 | .frequency = 300000, | 25 | .frequency = 400000, |
26 | }, | 26 | }, |
27 | [2] = { | 27 | [2] = { |
28 | .index = 2, | 28 | .index = 2, |
29 | .frequency = 600000, | 29 | .frequency = 800000, |
30 | }, | 30 | }, |
31 | [3] = { | 31 | [3] = { |
32 | /* Used for MAX_OPP, if available */ | 32 | /* Used for MAX_OPP, if available */ |
@@ -113,12 +113,9 @@ static int __cpuinit db8500_cpufreq_init(struct cpufreq_policy *policy) | |||
113 | 113 | ||
114 | BUILD_BUG_ON(ARRAY_SIZE(idx2opp) + 1 != ARRAY_SIZE(freq_table)); | 114 | BUILD_BUG_ON(ARRAY_SIZE(idx2opp) + 1 != ARRAY_SIZE(freq_table)); |
115 | 115 | ||
116 | if (!prcmu_is_u8400()) { | 116 | if (prcmu_has_arm_maxopp()) |
117 | freq_table[1].frequency = 400000; | 117 | freq_table[3].frequency = 1000000; |
118 | freq_table[2].frequency = 800000; | 118 | |
119 | if (prcmu_has_arm_maxopp()) | ||
120 | freq_table[3].frequency = 1000000; | ||
121 | } | ||
122 | pr_info("db8500-cpufreq : Available frequencies:\n"); | 119 | pr_info("db8500-cpufreq : Available frequencies:\n"); |
123 | for (i = 0; freq_table[i].frequency != CPUFREQ_TABLE_END; i++) | 120 | for (i = 0; freq_table[i].frequency != CPUFREQ_TABLE_END; i++) |
124 | pr_info(" %d Mhz\n", freq_table[i].frequency/1000); | 121 | pr_info(" %d Mhz\n", freq_table[i].frequency/1000); |