summaryrefslogtreecommitdiffstats
path: root/drivers/of/Kconfig
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2010-10-10 21:42:33 -0600
committerGrant Likely <grant.likely@secretlab.ca>2010-10-10 21:53:30 -0600
commit3cfc535c5df8122af1258ae05aaf2770c033425d (patch)
treec5643066e544df08a852742060da2edfd2f6400d /drivers/of/Kconfig
parent9bdf6bab4ecfb6a8ca50c0c46f2365ef6c3e35b7 (diff)
downloadop-kernel-dev-3cfc535c5df8122af1258ae05aaf2770c033425d.zip
op-kernel-dev-3cfc535c5df8122af1258ae05aaf2770c033425d.tar.gz
of/promtree: make drivers/of/pdt.c no longer sparc-only
Clean up pdt.c: - make build dependent upon config OF_PROMTREE - #ifdef out the sparc-specific stuff - create pdt-specific header Signed-off-by: Andres Salomon <dilinger@queued.net> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/of/Kconfig')
-rw-r--r--drivers/of/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index 6acbff3..aa675eb 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -4,7 +4,7 @@ config DTC
config OF
bool
-menu "Flattened Device Tree and Open Firmware support"
+menu "Device Tree and Open Firmware support"
depends on OF
config PROC_DEVICETREE
@@ -19,6 +19,9 @@ config OF_FLATTREE
bool
select DTC
+config OF_PROMTREE
+ bool
+
config OF_DYNAMIC
def_bool y
depends on PPC_OF
OpenPOWER on IntegriCloud