aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2007-04-27 01:52:43 -0400
committerPaul Mackerras <paulus@samba.org>2007-04-29 21:02:03 -0400
commitc146c958dc953da172231577d7ee81cf06d7eeb4 (patch)
treef15b17f8bba1940a82a28f6bf2d28105a04cfda7 /arch/powerpc/platforms
parente089ad46dbede9eed650f12d039d1addc05adf43 (diff)
[POWERPC] Clean up cpufreq Kconfig dependencies
Shuffle Kconfig order, making the platform drivers menu depend on the global option instead of each driver being dependent on it. Also fix dependency of PPC_PMAC on the G5 one. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r--arch/powerpc/platforms/Kconfig12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index 102a44e3b7ea..51e33347c147 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -148,14 +148,14 @@ config GENERIC_IOMAP
148 bool 148 bool
149 default n 149 default n
150 150
151menu "CPU Frequency support"
152 depends on PPC64 || CLASSIC32
153
154source "drivers/cpufreq/Kconfig" 151source "drivers/cpufreq/Kconfig"
155 152
153menu "CPU Frequency drivers"
154 depends on CPU_FREQ
155
156config CPU_FREQ_PMAC 156config CPU_FREQ_PMAC
157 bool "Support for Apple PowerBooks" 157 bool "Support for Apple PowerBooks"
158 depends on CPU_FREQ && ADB_PMU && PPC32 158 depends on ADB_PMU && PPC32
159 select CPU_FREQ_TABLE 159 select CPU_FREQ_TABLE
160 help 160 help
161 This adds support for frequency switching on Apple PowerBooks, 161 This adds support for frequency switching on Apple PowerBooks,
@@ -164,7 +164,7 @@ config CPU_FREQ_PMAC
164 164
165config CPU_FREQ_PMAC64 165config CPU_FREQ_PMAC64
166 bool "Support for some Apple G5s" 166 bool "Support for some Apple G5s"
167 depends on CPU_FREQ && PPC64 167 depends on PPC_PMAC && PPC64
168 select CPU_FREQ_TABLE 168 select CPU_FREQ_TABLE
169 help 169 help
170 This adds support for frequency switching on Apple iMac G5, 170 This adds support for frequency switching on Apple iMac G5,
@@ -172,7 +172,7 @@ config CPU_FREQ_PMAC64
172 172
173config PPC_PASEMI_CPUFREQ 173config PPC_PASEMI_CPUFREQ
174 bool "Support for PA Semi PWRficient" 174 bool "Support for PA Semi PWRficient"
175 depends on CPU_FREQ && PPC_PASEMI 175 depends on PPC_PASEMI
176 default y 176 default y
177 select CPU_FREQ_TABLE 177 select CPU_FREQ_TABLE
178 help 178 help