[PATCH 1/4] omap3evm: Add to configuration

Sanjeev Premi premi at ti.com
Mon Dec 14 10:29:37 EST 2009


Added OMAP3EVM as an option in Kconfig.

Also added configuration to choose either of UART1 and
UART3 as serial console.

Signed-off-by: Sanjeev Premi <premi at ti.com>
---
 board/omap/Kconfig |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/board/omap/Kconfig b/board/omap/Kconfig
index 07ba87c..361bed4 100644
--- a/board/omap/Kconfig
+++ b/board/omap/Kconfig
@@ -30,6 +30,7 @@ menu "OMAP Platform Features"
 config BOARDINFO
 	default "Texas Instrument's SDP343x" if MACH_OMAP343xSDP
 	default "Texas Instrument's Beagle" if MACH_BEAGLE
+	default "Texas Instrument's OMAP3EVM" if MACH_OMAP3EVM
 
 choice
 	prompt "Select OMAP platform"
@@ -50,8 +51,34 @@ config MACH_BEAGLE
 	  help
 	  Say Y here if you are using Beagle Board
 
+config MACH_OMAP3EVM
+	bool "Texas Instrument's OMAP3 EVM"
+	select MACH_HAS_LOWLEVEL_INIT
+	select OMAP_CLOCK_ALL
+	select HAS_OMAP_NAND
+	  help
+	  Say Y here if you are using OMAP3EVM
+
 endchoice
 
+if MACH_OMAP3EVM
+	choice
+	prompt "Select UART"
+
+	config OMAP3EVM_UART1
+		bool "Use UART1"
+		depends on MACH_OMAP3EVM
+		help
+		  Say Y here if you would like to use UART1 as console.
+
+	config OMAP3EVM_UART3
+		bool "Use UART3"
+		depends on MACH_OMAP3EVM
+		help
+		  Say Y here if you would like to use UART3 as console.
+	endchoice
+endif
+
 config MACH_OMAP_ADVANCED_MUX
 	bool "Enable advanced pin muxing"
 	depends on MACH_OMAP343xSDP
-- 
1.6.2.2





More information about the u-boot-v2 mailing list