diff options
author | Andres Salomon <dilinger@queued.net> | 2010-10-10 23:42:33 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-10-10 23:53:30 -0400 |
commit | 3cfc535c5df8122af1258ae05aaf2770c033425d (patch) | |
tree | c5643066e544df08a852742060da2edfd2f6400d /drivers/of/Kconfig | |
parent | 9bdf6bab4ecfb6a8ca50c0c46f2365ef6c3e35b7 (diff) |
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/Kconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index 6acbff389ab6..aa675ebd8eb3 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig | |||
@@ -4,7 +4,7 @@ config DTC | |||
4 | config OF | 4 | config OF |
5 | bool | 5 | bool |
6 | 6 | ||
7 | menu "Flattened Device Tree and Open Firmware support" | 7 | menu "Device Tree and Open Firmware support" |
8 | depends on OF | 8 | depends on OF |
9 | 9 | ||
10 | config PROC_DEVICETREE | 10 | config PROC_DEVICETREE |
@@ -19,6 +19,9 @@ config OF_FLATTREE | |||
19 | bool | 19 | bool |
20 | select DTC | 20 | select DTC |
21 | 21 | ||
22 | config OF_PROMTREE | ||
23 | bool | ||
24 | |||
22 | config OF_DYNAMIC | 25 | config OF_DYNAMIC |
23 | def_bool y | 26 | def_bool y |
24 | depends on PPC_OF | 27 | depends on PPC_OF |