]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
proc: unify PROC_DEVICETREE config
authorAndres Salomon <dilinger@queued.net>
Tue, 29 Jun 2010 02:00:48 +0000 (22:00 -0400)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 5 Jul 2010 22:46:43 +0000 (16:46 -0600)
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>
arch/microblaze/Kconfig
arch/powerpc/Kconfig
drivers/of/Kconfig

index 971f86760d835acccfe243152e67ad8364364c57..6c4fee5eaf0bc76179dc5db59981f8e9d938cf34 100644 (file)
@@ -123,14 +123,6 @@ config CMDLINE_FORCE
          Set this to have arguments from the default kernel command string
          override those passed by the boot loader.
 
-config PROC_DEVICETREE
-       bool "Support for device tree in /proc"
-       depends on PROC_FS
-       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.
-
 endmenu
 
 menu "Advanced setup"
index 9b8e479c39da545fbf4aee2a0521997ce8fb5ec8..c9ae321a06f9b84f4e9d30cffcea668c9dd75417 100644 (file)
@@ -572,14 +572,6 @@ config SCHED_SMT
          when dealing with POWER5 cpus at a cost of slightly increased
          overhead in some places. If unsure say N here.
 
-config PROC_DEVICETREE
-       bool "Support for device tree in /proc"
-       depends on PROC_FS
-       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 CMDLINE_BOOL
        bool "Default bootloader kernel arguments"
 
index ae2d4ad67bd039bab763f9ae9d07ce95420c24b8..6acbff389ab66c54e12f80a1831fedc41475de87 100644 (file)
@@ -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