diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-07-05 14:02:13 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-07-05 18:14:55 -0400 |
commit | 5ab5fc7e35705cf1a8a506d8e8b71acc27feec75 (patch) | |
tree | a0557f867fe39ec91f440fc34f7d50528c7353d3 /arch | |
parent | dd5e73794c9af30d6491963e13436d9f05ee6df6 (diff) |
of: Put all CONFIG_OF dependencies into a Kconfig menu block
All of the options in drivers/of/Kconfig depend on CONFIG_OF. Putting
all of them inside a menu block simplifies the dependency statements.
It also creates a logical group for adding user selectable OF options.
This patch also changes (PPC_OF || MICROBLAZE) statements to (!SPARC)
so that those options are available to other architectures (and in
fact the !SPARC conditions should probably be re-evalutated since the
code is more generic now)
This patch also moves the definition of CONFIG_DTC from arch/* to
drivers/of/Kconfig
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/microblaze/Kconfig | 3 | ||||
-rw-r--r-- | arch/powerpc/Kconfig | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index 1a8f682248ce..971f86760d83 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig | |||
@@ -77,9 +77,6 @@ config LOCKDEP_SUPPORT | |||
77 | config HAVE_LATENCYTOP_SUPPORT | 77 | config HAVE_LATENCYTOP_SUPPORT |
78 | def_bool y | 78 | def_bool y |
79 | 79 | ||
80 | config DTC | ||
81 | def_bool y | ||
82 | |||
83 | source "init/Kconfig" | 80 | source "init/Kconfig" |
84 | 81 | ||
85 | source "kernel/Kconfig.freezer" | 82 | source "kernel/Kconfig.freezer" |
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 402f4c028eb8..9b8e479c39da 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -196,10 +196,6 @@ config SYS_SUPPORTS_APM_EMULATION | |||
196 | default y if PMAC_APM_EMU | 196 | default y if PMAC_APM_EMU |
197 | bool | 197 | bool |
198 | 198 | ||
199 | config DTC | ||
200 | bool | ||
201 | default y | ||
202 | |||
203 | config DEFAULT_UIMAGE | 199 | config DEFAULT_UIMAGE |
204 | bool | 200 | bool |
205 | help | 201 | help |