ARM: OMAP2+: kconfig: Enable devicetree by default for OMAP2+ systems

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>
This commit is contained in:
Benoit Cousson 2011-12-01 10:21:16 +01:00 committed by Tony Lindgren
parent fb49b8c22d
commit 40c0591f0a
2 changed files with 2 additions and 1 deletions

View file

@ -111,7 +111,6 @@ comment "OMAP Board Type"
config MACH_OMAP_GENERIC config MACH_OMAP_GENERIC
bool "Generic OMAP2+ board" bool "Generic OMAP2+ board"
depends on ARCH_OMAP2PLUS depends on ARCH_OMAP2PLUS
select USE_OF
default y default y
help help
Support for generic TI OMAP2+ boards using Flattened Device Tree. Support for generic TI OMAP2+ boards using Flattened Device Tree.

View file

@ -24,6 +24,8 @@ config ARCH_OMAP2PLUS
select CLKDEV_LOOKUP select CLKDEV_LOOKUP
select GENERIC_IRQ_CHIP select GENERIC_IRQ_CHIP
select OMAP_DM_TIMER select OMAP_DM_TIMER
select USE_OF
select PROC_DEVICETREE
help help
"Systems based on OMAP2, OMAP3 or OMAP4" "Systems based on OMAP2, OMAP3 or OMAP4"