summaryrefslogtreecommitdiffstats
path: root/board/omap/Kconfig
blob: 361bed436fee84fc2b5325e70c01ebbf22d35833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# 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