Commit c146c958 authored by Olof Johansson's avatar Olof Johansson Committed by Paul Mackerras

[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: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent e089ad46
...@@ -148,14 +148,14 @@ config GENERIC_IOMAP ...@@ -148,14 +148,14 @@ config GENERIC_IOMAP
bool bool
default n default n
menu "CPU Frequency support"
depends on PPC64 || CLASSIC32
source "drivers/cpufreq/Kconfig" source "drivers/cpufreq/Kconfig"
menu "CPU Frequency drivers"
depends on CPU_FREQ
config CPU_FREQ_PMAC config CPU_FREQ_PMAC
bool "Support for Apple PowerBooks" bool "Support for Apple PowerBooks"
depends on CPU_FREQ && ADB_PMU && PPC32 depends on ADB_PMU && PPC32
select CPU_FREQ_TABLE select CPU_FREQ_TABLE
help help
This adds support for frequency switching on Apple PowerBooks, This adds support for frequency switching on Apple PowerBooks,
...@@ -164,7 +164,7 @@ config CPU_FREQ_PMAC ...@@ -164,7 +164,7 @@ config CPU_FREQ_PMAC
config CPU_FREQ_PMAC64 config CPU_FREQ_PMAC64
bool "Support for some Apple G5s" bool "Support for some Apple G5s"
depends on CPU_FREQ && PPC64 depends on PPC_PMAC && PPC64
select CPU_FREQ_TABLE select CPU_FREQ_TABLE
help help
This adds support for frequency switching on Apple iMac G5, This adds support for frequency switching on Apple iMac G5,
...@@ -172,7 +172,7 @@ config CPU_FREQ_PMAC64 ...@@ -172,7 +172,7 @@ config CPU_FREQ_PMAC64
config PPC_PASEMI_CPUFREQ config PPC_PASEMI_CPUFREQ
bool "Support for PA Semi PWRficient" bool "Support for PA Semi PWRficient"
depends on CPU_FREQ && PPC_PASEMI depends on PPC_PASEMI
default y default y
select CPU_FREQ_TABLE select CPU_FREQ_TABLE
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment