ARM: mach-omap2: omap3: Fix GPIO clocking in SPL
[oweals/u-boot.git] / arch / arm / mach-omap2 / omap3 / Kconfig
1 if OMAP34XX
2
3 # We only enable the clocks for the GPIO banks that a given board requies.
4 config OMAP3_GPIO_2
5         bool
6         default y if CMD_GPIO
7
8 config OMAP3_GPIO_3
9         bool
10         default y if CMD_GPIO
11
12 config OMAP3_GPIO_4
13         bool
14         default y if CMD_GPIO
15
16 config OMAP3_GPIO_5
17         bool
18         default y if CMD_GPIO
19
20 config OMAP3_GPIO_6
21         bool
22         default y if CMD_GPIO
23
24 choice
25         prompt "OMAP3 board select"
26         optional
27
28 config TARGET_AM3517_EVM
29         bool "AM3517 EVM"
30         select DM
31         select DM_GPIO
32         select DM_I2C
33         select DM_MMC
34         select DM_SERIAL
35         imply CMD_DM
36
37 config TARGET_MT_VENTOUX
38         bool "TeeJet Mt.Ventoux"
39         select OMAP3_GPIO_4
40         select OMAP3_GPIO_5 if USB_EHCI_HCD
41
42 config TARGET_OMAP3_BEAGLE
43         bool "TI OMAP3 BeagleBoard"
44         select DM
45         select DM_GPIO
46         select DM_SERIAL
47         select OMAP3_GPIO_5
48         select OMAP3_GPIO_6
49         imply CMD_DM
50
51 config TARGET_CM_T35
52         bool "CompuLab CM-T3530 and CM-T3730 boards"
53         select OMAP3_GPIO_2
54         select OMAP3_GPIO_5
55         select OMAP3_GPIO_6 if LED_STATUS
56
57 config TARGET_CM_T3517
58         bool "CompuLab CM-T3517 boards"
59         select OMAP3_GPIO_2
60         select OMAP3_GPIO_5
61         select OMAP3_GPIO_6 if LED_STATUS
62
63 config TARGET_DEVKIT8000
64         bool "TimLL OMAP3 Devkit8000"
65         select DM
66         select DM_GPIO
67         select DM_SERIAL
68         imply CMD_DM
69
70 config TARGET_OMAP3_EVM
71         bool "TI OMAP3 EVM"
72         select DM
73         select DM_GPIO
74         select DM_SERIAL
75         select OMAP3_GPIO_3
76         imply CMD_DM
77
78 config TARGET_OMAP3_IGEP00X0
79         bool "IGEP"
80         select DM
81         select DM_GPIO
82         select DM_SERIAL
83         select OMAP3_GPIO_3
84         select OMAP3_GPIO_5
85         select OMAP3_GPIO_6
86         imply CMD_DM
87
88 config TARGET_OMAP3_OVERO
89         bool "OMAP35xx Gumstix Overo"
90         select DM
91         select DM_GPIO
92         select DM_SERIAL
93         select OMAP3_GPIO_2
94         select OMAP3_GPIO_3
95         select OMAP3_GPIO_4
96         select OMAP3_GPIO_5
97         select OMAP3_GPIO_6
98         imply CMD_DM
99
100 config TARGET_OMAP3_ZOOM1
101         bool "TI Zoom1"
102         select DM
103         select DM_GPIO
104         select DM_SERIAL
105         imply CMD_DM
106
107 config TARGET_AM3517_CRANE
108         bool "am3517_crane"
109
110 config TARGET_OMAP3_PANDORA
111         bool "OMAP3 Pandora"
112         select OMAP3_GPIO_4
113         select OMAP3_GPIO_6
114
115 config TARGET_ECO5PK
116         bool "ECO5PK"
117         select OMAP3_GPIO_5 if USB_EHCI_HCD
118
119 config TARGET_TRICORDER
120         bool "Tricorder"
121         select OMAP3_GPIO_2
122
123 config TARGET_MCX
124         bool "MCX"
125         select BOARD_LATE_INIT
126         select OMAP3_GPIO_2 if USB_EHCI_HCD
127         select OMAP3_GPIO_5 if USB_EHCI_HCD
128
129 config TARGET_OMAP3_LOGIC
130         bool "OMAP3 Logic"
131         select BOARD_LATE_INIT
132         select DM
133         select DM_GPIO
134         select DM_SERIAL
135         select OMAP3_GPIO_3
136         select OMAP3_GPIO_4
137         select OMAP3_GPIO_6
138         imply CMD_DM
139
140 config TARGET_NOKIA_RX51
141         bool "Nokia RX51"
142
143 config TARGET_TAO3530
144         bool "TAO3530"
145         select OMAP3_GPIO_2
146         select OMAP3_GPIO_3
147         select OMAP3_GPIO_4
148         select OMAP3_GPIO_5
149         select OMAP3_GPIO_6
150
151 config TARGET_TWISTER
152         bool "Twister"
153         select OMAP3_GPIO_2
154         select OMAP3_GPIO_5 if USB_EHCI_HCD
155
156 config TARGET_OMAP3_CAIRO
157         bool "QUIPOS CAIRO"
158         select DM
159         select DM_GPIO
160         select DM_SERIAL
161         imply CMD_DM
162
163 config TARGET_SNIPER
164         bool "LG Optimus Black"
165         select DM
166         select DM_GPIO
167         select DM_SERIAL
168         select OMAP3_GPIO_2
169         select OMAP3_GPIO_3
170         select OMAP3_GPIO_4
171         select OMAP3_GPIO_5
172         select OMAP3_GPIO_6
173         imply CMD_DM
174
175 endchoice
176
177 choice
178         prompt "Memory Controller"
179         default SDRC
180
181 config SDRC
182         bool "SDRC controller"
183         help
184           The default memory controller on most OMAP3 boards is SDRC.
185
186 config EMIF4
187         bool "EMIF4 controller"
188         help
189           Enable this on boards like AM3517 which use EMIF4 controller
190 endchoice
191
192 config SPL_OMAP3_ID_NAND
193         bool "Support OMAP3-specific ID and MFR function"
194         help
195           Support for an OMAP3-specific set of functions to return the
196           ID and MFR of the first attached NAND chip, if present.
197
198 config SYS_SOC
199         default "omap3"
200
201 source "board/logicpd/am3517evm/Kconfig"
202 source "board/teejet/mt_ventoux/Kconfig"
203 source "board/ti/beagle/Kconfig"
204 source "board/compulab/cm_t35/Kconfig"
205 source "board/compulab/cm_t3517/Kconfig"
206 source "board/timll/devkit8000/Kconfig"
207 source "board/ti/evm/Kconfig"
208 source "board/isee/igep00x0/Kconfig"
209 source "board/overo/Kconfig"
210 source "board/logicpd/zoom1/Kconfig"
211 source "board/ti/am3517crane/Kconfig"
212 source "board/pandora/Kconfig"
213 source "board/8dtech/eco5pk/Kconfig"
214 source "board/corscience/tricorder/Kconfig"
215 source "board/htkw/mcx/Kconfig"
216 source "board/logicpd/omap3som/Kconfig"
217 source "board/nokia/rx51/Kconfig"
218 source "board/technexion/tao3530/Kconfig"
219 source "board/technexion/twister/Kconfig"
220 source "board/quipos/cairo/Kconfig"
221 source "board/lg/sniper/Kconfig"
222
223 endif