]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
omap2/3/4: Add Kconfig option to compile in typical omap features
authorTony Lindgren <tony@atomide.com>
Mon, 5 Jul 2010 13:31:48 +0000 (16:31 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 5 Jul 2010 13:31:48 +0000 (16:31 +0300)
This produces a sane config that's suitable for using as the
base for most omap2/3/4 boards.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Kconfig

index 480298835840bef64bc909825b5bb83bb3dc8dca..84fecd0913a4cdd473a6301f0909e9d65b47f2c9 100644 (file)
@@ -2,6 +2,27 @@ if ARCH_OMAP2PLUS
 
 menu "TI OMAP2/3/4 Specific Features"
 
+config ARCH_OMAP2PLUS_TYPICAL
+       bool "Typical OMAP configuration"
+       default y
+       select AEABI
+       select REGULATOR
+       select PM
+       select PM_RUNTIME
+       select VFP
+       select NEON if ARCH_OMAP3 || ARCH_OMAP4
+       select SERIAL_8250
+       select SERIAL_CORE_CONSOLE
+       select SERIAL_8250_CONSOLE
+       select I2C
+       select I2C_OMAP
+       select MFD
+       select MENELAUS if ARCH_OMAP2
+       select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
+       select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
+       help
+         Compile a kernel suitable for booting most boards
+
 config ARCH_OMAP2
        bool "TI OMAP2"
        depends on ARCH_OMAP2PLUS