summaryrefslogtreecommitdiffstats
path: root/drivers/of/Kconfig
diff options
context:
space:
mode:
authorGrant Likely2009-11-23 22:53:09 +0100
committerGrant Likely2009-11-23 22:53:09 +0100
commite169cfbef46d62e042614ffafa8880eed1d894bb (patch)
tree44982b47e17dc361783d89629fbdde751cbc35e3 /drivers/of/Kconfig
parentMerge commit 'v2.6.32-rc8' (diff)
downloadkernel-qcow2-linux-e169cfbef46d62e042614ffafa8880eed1d894bb.tar.gz
kernel-qcow2-linux-e169cfbef46d62e042614ffafa8880eed1d894bb.tar.xz
kernel-qcow2-linux-e169cfbef46d62e042614ffafa8880eed1d894bb.zip
of/flattree: merge find_flat_dt_string and initial_boot_params
Merge common code between Microblaze and PowerPC. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Reviewed-by: Wolfram Sang <w.sang@pengutronix.de> Tested-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'drivers/of/Kconfig')
-rw-r--r--drivers/of/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index d2fa27c5c1b2..462825e03123 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -1,3 +1,7 @@
+config OF_FLATTREE
+ bool
+ depends on OF
+
config OF_DEVICE
def_bool y
depends on OF && (SPARC || PPC_OF || MICROBLAZE)