bd6b086552606d569dbb53466e96f17447752418
[platform/kernel/u-boot.git] / arch / arm / mach-omap2 / am33xx / Kconfig
1 if TI816X
2
3 config TARGET_TI816X_EVM
4         bool "Support ti816x_evm"
5         help
6           This option specifies support for the TI8168 EVM development platform
7           with PG2.0 silicon and DDR3 DRAM.
8
9 endif
10
11 if TI814X
12
13 config TARGET_TI814X_EVM
14         bool "Support ti814x_evm"
15         help
16           This option specifies support for the TI8148
17           EVM development platform.
18
19 endif
20
21 if AM33XX
22
23 config AM33XX_CHILISOM
24         bool
25         select SUPPORT_SPL
26
27 choice
28         prompt "AM33xx board select"
29
30 config TARGET_AM335X_EVM
31         bool "Support am335x_evm"
32         select BOARD_LATE_INIT
33         select DM
34         select DM_GPIO
35         select DM_SERIAL
36         select TI_I2C_BOARD_DETECT
37         select SUPPORT_EXTENSION_SCAN
38         imply CMD_DM
39         imply SPL_DM
40         imply SPL_DM_SEQ_ALIAS
41         imply SPL_ENV_SUPPORT
42         imply SPL_FS_EXT4
43         imply SPL_FS_FAT
44         imply SPL_GPIO
45         imply SPL_I2C
46         imply SPL_LIBCOMMON_SUPPORT
47         imply SPL_LIBDISK_SUPPORT
48         imply SPL_LIBGENERIC_SUPPORT
49         imply SPL_MMC
50         imply SPL_NAND_SUPPORT
51         imply SPL_OF_LIBFDT
52         imply SPL_POWER
53         imply SPL_SEPARATE_BSS
54         imply SPL_SERIAL
55         imply SPL_SYS_MALLOC_SIMPLE
56         imply SPL_WATCHDOG
57         imply SPL_YMODEM_SUPPORT
58         help
59           This option specifies support for the AM335x
60           GP and HS EVM development platforms. The AM335x
61           GP EVM is a standalone test, development, and
62           evaluation module system that enables developers
63           to write software and develop hardware around
64           an AM335x processor subsystem.
65
66 config TARGET_AM335X_BALTOS
67         bool "Support am335x_baltos"
68         select BOARD_LATE_INIT
69         select DM
70         select DM_GPIO
71         select DM_SERIAL
72         imply CMD_DM
73
74 config TARGET_AM335X_IGEP003X
75         bool "Support am335x_igep003x"
76         select BOARD_LATE_INIT
77         select DM
78         select DM_GPIO
79         select DM_SERIAL
80         imply CMD_DM
81
82 config TARGET_AM335X_SHC
83         bool "Support am335x based shc board from bosch"
84         select BOARD_LATE_INIT
85         select DM
86         select DM_GPIO
87         select DM_SERIAL
88         imply CMD_DM
89         imply CMD_SPL
90
91 config TARGET_AM335X_GUARDIAN
92         bool "Support am335x based guardian board from bosch"
93         select BOARD_LATE_INIT
94         select DM
95         select DM_SERIAL
96         select DM_GPIO
97         select DM_VIDEO
98         select DM_PANEL_HX8238D
99
100 config TARGET_AM335X_SL50
101         bool "Support am335x_sl50"
102         select BOARD_LATE_INIT
103         select DM
104         select DM_GPIO
105         select DM_SERIAL
106         imply CMD_DM
107
108 config TARGET_BRXRE1
109         bool "Support BRXRE1"
110         select BOARD_LATE_INIT
111
112 config TARGET_BRSMARC1
113         bool "Support BRSMARC1"
114         select BOARD_LATE_INIT
115
116 config TARGET_BRPPT1
117         bool "Support BRPPT1"
118         select BOARD_LATE_INIT
119
120 config TARGET_CHILIBOARD
121         bool "Grinn chiliBoard"
122         select AM33XX_CHILISOM
123         select BOARD_LATE_INIT
124         select DM
125         select DM_SERIAL
126         imply CMD_DM
127
128 config TARGET_CM_T335
129         bool "Support cm_t335"
130         select DM
131         select DM_GPIO
132         select DM_SERIAL
133         imply CMD_DM
134
135 config TARGET_DRACO
136         bool "Support draco"
137         select BOARD_LATE_INIT
138         select DM
139         select DM_GPIO
140         select DM_SERIAL
141         select FACTORYSET
142         imply CMD_DM
143
144 config TARGET_ETAMIN
145         bool "Support etamin"
146         select BOARD_LATE_INIT
147         select DM
148         select DM_GPIO
149         select DM_SERIAL
150         select FACTORYSET
151         imply CMD_DM
152
153 config TARGET_PCM051
154         bool "Support pcm051"
155         select DM
156         select DM_GPIO
157         select DM_SERIAL
158         imply CMD_DM
159
160 config TARGET_PHYCORE_AM335X_R2
161         bool "Support phyCORE AM335X R2"
162         select DM
163         select DM_GPIO
164         select DM_SERIAL
165         imply CMD_DM
166
167 config TARGET_PXM2
168         bool "Support pxm2"
169         select BOARD_LATE_INIT
170         select DM
171         select DM_GPIO
172         select DM_SERIAL
173         select FACTORYSET
174         imply CMD_DM
175
176 config TARGET_RASTABAN
177         bool "Support rastaban"
178         select BOARD_LATE_INIT
179         select DM
180         select DM_GPIO
181         select DM_SERIAL
182         select FACTORYSET
183         imply CMD_DM
184
185 config TARGET_RUT
186         bool "Support rut"
187         select BOARD_LATE_INIT
188         select DM
189         select DM_GPIO
190         select DM_SERIAL
191         select FACTORYSET
192         imply CMD_DM
193
194 config TARGET_THUBAN
195         bool "Support thuban"
196         select BOARD_LATE_INIT
197         select DM
198         select DM_GPIO
199         select DM_SERIAL
200         select FACTORYSET
201         imply CMD_DM
202
203 config TARGET_PDU001
204         bool "Support PDU001"
205         select DM
206         select DM_SERIAL
207         imply SPL_SEPARATE_BSS
208         imply CMD_DM
209         help
210           Support for PDU001 platform developed by EETS GmbH.
211           The PDU001 is a processor and display unit developed around
212           the Computing-Module m2 from bytes at work AG.
213
214 endchoice
215
216 config CLOCK_SYNTHESIZER
217         bool "CDCE913 and CDCEL913 clock synthesizer support"
218         help
219           The CDCE913 and CDCEL913 devices are modular PLL-based, low cost,
220           high performance , programmable clock synthesizers. They generate
221           up to 3 output clocks from a single input frequency. Each output can
222           be programmed for any clock-frequency.
223
224 config CLK_SYNTHESIZER_I2C_ADDR
225         hex "Clock synthesizer i2c bus address"
226         depends on CLOCK_SYNTHESIZER
227         default 0x65
228
229 endif
230
231 if AM43XX
232
233 choice
234         prompt "AM43xx board select"
235
236 config TARGET_AM43XX_EVM
237         bool "Support am43xx_evm"
238         select BOARD_LATE_INIT
239         select TI_I2C_BOARD_DETECT
240         imply DM_ETH
241         imply DM_I2C
242         imply DM_SPI
243         imply DM_SPI_FLASH
244         imply SPL_ENV_SUPPORT
245         imply SPL_FS_EXT4
246         imply SPL_FS_FAT
247         imply SPL_GPIO
248         imply SPL_I2C
249         imply SPL_LIBCOMMON_SUPPORT
250         imply SPL_LIBDISK_SUPPORT
251         imply SPL_LIBGENERIC_SUPPORT
252         imply SPL_MMC
253         imply SPL_NAND_SUPPORT
254         imply SPL_POWER
255         imply SPL_SERIAL
256         imply SPL_WATCHDOG
257         imply SPL_YMODEM_SUPPORT
258         help
259           This option specifies support for the AM43xx
260           GP and HS EVM development platforms.The AM437x
261           GP EVM is a standalone test, development, and
262           evaluation module system that enables developers
263           to write software and develop hardware around
264           an AM43xx processor subsystem.
265
266 config TARGET_CM_T43
267         bool "Support cm_t43"
268
269 endchoice
270
271 config SPL_RTC_DDR_SUPPORT
272         bool
273         depends on SPL
274         prompt "Enable RTC-DDR ONLY Support"
275         help
276           If you want RTC-DDR ONLY Support, say Y. RTC Only with DDR in
277           self-refresh mode is a special power saving mode where in all
278           the other voltages are turned off apart from the RTC domain and DDR.
279           So only RTC is alive and ticking and one can program it to wake
280           up after a predetermined period. Once RTC alarm fires, the PMIC
281           powers up all the voltage domains. U-Boot takes a special path
282           as the DDR has contents is in self-refresh and restore path is
283           followed.
284
285 endif
286
287 if AM43XX || AM33XX
288 config PUB_ROM_DATA_SIZE
289         hex "Size in bytes of the L3 SRAM reserved by ROM to store data"
290         default 0x8400
291         help
292           During the device boot, the public ROM uses the top of
293           the public L3 OCMC RAM to store r/w data like stack,
294           heap, globals etc. When the ROM is copying the boot
295           image from the boot media into memory, the image must
296           not spill over into this area. This value can be used
297           during compile time to determine the maximum size of a
298           boot image. Once the ROM transfers control to the boot
299           image, this area is no longer used, and can be reclaimed
300           for run time use by the boot image.
301 endif
302
303 config AM335X_USB0
304         bool "Static mode configuration for USB0 in SPL"
305         depends on AM33XX && SPL_MUSB_NEW && !SPL_OF_CONTROL
306
307 choice
308         prompt "USB0 port configuration"
309         depends on AM335X_USB0
310
311 config AM335X_USB0_HOST
312         bool "Port is used in host mode"
313
314 config AM335X_USB0_PERIPHERAL
315         bool "Port is used in peripheral mode"
316
317 endchoice
318
319 config AM335X_USB1
320         bool "Static mode configuration for USB1 in SPL"
321         depends on AM33XX && SPL_MUSB_NEW && !SPL_OF_CONTROL
322
323 choice
324         prompt "USB1 port configuration"
325         depends on AM335X_USB1
326
327 config AM335X_USB1_HOST
328         bool "Port is used in host mode"
329
330 config AM335X_USB1_PERIPHERAL
331         bool "Port is used in peripheral mode"
332
333 endchoice