ARM: OMAP2+: kconfig: Enable devicetree by default for OMAP2+ systems
authorBenoit Cousson <b-cousson@ti.com>
Thu, 1 Dec 2011 09:21:16 +0000 (10:21 +0100)
committerTony Lindgren <tony@atomide.com>
Sat, 17 Dec 2011 00:17:43 +0000 (16:17 -0800)
devicetree will become the mandatory boot method for OMAP2+.
In order to avoid cluttering the OMAP code with #ifdef CONFIG_OF,
select USE_OF by default for every OMAP2+ systems.

Enable PROC_DEVICETREE as well.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Kconfig
arch/arm/plat-omap/Kconfig

index b6625130831d3f5378a4a0cf3d422dcc3e9c0870..bdd5b68fba80993d89bbdb2f8192ce5e32df825d 100644 (file)
@@ -111,7 +111,6 @@ comment "OMAP Board Type"
 config MACH_OMAP_GENERIC
        bool "Generic OMAP2+ board"
        depends on ARCH_OMAP2PLUS
-       select USE_OF
        default y
        help
          Support for generic TI OMAP2+ boards using Flattened Device Tree.
index aa59f4247dc53bba585fa7f93e050c10902a0708..734009a93857bd70f7dcdca8831c26b25fe62d62 100644 (file)
@@ -24,6 +24,8 @@ config ARCH_OMAP2PLUS
        select CLKDEV_LOOKUP
        select GENERIC_IRQ_CHIP
        select OMAP_DM_TIMER
+       select USE_OF
+       select PROC_DEVICETREE
        help
          "Systems based on OMAP2, OMAP3 or OMAP4"