Newer
Older
barebox / board / omap / Kconfig
@Sanjeev Premi Sanjeev Premi on 17 Dec 2009 4 KB omap3evm: Add basic support for the board
# OMAP based Board Specific Configuration file
#
# (C) Copyright 2008
# OMAP Architecture specific features
# Texas Instruments, <www.ti.com>
# Nishanth Menon <x0nishan@ti.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA

config ARCH_TEXT_BASE
	hex
	default 0x80e80000 if MACH_OMAP343xSDP
	default 0x80e80000 if MACH_BEAGLE

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"

config MACH_OMAP343xSDP
	bool "Texas Instrument's SDP343x"
	select MACH_HAS_LOWLEVEL_INIT
	select OMAP_CLOCK_ALL
	select HAS_OMAP_NAND
	help
	  Say Y here if you are using SDP343x platform

config MACH_BEAGLE
	bool "Texas Instrument's Beagle Board"
	select MACH_HAS_LOWLEVEL_INIT
	select OMAP_CLOCK_ALL
	select HAS_OMAP_NAND
	  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
	default n
	help
	  Say Y here if you would like to have complete pin muxing to be
	  done at boot time

config HAS_OMAP_NAND
	bool


menuconfig MACH_OMAP_GPMC_NAND
	tristate "Enable NAND device support for GPMC"
	depends on HAS_OMAP_NAND
	default n
	help
	  Say Y here if you would like to have NAND device support

if MACH_OMAP_GPMC_NAND
# Single definition used to club all generic definitions together
config MACH_OMAP_GPMC_GENERICNAND
	bool

choice
	prompt "Select NAND Device"

config MACH_OMAP_GPMC_GENERICNAND_LP_X8
	tristate "Enable 8 bit Large page nand"
	depends on MACH_OMAP_GPMC_NAND
	select MACH_OMAP_GPMC_GENERICNAND
	help
	  Say Y here if you would support for 8 bit NAND
	  with large page
	  NOTE: The timing parameter are the most relaxed
	  If you need optimized timing, selec appropriate
	  supported NAND flash

config MACH_OMAP_GPMC_GENERICNAND_LP_X16
	tristate "Enable 16 bit Large page nand"
	depends on MACH_OMAP_GPMC_NAND
	select MACH_OMAP_GPMC_GENERICNAND
	help
	  Say Y here if you would support for 16 bit NAND
	  with large page
	  NOTE: The timing parameter are the most relaxed
	  If you need optimized timing, selec appropriate
	  supported NAND flash

config MACH_OMAP_GPMC_GENERICNAND_SP_X8
	tristate "Enable 8 bit Small page nand"
	depends on MACH_OMAP_GPMC_NAND
	select MACH_OMAP_GPMC_GENERICNAND
	help
	  Say Y here if you would support for 8 bit NAND
	  with small page
	  NOTE: The timing parameter are the most relaxed
	  If you need optimized timing, selec appropriate
	  supported NAND flash

config MACH_OMAP_GPMC_GENERICNAND_SP_X16
	tristate "Enable 16 bit Small page nand"
	depends on MACH_OMAP_GPMC_NAND
	select MACH_OMAP_GPMC_GENERICNAND
	help
	  Say Y here if you would support for 16 bit NAND
	  with small page
	  NOTE: The timing parameter are the most relaxed
	  If you need optimized timing, selec appropriate
	  supported NAND flash
endchoice

config MACH_OMAP_CS
	hex "NAND CS"
	depends on MACH_OMAP_GPMC_NAND
	default 0x0
	help
	  Provide the Chip select of the NAND flash
endif

endmenu