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 коммит произвёл Tony Lindgren
Родитель fb49b8c22d
Коммит 40c0591f0a
2 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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.

Просмотреть файл

@ -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"