aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-07-05 14:02:13 -0400
committerGrant Likely <grant.likely@secretlab.ca>2010-07-05 18:14:55 -0400
commit5ab5fc7e35705cf1a8a506d8e8b71acc27feec75 (patch)
treea0557f867fe39ec91f440fc34f7d50528c7353d3 /arch
parentdd5e73794c9af30d6491963e13436d9f05ee6df6 (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/Kconfig3
-rw-r--r--arch/powerpc/Kconfig4
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
77config HAVE_LATENCYTOP_SUPPORT 77config HAVE_LATENCYTOP_SUPPORT
78 def_bool y 78 def_bool y
79 79
80config DTC
81 def_bool y
82
83source "init/Kconfig" 80source "init/Kconfig"
84 81
85source "kernel/Kconfig.freezer" 82source "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
199config DTC
200 bool
201 default y
202
203config DEFAULT_UIMAGE 199config DEFAULT_UIMAGE
204 bool 200 bool
205 help 201 help