diff options
author | Andres Salomon <dilinger@queued.net> | 2010-06-29 04:00:48 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-07-06 00:46:43 +0200 |
commit | ef2a4524d6e776bbce819eeccbdcaeee5ce74027 (patch) | |
tree | 649f1327091e544e70b08b5f83f6dd9e7f4da340 /drivers/of | |
parent | of: Put all CONFIG_OF dependencies into a Kconfig menu block (diff) | |
download | linux-ef2a4524d6e776bbce819eeccbdcaeee5ce74027.tar.xz linux-ef2a4524d6e776bbce819eeccbdcaeee5ce74027.zip |
proc: unify PROC_DEVICETREE config
Microblaze and PPC both use PROC_DEVICETREE, and OLPC will as well.. put
the Kconfig option into fs/ rather than in arch/*/Kconfig.
Signed-off-by: Andres Salomon <dilinger@queued.net>
[grant.likely@secretlab.ca: changed depends to PROC_FS && !SPARC]
[grant.likely@secretlab.ca: moved to drivers/of/Kconfig]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index ae2d4ad67bd0..6acbff389ab6 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig @@ -7,6 +7,14 @@ config OF menu "Flattened Device Tree and Open Firmware support" depends on OF +config PROC_DEVICETREE + bool "Support for device tree in /proc" + depends on PROC_FS && !SPARC + help + This option adds a device-tree directory under /proc which contains + an image of the device tree that the kernel copies from Open + Firmware or other boot firmware. If unsure, say Y here. + config OF_FLATTREE bool select DTC |