diff options
author | Christian Krafft <krafft@de.ibm.com> | 2007-07-20 15:39:22 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe.arndb.de> | 2007-07-20 15:41:38 -0400 |
commit | 74889e41d9a1f80928130a02af9b010673bc5ba7 (patch) | |
tree | 300feac7ceaad88b090ba385abd414281033425a /arch/powerpc/platforms/cell/Kconfig | |
parent | 1e21fd5af3797a2c322e1723c69732e77aa74f48 (diff) |
[CELL] cbe_cpufreq: reorganize code
This patch reorganizes the code of the driver into three files.
Two cbe_cpufreq_pmi.c and cbe_cpufreq_pervasive.c care about hardware.
cbe_cpufreq.c contains the logic.
There is no changed behaviour, except that the PMI related function
is now located in a seperate module cbe_cpufreq_pmi. This module
will be required by cbe_cpufreq, if CONFIG_CBE_CPUFREQ_PMI has been set.
Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Diffstat (limited to 'arch/powerpc/platforms/cell/Kconfig')
-rw-r--r-- | arch/powerpc/platforms/cell/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/Kconfig b/arch/powerpc/platforms/cell/Kconfig index 9b2b386ccf4..ac8032034fb 100644 --- a/arch/powerpc/platforms/cell/Kconfig +++ b/arch/powerpc/platforms/cell/Kconfig | |||
@@ -73,4 +73,14 @@ config CBE_CPUFREQ | |||
73 | For details, take a look at <file:Documentation/cpu-freq/>. | 73 | For details, take a look at <file:Documentation/cpu-freq/>. |
74 | If you don't have such processor, say N | 74 | If you don't have such processor, say N |
75 | 75 | ||
76 | config CBE_CPUFREQ_PMI | ||
77 | tristate "CBE frequency scaling using PMI interface" | ||
78 | depends on CBE_CPUFREQ && PPC_PMI && EXPERIMENTAL | ||
79 | default n | ||
80 | help | ||
81 | Select this, if you want to use the PMI interface | ||
82 | to switch frequencies. Using PMI, the | ||
83 | processor will not only be able to run at lower speed, | ||
84 | but also at lower core voltage. | ||
85 | |||
76 | endmenu | 86 | endmenu |