diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-04-12 16:35:50 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-04-12 16:35:50 -0400 |
commit | 164a460d467a43e9f403cd4b76cec626dff99779 (patch) | |
tree | 329bd5e4ff9b9294baf6665f48c3b0e6faa972f7 /arch/powerpc/platforms/Kconfig | |
parent | edfac96a92b88d3b0b53e3f8231b74beee9ecd1d (diff) |
[POWERPC] Ensure platform CONFIG options have correct dependencies
We currently support TAU and CPU frequency scaling only on discrete
(non-SOC) processors.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/Kconfig')
-rw-r--r-- | arch/powerpc/platforms/Kconfig | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig index 161ab797ad4c..176a27ff8f68 100644 --- a/arch/powerpc/platforms/Kconfig +++ b/arch/powerpc/platforms/Kconfig | |||
@@ -3,6 +3,7 @@ menu "Platform support" | |||
3 | 3 | ||
4 | choice | 4 | choice |
5 | prompt "Machine type" | 5 | prompt "Machine type" |
6 | depends on PPC64 || CLASSIC32 | ||
6 | default PPC_MULTIPLATFORM | 7 | default PPC_MULTIPLATFORM |
7 | 8 | ||
8 | config PPC_MULTIPLATFORM | 9 | config PPC_MULTIPLATFORM |
@@ -137,6 +138,9 @@ config GENERIC_IOMAP | |||
137 | bool | 138 | bool |
138 | default n | 139 | default n |
139 | 140 | ||
141 | menu "CPU Frequency support" | ||
142 | depends on PPC64 || CLASSIC32 | ||
143 | |||
140 | source "drivers/cpufreq/Kconfig" | 144 | source "drivers/cpufreq/Kconfig" |
141 | 145 | ||
142 | config CPU_FREQ_PMAC | 146 | config CPU_FREQ_PMAC |
@@ -155,6 +159,7 @@ config CPU_FREQ_PMAC64 | |||
155 | help | 159 | help |
156 | This adds support for frequency switching on Apple iMac G5, | 160 | This adds support for frequency switching on Apple iMac G5, |
157 | and some of the more recent desktop G5 machines as well. | 161 | and some of the more recent desktop G5 machines as well. |
162 | endmenu | ||
158 | 163 | ||
159 | config PPC601_SYNC_FIX | 164 | config PPC601_SYNC_FIX |
160 | bool "Workarounds for PPC601 bugs" | 165 | bool "Workarounds for PPC601 bugs" |
@@ -172,7 +177,7 @@ config PPC601_SYNC_FIX | |||
172 | 177 | ||
173 | config TAU | 178 | config TAU |
174 | bool "On-chip CPU temperature sensor support" | 179 | bool "On-chip CPU temperature sensor support" |
175 | depends on 6xx | 180 | depends on CLASSIC32 |
176 | help | 181 | help |
177 | G3 and G4 processors have an on-chip temperature sensor called the | 182 | G3 and G4 processors have an on-chip temperature sensor called the |
178 | 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die | 183 | 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die |