Commit 6384726d2dd941411bfb3253f37f61eb1afa1c21

Authored by Madan Srinivas
Committed by Tom Rini
1 parent ce31ac7f72

arm: Kconfig: Add support for AM43xx SoC specific Kconfig

Adding support for AM43xx secure devices require the addition
of some SOC specific config options like the amount of memory
used by public ROM and the address of the entry point of u-boot
or SPL, as seen by the ROM code, for the image to be built
correctly.

This mandates the addition of am AM43xx CONFIG option and the
ARM Kconfig file has been modified to source this SOC Kconfig
file. Moving the TARGET_AM43XX_EVM config option to the SOC
KConfig and out of the arch/arm/Kconfig.

Updating defconfigs to add the CONFIG_AM43XX=y statement and
removing the #define CONFIG_AM43XX from the header file.

Signed-off-by: Madan Srinivas <madans@ti.com>
Signed-off-by: Daniel Allred <d-allred@ti.com>

Tested-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>

Showing 9 changed files with 32 additions and 8 deletions Inline Diff

1 menu "ARM architecture" 1 menu "ARM architecture"
2 depends on ARM 2 depends on ARM
3 3
4 config SYS_ARCH 4 config SYS_ARCH
5 default "arm" 5 default "arm"
6 6
7 config ARM64 7 config ARM64
8 bool 8 bool
9 9
10 config DMA_ADDR_T_64BIT 10 config DMA_ADDR_T_64BIT
11 bool 11 bool
12 default y if ARM64 12 default y if ARM64
13 13
14 config HAS_VBAR 14 config HAS_VBAR
15 bool 15 bool
16 16
17 config HAS_THUMB2 17 config HAS_THUMB2
18 bool 18 bool
19 19
20 config CPU_ARM720T 20 config CPU_ARM720T
21 bool 21 bool
22 22
23 config CPU_ARM920T 23 config CPU_ARM920T
24 bool 24 bool
25 25
26 config CPU_ARM926EJS 26 config CPU_ARM926EJS
27 bool 27 bool
28 28
29 config CPU_ARM946ES 29 config CPU_ARM946ES
30 bool 30 bool
31 31
32 config CPU_ARM1136 32 config CPU_ARM1136
33 bool 33 bool
34 34
35 config CPU_ARM1176 35 config CPU_ARM1176
36 bool 36 bool
37 select HAS_VBAR 37 select HAS_VBAR
38 38
39 config CPU_V7 39 config CPU_V7
40 bool 40 bool
41 select HAS_VBAR 41 select HAS_VBAR
42 select HAS_THUMB2 42 select HAS_THUMB2
43 43
44 config CPU_V7M 44 config CPU_V7M
45 bool 45 bool
46 select HAS_THUMB2 46 select HAS_THUMB2
47 47
48 config CPU_PXA 48 config CPU_PXA
49 bool 49 bool
50 50
51 config CPU_SA1100 51 config CPU_SA1100
52 bool 52 bool
53 53
54 config SYS_CPU 54 config SYS_CPU
55 default "arm720t" if CPU_ARM720T 55 default "arm720t" if CPU_ARM720T
56 default "arm920t" if CPU_ARM920T 56 default "arm920t" if CPU_ARM920T
57 default "arm926ejs" if CPU_ARM926EJS 57 default "arm926ejs" if CPU_ARM926EJS
58 default "arm946es" if CPU_ARM946ES 58 default "arm946es" if CPU_ARM946ES
59 default "arm1136" if CPU_ARM1136 59 default "arm1136" if CPU_ARM1136
60 default "arm1176" if CPU_ARM1176 60 default "arm1176" if CPU_ARM1176
61 default "armv7" if CPU_V7 61 default "armv7" if CPU_V7
62 default "armv7m" if CPU_V7M 62 default "armv7m" if CPU_V7M
63 default "pxa" if CPU_PXA 63 default "pxa" if CPU_PXA
64 default "sa1100" if CPU_SA1100 64 default "sa1100" if CPU_SA1100
65 default "armv8" if ARM64 65 default "armv8" if ARM64
66 66
67 config SEMIHOSTING 67 config SEMIHOSTING
68 bool "support boot from semihosting" 68 bool "support boot from semihosting"
69 help 69 help
70 In emulated environments, semihosting is a way for 70 In emulated environments, semihosting is a way for
71 the hosted environment to call out to the emulator to 71 the hosted environment to call out to the emulator to
72 retrieve files from the host machine. 72 retrieve files from the host machine.
73 73
74 config SYS_L2CACHE_OFF 74 config SYS_L2CACHE_OFF
75 bool "L2cache off" 75 bool "L2cache off"
76 help 76 help
77 If SoC does not support L2CACHE or one do not want to enable 77 If SoC does not support L2CACHE or one do not want to enable
78 L2CACHE, choose this option. 78 L2CACHE, choose this option.
79 79
80 choice 80 choice
81 prompt "Target select" 81 prompt "Target select"
82 default TARGET_HIKEY 82 default TARGET_HIKEY
83 83
84 config ARCH_AT91 84 config ARCH_AT91
85 bool "Atmel AT91" 85 bool "Atmel AT91"
86 86
87 config TARGET_EDB93XX 87 config TARGET_EDB93XX
88 bool "Support edb93xx" 88 bool "Support edb93xx"
89 select CPU_ARM920T 89 select CPU_ARM920T
90 90
91 config TARGET_VCMA9 91 config TARGET_VCMA9
92 bool "Support VCMA9" 92 bool "Support VCMA9"
93 select CPU_ARM920T 93 select CPU_ARM920T
94 94
95 config TARGET_SMDK2410 95 config TARGET_SMDK2410
96 bool "Support smdk2410" 96 bool "Support smdk2410"
97 select CPU_ARM920T 97 select CPU_ARM920T
98 98
99 config TARGET_ASPENITE 99 config TARGET_ASPENITE
100 bool "Support aspenite" 100 bool "Support aspenite"
101 select CPU_ARM926EJS 101 select CPU_ARM926EJS
102 102
103 config TARGET_GPLUGD 103 config TARGET_GPLUGD
104 bool "Support gplugd" 104 bool "Support gplugd"
105 select CPU_ARM926EJS 105 select CPU_ARM926EJS
106 106
107 config ARCH_DAVINCI 107 config ARCH_DAVINCI
108 bool "TI DaVinci" 108 bool "TI DaVinci"
109 select CPU_ARM926EJS 109 select CPU_ARM926EJS
110 help 110 help
111 Support for TI's DaVinci platform. 111 Support for TI's DaVinci platform.
112 112
113 config KIRKWOOD 113 config KIRKWOOD
114 bool "Marvell Kirkwood" 114 bool "Marvell Kirkwood"
115 select CPU_ARM926EJS 115 select CPU_ARM926EJS
116 116
117 config ARCH_MVEBU 117 config ARCH_MVEBU
118 bool "Marvell MVEBU family (Armada XP/375/38x)" 118 bool "Marvell MVEBU family (Armada XP/375/38x)"
119 select CPU_V7 119 select CPU_V7
120 select SUPPORT_SPL 120 select SUPPORT_SPL
121 select OF_CONTROL 121 select OF_CONTROL
122 select OF_SEPARATE 122 select OF_SEPARATE
123 select DM 123 select DM
124 select DM_ETH 124 select DM_ETH
125 select DM_SERIAL 125 select DM_SERIAL
126 select DM_SPI 126 select DM_SPI
127 select DM_SPI_FLASH 127 select DM_SPI_FLASH
128 select SPL_DM 128 select SPL_DM
129 select SPL_DM_SEQ_ALIAS 129 select SPL_DM_SEQ_ALIAS
130 select SPL_OF_CONTROL 130 select SPL_OF_CONTROL
131 select SPL_SIMPLE_BUS 131 select SPL_SIMPLE_BUS
132 132
133 config TARGET_DEVKIT3250 133 config TARGET_DEVKIT3250
134 bool "Support devkit3250" 134 bool "Support devkit3250"
135 select CPU_ARM926EJS 135 select CPU_ARM926EJS
136 select SUPPORT_SPL 136 select SUPPORT_SPL
137 137
138 config TARGET_WORK_92105 138 config TARGET_WORK_92105
139 bool "Support work_92105" 139 bool "Support work_92105"
140 select CPU_ARM926EJS 140 select CPU_ARM926EJS
141 select SUPPORT_SPL 141 select SUPPORT_SPL
142 142
143 config TARGET_MX25PDK 143 config TARGET_MX25PDK
144 bool "Support mx25pdk" 144 bool "Support mx25pdk"
145 select CPU_ARM926EJS 145 select CPU_ARM926EJS
146 146
147 config TARGET_ZMX25 147 config TARGET_ZMX25
148 bool "Support zmx25" 148 bool "Support zmx25"
149 select CPU_ARM926EJS 149 select CPU_ARM926EJS
150 150
151 config TARGET_APF27 151 config TARGET_APF27
152 bool "Support apf27" 152 bool "Support apf27"
153 select CPU_ARM926EJS 153 select CPU_ARM926EJS
154 select SUPPORT_SPL 154 select SUPPORT_SPL
155 155
156 config TARGET_APX4DEVKIT 156 config TARGET_APX4DEVKIT
157 bool "Support apx4devkit" 157 bool "Support apx4devkit"
158 select CPU_ARM926EJS 158 select CPU_ARM926EJS
159 select SUPPORT_SPL 159 select SUPPORT_SPL
160 160
161 config TARGET_XFI3 161 config TARGET_XFI3
162 bool "Support xfi3" 162 bool "Support xfi3"
163 select CPU_ARM926EJS 163 select CPU_ARM926EJS
164 select SUPPORT_SPL 164 select SUPPORT_SPL
165 165
166 config TARGET_M28EVK 166 config TARGET_M28EVK
167 bool "Support m28evk" 167 bool "Support m28evk"
168 select CPU_ARM926EJS 168 select CPU_ARM926EJS
169 select SUPPORT_SPL 169 select SUPPORT_SPL
170 170
171 config TARGET_MX23EVK 171 config TARGET_MX23EVK
172 bool "Support mx23evk" 172 bool "Support mx23evk"
173 select CPU_ARM926EJS 173 select CPU_ARM926EJS
174 select SUPPORT_SPL 174 select SUPPORT_SPL
175 175
176 config TARGET_MX28EVK 176 config TARGET_MX28EVK
177 bool "Support mx28evk" 177 bool "Support mx28evk"
178 select CPU_ARM926EJS 178 select CPU_ARM926EJS
179 select SUPPORT_SPL 179 select SUPPORT_SPL
180 180
181 config TARGET_MX23_OLINUXINO 181 config TARGET_MX23_OLINUXINO
182 bool "Support mx23_olinuxino" 182 bool "Support mx23_olinuxino"
183 select CPU_ARM926EJS 183 select CPU_ARM926EJS
184 select SUPPORT_SPL 184 select SUPPORT_SPL
185 185
186 config TARGET_BG0900 186 config TARGET_BG0900
187 bool "Support bg0900" 187 bool "Support bg0900"
188 select CPU_ARM926EJS 188 select CPU_ARM926EJS
189 select SUPPORT_SPL 189 select SUPPORT_SPL
190 190
191 config TARGET_SANSA_FUZE_PLUS 191 config TARGET_SANSA_FUZE_PLUS
192 bool "Support sansa_fuze_plus" 192 bool "Support sansa_fuze_plus"
193 select CPU_ARM926EJS 193 select CPU_ARM926EJS
194 select SUPPORT_SPL 194 select SUPPORT_SPL
195 195
196 config TARGET_SC_SPS_1 196 config TARGET_SC_SPS_1
197 bool "Support sc_sps_1" 197 bool "Support sc_sps_1"
198 select CPU_ARM926EJS 198 select CPU_ARM926EJS
199 select SUPPORT_SPL 199 select SUPPORT_SPL
200 200
201 config ORION5X 201 config ORION5X
202 bool "Marvell Orion" 202 bool "Marvell Orion"
203 select CPU_ARM926EJS 203 select CPU_ARM926EJS
204 204
205 config TARGET_SPEAR300 205 config TARGET_SPEAR300
206 bool "Support spear300" 206 bool "Support spear300"
207 select CPU_ARM926EJS 207 select CPU_ARM926EJS
208 208
209 config TARGET_SPEAR310 209 config TARGET_SPEAR310
210 bool "Support spear310" 210 bool "Support spear310"
211 select CPU_ARM926EJS 211 select CPU_ARM926EJS
212 212
213 config TARGET_SPEAR320 213 config TARGET_SPEAR320
214 bool "Support spear320" 214 bool "Support spear320"
215 select CPU_ARM926EJS 215 select CPU_ARM926EJS
216 216
217 config TARGET_SPEAR600 217 config TARGET_SPEAR600
218 bool "Support spear600" 218 bool "Support spear600"
219 select CPU_ARM926EJS 219 select CPU_ARM926EJS
220 220
221 config TARGET_STV0991 221 config TARGET_STV0991
222 bool "Support stv0991" 222 bool "Support stv0991"
223 select CPU_V7 223 select CPU_V7
224 select DM 224 select DM
225 select DM_SERIAL 225 select DM_SERIAL
226 select DM_SPI 226 select DM_SPI
227 select DM_SPI_FLASH 227 select DM_SPI_FLASH
228 select SPI_FLASH 228 select SPI_FLASH
229 229
230 config TARGET_X600 230 config TARGET_X600
231 bool "Support x600" 231 bool "Support x600"
232 select CPU_ARM926EJS 232 select CPU_ARM926EJS
233 select SUPPORT_SPL 233 select SUPPORT_SPL
234 234
235 config TARGET_IMX31_PHYCORE 235 config TARGET_IMX31_PHYCORE
236 bool "Support imx31_phycore" 236 bool "Support imx31_phycore"
237 select CPU_ARM1136 237 select CPU_ARM1136
238 238
239 config TARGET_MX31ADS 239 config TARGET_MX31ADS
240 bool "Support mx31ads" 240 bool "Support mx31ads"
241 select CPU_ARM1136 241 select CPU_ARM1136
242 242
243 config TARGET_MX31PDK 243 config TARGET_MX31PDK
244 bool "Support mx31pdk" 244 bool "Support mx31pdk"
245 select CPU_ARM1136 245 select CPU_ARM1136
246 select SUPPORT_SPL 246 select SUPPORT_SPL
247 247
248 config TARGET_WOODBURN 248 config TARGET_WOODBURN
249 bool "Support woodburn" 249 bool "Support woodburn"
250 select CPU_ARM1136 250 select CPU_ARM1136
251 251
252 config TARGET_WOODBURN_SD 252 config TARGET_WOODBURN_SD
253 bool "Support woodburn_sd" 253 bool "Support woodburn_sd"
254 select CPU_ARM1136 254 select CPU_ARM1136
255 select SUPPORT_SPL 255 select SUPPORT_SPL
256 256
257 config TARGET_FLEA3 257 config TARGET_FLEA3
258 bool "Support flea3" 258 bool "Support flea3"
259 select CPU_ARM1136 259 select CPU_ARM1136
260 260
261 config TARGET_MX35PDK 261 config TARGET_MX35PDK
262 bool "Support mx35pdk" 262 bool "Support mx35pdk"
263 select CPU_ARM1136 263 select CPU_ARM1136
264 264
265 config ARCH_BCM283X 265 config ARCH_BCM283X
266 bool "Broadcom BCM283X family" 266 bool "Broadcom BCM283X family"
267 select DM 267 select DM
268 select DM_SERIAL 268 select DM_SERIAL
269 select DM_GPIO 269 select DM_GPIO
270 270
271 config TARGET_VEXPRESS_CA15_TC2 271 config TARGET_VEXPRESS_CA15_TC2
272 bool "Support vexpress_ca15_tc2" 272 bool "Support vexpress_ca15_tc2"
273 select CPU_V7 273 select CPU_V7
274 select CPU_V7_HAS_NONSEC 274 select CPU_V7_HAS_NONSEC
275 select CPU_V7_HAS_VIRT 275 select CPU_V7_HAS_VIRT
276 276
277 config TARGET_VEXPRESS_CA5X2 277 config TARGET_VEXPRESS_CA5X2
278 bool "Support vexpress_ca5x2" 278 bool "Support vexpress_ca5x2"
279 select CPU_V7 279 select CPU_V7
280 280
281 config TARGET_VEXPRESS_CA9X4 281 config TARGET_VEXPRESS_CA9X4
282 bool "Support vexpress_ca9x4" 282 bool "Support vexpress_ca9x4"
283 select CPU_V7 283 select CPU_V7
284 284
285 config TARGET_KWB 285 config TARGET_KWB
286 bool "Support kwb" 286 bool "Support kwb"
287 select CPU_V7 287 select CPU_V7
288 select SUPPORT_SPL 288 select SUPPORT_SPL
289 289
290 config TARGET_TSERIES 290 config TARGET_TSERIES
291 bool "Support tseries" 291 bool "Support tseries"
292 select CPU_V7 292 select CPU_V7
293 select SUPPORT_SPL 293 select SUPPORT_SPL
294 294
295 config TARGET_CM_T335 295 config TARGET_CM_T335
296 bool "Support cm_t335" 296 bool "Support cm_t335"
297 select CPU_V7 297 select CPU_V7
298 select SUPPORT_SPL 298 select SUPPORT_SPL
299 select DM 299 select DM
300 select DM_SERIAL 300 select DM_SERIAL
301 select DM_GPIO 301 select DM_GPIO
302 302
303 config TARGET_PEPPER 303 config TARGET_PEPPER
304 bool "Support pepper" 304 bool "Support pepper"
305 select CPU_V7 305 select CPU_V7
306 select SUPPORT_SPL 306 select SUPPORT_SPL
307 select DM 307 select DM
308 select DM_SERIAL 308 select DM_SERIAL
309 select DM_GPIO 309 select DM_GPIO
310 310
311 config TARGET_AM335X_IGEP0033 311 config TARGET_AM335X_IGEP0033
312 bool "Support am335x_igep0033" 312 bool "Support am335x_igep0033"
313 select CPU_V7 313 select CPU_V7
314 select SUPPORT_SPL 314 select SUPPORT_SPL
315 select DM 315 select DM
316 select DM_SERIAL 316 select DM_SERIAL
317 select DM_GPIO 317 select DM_GPIO
318 318
319 config TARGET_PCM051 319 config TARGET_PCM051
320 bool "Support pcm051" 320 bool "Support pcm051"
321 select CPU_V7 321 select CPU_V7
322 select SUPPORT_SPL 322 select SUPPORT_SPL
323 select DM 323 select DM
324 select DM_SERIAL 324 select DM_SERIAL
325 select DM_GPIO 325 select DM_GPIO
326 326
327 config TARGET_DRACO 327 config TARGET_DRACO
328 bool "Support draco" 328 bool "Support draco"
329 select CPU_V7 329 select CPU_V7
330 select SUPPORT_SPL 330 select SUPPORT_SPL
331 331
332 config TARGET_THUBAN 332 config TARGET_THUBAN
333 bool "Support thuban" 333 bool "Support thuban"
334 select CPU_V7 334 select CPU_V7
335 select SUPPORT_SPL 335 select SUPPORT_SPL
336 336
337 config TARGET_RASTABAN 337 config TARGET_RASTABAN
338 bool "Support rastaban" 338 bool "Support rastaban"
339 select CPU_V7 339 select CPU_V7
340 select SUPPORT_SPL 340 select SUPPORT_SPL
341 341
342 config TARGET_PXM2 342 config TARGET_PXM2
343 bool "Support pxm2" 343 bool "Support pxm2"
344 select CPU_V7 344 select CPU_V7
345 select SUPPORT_SPL 345 select SUPPORT_SPL
346 346
347 config TARGET_RUT 347 config TARGET_RUT
348 bool "Support rut" 348 bool "Support rut"
349 select CPU_V7 349 select CPU_V7
350 select SUPPORT_SPL 350 select SUPPORT_SPL
351 351
352 config TARGET_PENGWYN 352 config TARGET_PENGWYN
353 bool "Support pengwyn" 353 bool "Support pengwyn"
354 select CPU_V7 354 select CPU_V7
355 select SUPPORT_SPL 355 select SUPPORT_SPL
356 select DM 356 select DM
357 select DM_SERIAL 357 select DM_SERIAL
358 select DM_GPIO 358 select DM_GPIO
359 359
360 config TARGET_AM335X_BALTOS 360 config TARGET_AM335X_BALTOS
361 bool "Support am335x_baltos" 361 bool "Support am335x_baltos"
362 select CPU_V7 362 select CPU_V7
363 select SUPPORT_SPL 363 select SUPPORT_SPL
364 select DM 364 select DM
365 select DM_SERIAL 365 select DM_SERIAL
366 select DM_GPIO 366 select DM_GPIO
367 367
368 config TARGET_AM335X_EVM 368 config TARGET_AM335X_EVM
369 bool "Support am335x_evm" 369 bool "Support am335x_evm"
370 select CPU_V7 370 select CPU_V7
371 select SUPPORT_SPL 371 select SUPPORT_SPL
372 select DM 372 select DM
373 select DM_SERIAL 373 select DM_SERIAL
374 select DM_GPIO 374 select DM_GPIO
375 select TI_I2C_BOARD_DETECT 375 select TI_I2C_BOARD_DETECT
376 376
377 config TARGET_AM335X_SL50 377 config TARGET_AM335X_SL50
378 bool "Support am335x_sl50" 378 bool "Support am335x_sl50"
379 select CPU_V7 379 select CPU_V7
380 select SUPPORT_SPL 380 select SUPPORT_SPL
381 select DM 381 select DM
382 select DM_SERIAL 382 select DM_SERIAL
383 383
384 config TARGET_AM43XX_EVM
385 bool "Support am43xx_evm"
386 select CPU_V7
387 select SUPPORT_SPL
388 select TI_I2C_BOARD_DETECT
389
390 config TARGET_BAV335X 384 config TARGET_BAV335X
391 bool "Support bav335x" 385 bool "Support bav335x"
392 select CPU_V7 386 select CPU_V7
393 select SUPPORT_SPL 387 select SUPPORT_SPL
394 select DM 388 select DM
395 select DM_SERIAL 389 select DM_SERIAL
396 help 390 help
397 The BAV335x OEM Network Processor integrates all the functions of an 391 The BAV335x OEM Network Processor integrates all the functions of an
398 embedded network computer in a small, easy to use SODIMM module which 392 embedded network computer in a small, easy to use SODIMM module which
399 incorporates the popular Texas Instruments Sitara 32bit ARM Coretex-A8 393 incorporates the popular Texas Instruments Sitara 32bit ARM Coretex-A8
400 processor, with fast DDR3 512MB SDRAM, 4GB of embedded MMC and a Gigabit 394 processor, with fast DDR3 512MB SDRAM, 4GB of embedded MMC and a Gigabit
401 ethernet with simple connection to external connectors. 395 ethernet with simple connection to external connectors.
402 396
403 For more information, visit: http://birdland.com/oem 397 For more information, visit: http://birdland.com/oem
404 398
405 config TARGET_TI814X_EVM 399 config TARGET_TI814X_EVM
406 bool "Support ti814x_evm" 400 bool "Support ti814x_evm"
407 select CPU_V7 401 select CPU_V7
408 select SUPPORT_SPL 402 select SUPPORT_SPL
409 403
410 config TARGET_TI816X_EVM 404 config TARGET_TI816X_EVM
411 bool "Support ti816x_evm" 405 bool "Support ti816x_evm"
412 select CPU_V7 406 select CPU_V7
413 select SUPPORT_SPL 407 select SUPPORT_SPL
414 408
415 config TARGET_BCM28155_AP 409 config TARGET_BCM28155_AP
416 bool "Support bcm28155_ap" 410 bool "Support bcm28155_ap"
417 select CPU_V7 411 select CPU_V7
418 412
419 config TARGET_BCMCYGNUS 413 config TARGET_BCMCYGNUS
420 bool "Support bcmcygnus" 414 bool "Support bcmcygnus"
421 select CPU_V7 415 select CPU_V7
422 416
423 config TARGET_BCMNSP 417 config TARGET_BCMNSP
424 bool "Support bcmnsp" 418 bool "Support bcmnsp"
425 select CPU_V7 419 select CPU_V7
426 420
427 config ARCH_EXYNOS 421 config ARCH_EXYNOS
428 bool "Samsung EXYNOS" 422 bool "Samsung EXYNOS"
429 select CPU_V7 423 select CPU_V7
430 select DM 424 select DM
431 select DM_SPI_FLASH 425 select DM_SPI_FLASH
432 select DM_SERIAL 426 select DM_SERIAL
433 select DM_SPI 427 select DM_SPI
434 select DM_GPIO 428 select DM_GPIO
435 select DM_KEYBOARD 429 select DM_KEYBOARD
436 430
437 config ARCH_S5PC1XX 431 config ARCH_S5PC1XX
438 bool "Samsung S5PC1XX" 432 bool "Samsung S5PC1XX"
439 select CPU_V7 433 select CPU_V7
440 select DM 434 select DM
441 select DM_SERIAL 435 select DM_SERIAL
442 select DM_GPIO 436 select DM_GPIO
443 437
444 config ARCH_HIGHBANK 438 config ARCH_HIGHBANK
445 bool "Calxeda Highbank" 439 bool "Calxeda Highbank"
446 select CPU_V7 440 select CPU_V7
447 441
448 config ARCH_INTEGRATOR 442 config ARCH_INTEGRATOR
449 bool "ARM Ltd. Integrator family" 443 bool "ARM Ltd. Integrator family"
450 select DM 444 select DM
451 select DM_SERIAL 445 select DM_SERIAL
452 446
453 config ARCH_KEYSTONE 447 config ARCH_KEYSTONE
454 bool "TI Keystone" 448 bool "TI Keystone"
455 select CPU_V7 449 select CPU_V7
456 select SUPPORT_SPL 450 select SUPPORT_SPL
457 select CMD_POWEROFF 451 select CMD_POWEROFF
458 452
459 config ARCH_MESON 453 config ARCH_MESON
460 bool "Amlogic Meson" 454 bool "Amlogic Meson"
461 help 455 help
462 Support for the Meson SoC family developed by Amlogic Inc., 456 Support for the Meson SoC family developed by Amlogic Inc.,
463 targeted at media players and tablet computers. We currently 457 targeted at media players and tablet computers. We currently
464 support the S905 (GXBaby) 64-bit SoC. 458 support the S905 (GXBaby) 64-bit SoC.
465 459
466 config ARCH_MX7 460 config ARCH_MX7
467 bool "Freescale MX7" 461 bool "Freescale MX7"
468 select CPU_V7 462 select CPU_V7
469 463
470 config ARCH_MX6 464 config ARCH_MX6
471 bool "Freescale MX6" 465 bool "Freescale MX6"
472 select CPU_V7 466 select CPU_V7
473 467
474 config ARCH_MX5 468 config ARCH_MX5
475 bool "Freescale MX5" 469 bool "Freescale MX5"
476 select CPU_V7 470 select CPU_V7
477 471
478 config TARGET_M53EVK 472 config TARGET_M53EVK
479 bool "Support m53evk" 473 bool "Support m53evk"
480 select CPU_V7 474 select CPU_V7
481 select SUPPORT_SPL 475 select SUPPORT_SPL
482 476
483 config TARGET_MX51EVK 477 config TARGET_MX51EVK
484 bool "Support mx51evk" 478 bool "Support mx51evk"
485 select CPU_V7 479 select CPU_V7
486 480
487 config TARGET_MX53ARD 481 config TARGET_MX53ARD
488 bool "Support mx53ard" 482 bool "Support mx53ard"
489 select CPU_V7 483 select CPU_V7
490 484
491 config TARGET_MX53EVK 485 config TARGET_MX53EVK
492 bool "Support mx53evk" 486 bool "Support mx53evk"
493 select CPU_V7 487 select CPU_V7
494 488
495 config TARGET_MX53LOCO 489 config TARGET_MX53LOCO
496 bool "Support mx53loco" 490 bool "Support mx53loco"
497 select CPU_V7 491 select CPU_V7
498 492
499 config TARGET_MX53SMD 493 config TARGET_MX53SMD
500 bool "Support mx53smd" 494 bool "Support mx53smd"
501 select CPU_V7 495 select CPU_V7
502 496
503 config OMAP34XX 497 config OMAP34XX
504 bool "OMAP34XX SoC" 498 bool "OMAP34XX SoC"
505 select CPU_V7 499 select CPU_V7
506 500
507 config OMAP44XX 501 config OMAP44XX
508 bool "OMAP44XX SoC" 502 bool "OMAP44XX SoC"
509 select CPU_V7 503 select CPU_V7
510 select SUPPORT_SPL 504 select SUPPORT_SPL
511 505
512 config OMAP54XX 506 config OMAP54XX
513 bool "OMAP54XX SoC" 507 bool "OMAP54XX SoC"
514 select CPU_V7 508 select CPU_V7
515 select SUPPORT_SPL 509 select SUPPORT_SPL
516 510
511 config AM43XX
512 bool "AM43XX SoC"
513 select CPU_V7
514 select SUPPORT_SPL
515 help
516 Support for AM43xx SOC from Texas Instruments.
517 The AM43xx high performance SOC features a Cortex-A9
518 ARM core, a quad core PRU-ICSS for industrial Ethernet
519 protocols, dual camera support, optional 3D graphics
520 and an optional customer programmable secure boot.
521
517 config RMOBILE 522 config RMOBILE
518 bool "Renesas ARM SoCs" 523 bool "Renesas ARM SoCs"
519 select CPU_V7 524 select CPU_V7
520 525
521 config ARCH_SNAPDRAGON 526 config ARCH_SNAPDRAGON
522 bool "Qualcomm Snapdragon SoCs" 527 bool "Qualcomm Snapdragon SoCs"
523 select ARM64 528 select ARM64
524 select DM 529 select DM
525 select DM_GPIO 530 select DM_GPIO
526 select DM_SERIAL 531 select DM_SERIAL
527 select SPMI 532 select SPMI
528 select OF_CONTROL 533 select OF_CONTROL
529 select OF_SEPARATE 534 select OF_SEPARATE
530 535
531 config ARCH_SOCFPGA 536 config ARCH_SOCFPGA
532 bool "Altera SOCFPGA family" 537 bool "Altera SOCFPGA family"
533 select CPU_V7 538 select CPU_V7
534 select SUPPORT_SPL 539 select SUPPORT_SPL
535 select OF_CONTROL 540 select OF_CONTROL
536 select SPL_OF_CONTROL 541 select SPL_OF_CONTROL
537 select DM 542 select DM
538 select DM_SPI_FLASH 543 select DM_SPI_FLASH
539 select DM_SPI 544 select DM_SPI
540 545
541 config TARGET_CM_T43 546 config TARGET_CM_T43
542 bool "Support cm_t43" 547 bool "Support cm_t43"
543 select CPU_V7 548 select CPU_V7
544 select SUPPORT_SPL 549 select SUPPORT_SPL
545 550
546 config ARCH_SUNXI 551 config ARCH_SUNXI
547 bool "Support sunxi (Allwinner) SoCs" 552 bool "Support sunxi (Allwinner) SoCs"
548 select CMD_BOOTZ 553 select CMD_BOOTZ
549 select CMD_DHCP 554 select CMD_DHCP
550 select CMD_EXT2 555 select CMD_EXT2
551 select CMD_EXT4 556 select CMD_EXT4
552 select CMD_FAT 557 select CMD_FAT
553 select CMD_FS_GENERIC 558 select CMD_FS_GENERIC
554 select CMD_GPIO 559 select CMD_GPIO
555 select CMD_MII 560 select CMD_MII
556 select CMD_MMC if MMC 561 select CMD_MMC if MMC
557 select CMD_PING 562 select CMD_PING
558 select CMD_USB 563 select CMD_USB
559 select DM 564 select DM
560 select DM_ETH 565 select DM_ETH
561 select DM_GPIO 566 select DM_GPIO
562 select DM_KEYBOARD 567 select DM_KEYBOARD
563 select DM_SERIAL 568 select DM_SERIAL
564 select DM_USB 569 select DM_USB
565 select HUSH_PARSER 570 select HUSH_PARSER
566 select OF_BOARD_SETUP 571 select OF_BOARD_SETUP
567 select OF_CONTROL 572 select OF_CONTROL
568 select OF_SEPARATE 573 select OF_SEPARATE
569 select SPL_STACK_R if SUPPORT_SPL 574 select SPL_STACK_R if SUPPORT_SPL
570 select SPL_SYS_MALLOC_SIMPLE if SUPPORT_SPL 575 select SPL_SYS_MALLOC_SIMPLE if SUPPORT_SPL
571 select SYS_NS16550 576 select SYS_NS16550
572 select USB 577 select USB
573 select USB_STORAGE 578 select USB_STORAGE
574 select USB_KEYBOARD 579 select USB_KEYBOARD
575 580
576 config TARGET_TS4800 581 config TARGET_TS4800
577 bool "Support TS4800" 582 bool "Support TS4800"
578 select CPU_V7 583 select CPU_V7
579 584
580 config TARGET_VF610TWR 585 config TARGET_VF610TWR
581 bool "Support vf610twr" 586 bool "Support vf610twr"
582 select CPU_V7 587 select CPU_V7
583 588
584 config TARGET_COLIBRI_VF 589 config TARGET_COLIBRI_VF
585 bool "Support Colibri VF50/61" 590 bool "Support Colibri VF50/61"
586 select CPU_V7 591 select CPU_V7
587 592
588 config TARGET_PCM052 593 config TARGET_PCM052
589 bool "Support pcm-052" 594 bool "Support pcm-052"
590 select CPU_V7 595 select CPU_V7
591 596
592 config ARCH_ZYNQ 597 config ARCH_ZYNQ
593 bool "Xilinx Zynq Platform" 598 bool "Xilinx Zynq Platform"
594 select CPU_V7 599 select CPU_V7
595 select SUPPORT_SPL 600 select SUPPORT_SPL
596 select OF_CONTROL 601 select OF_CONTROL
597 select SPL_OF_CONTROL if SPL 602 select SPL_OF_CONTROL if SPL
598 select DM 603 select DM
599 select DM_ETH 604 select DM_ETH
600 select DM_GPIO 605 select DM_GPIO
601 select SPL_DM if SPL 606 select SPL_DM if SPL
602 select DM_MMC 607 select DM_MMC
603 select DM_SPI 608 select DM_SPI
604 select DM_SERIAL 609 select DM_SERIAL
605 select DM_SPI_FLASH 610 select DM_SPI_FLASH
606 select SPL_SEPARATE_BSS if SPL 611 select SPL_SEPARATE_BSS if SPL
607 612
608 config ARCH_ZYNQMP 613 config ARCH_ZYNQMP
609 bool "Support Xilinx ZynqMP Platform" 614 bool "Support Xilinx ZynqMP Platform"
610 select ARM64 615 select ARM64
611 select DM 616 select DM
612 select OF_CONTROL 617 select OF_CONTROL
613 select DM_SERIAL 618 select DM_SERIAL
614 select SUPPORT_SPL 619 select SUPPORT_SPL
615 620
616 config TEGRA 621 config TEGRA
617 bool "NVIDIA Tegra" 622 bool "NVIDIA Tegra"
618 623
619 config TARGET_VEXPRESS64_AEMV8A 624 config TARGET_VEXPRESS64_AEMV8A
620 bool "Support vexpress_aemv8a" 625 bool "Support vexpress_aemv8a"
621 select ARM64 626 select ARM64
622 627
623 config TARGET_VEXPRESS64_BASE_FVP 628 config TARGET_VEXPRESS64_BASE_FVP
624 bool "Support Versatile Express ARMv8a FVP BASE model" 629 bool "Support Versatile Express ARMv8a FVP BASE model"
625 select ARM64 630 select ARM64
626 select SEMIHOSTING 631 select SEMIHOSTING
627 632
628 config TARGET_VEXPRESS64_BASE_FVP_DRAM 633 config TARGET_VEXPRESS64_BASE_FVP_DRAM
629 bool "Support Versatile Express ARMv8a FVP BASE model booting from DRAM" 634 bool "Support Versatile Express ARMv8a FVP BASE model booting from DRAM"
630 select ARM64 635 select ARM64
631 help 636 help
632 This target is derived from TARGET_VEXPRESS64_BASE_FVP and over-rides 637 This target is derived from TARGET_VEXPRESS64_BASE_FVP and over-rides
633 the default config to allow the user to load the images directly into 638 the default config to allow the user to load the images directly into
634 DRAM using model parameters rather than by using semi-hosting to load 639 DRAM using model parameters rather than by using semi-hosting to load
635 the files from the host filesystem. 640 the files from the host filesystem.
636 641
637 config TARGET_VEXPRESS64_JUNO 642 config TARGET_VEXPRESS64_JUNO
638 bool "Support Versatile Express Juno Development Platform" 643 bool "Support Versatile Express Juno Development Platform"
639 select ARM64 644 select ARM64
640 645
641 config TARGET_LS2080A_EMU 646 config TARGET_LS2080A_EMU
642 bool "Support ls2080a_emu" 647 bool "Support ls2080a_emu"
643 select ARM64 648 select ARM64
644 select ARMV8_MULTIENTRY 649 select ARMV8_MULTIENTRY
645 help 650 help
646 Support for Freescale LS2080A_EMU platform 651 Support for Freescale LS2080A_EMU platform
647 The LS2080A Development System (EMULATOR) is a pre silicon 652 The LS2080A Development System (EMULATOR) is a pre silicon
648 development platform that supports the QorIQ LS2080A 653 development platform that supports the QorIQ LS2080A
649 Layerscape Architecture processor. 654 Layerscape Architecture processor.
650 655
651 config TARGET_LS2080A_SIMU 656 config TARGET_LS2080A_SIMU
652 bool "Support ls2080a_simu" 657 bool "Support ls2080a_simu"
653 select ARM64 658 select ARM64
654 select ARMV8_MULTIENTRY 659 select ARMV8_MULTIENTRY
655 help 660 help
656 Support for Freescale LS2080A_SIMU platform 661 Support for Freescale LS2080A_SIMU platform
657 The LS2080A Development System (QDS) is a pre silicon 662 The LS2080A Development System (QDS) is a pre silicon
658 development platform that supports the QorIQ LS2080A 663 development platform that supports the QorIQ LS2080A
659 Layerscape Architecture processor. 664 Layerscape Architecture processor.
660 665
661 config TARGET_LS2080AQDS 666 config TARGET_LS2080AQDS
662 bool "Support ls2080aqds" 667 bool "Support ls2080aqds"
663 select ARM64 668 select ARM64
664 select ARMV8_MULTIENTRY 669 select ARMV8_MULTIENTRY
665 select SUPPORT_SPL 670 select SUPPORT_SPL
666 help 671 help
667 Support for Freescale LS2080AQDS platform 672 Support for Freescale LS2080AQDS platform
668 The LS2080A Development System (QDS) is a high-performance 673 The LS2080A Development System (QDS) is a high-performance
669 development platform that supports the QorIQ LS2080A 674 development platform that supports the QorIQ LS2080A
670 Layerscape Architecture processor. 675 Layerscape Architecture processor.
671 676
672 config TARGET_LS2080ARDB 677 config TARGET_LS2080ARDB
673 bool "Support ls2080ardb" 678 bool "Support ls2080ardb"
674 select ARM64 679 select ARM64
675 select ARMV8_MULTIENTRY 680 select ARMV8_MULTIENTRY
676 select SUPPORT_SPL 681 select SUPPORT_SPL
677 help 682 help
678 Support for Freescale LS2080ARDB platform. 683 Support for Freescale LS2080ARDB platform.
679 The LS2080A Reference design board (RDB) is a high-performance 684 The LS2080A Reference design board (RDB) is a high-performance
680 development platform that supports the QorIQ LS2080A 685 development platform that supports the QorIQ LS2080A
681 Layerscape Architecture processor. 686 Layerscape Architecture processor.
682 687
683 config TARGET_HIKEY 688 config TARGET_HIKEY
684 bool "Support HiKey 96boards Consumer Edition Platform" 689 bool "Support HiKey 96boards Consumer Edition Platform"
685 select ARM64 690 select ARM64
686 select DM 691 select DM
687 select DM_GPIO 692 select DM_GPIO
688 select DM_SERIAL 693 select DM_SERIAL
689 select OF_CONTROL 694 select OF_CONTROL
690 help 695 help
691 Support for HiKey 96boards platform. It features a HI6220 696 Support for HiKey 96boards platform. It features a HI6220
692 SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM. 697 SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
693 698
694 config TARGET_LS1021AQDS 699 config TARGET_LS1021AQDS
695 bool "Support ls1021aqds" 700 bool "Support ls1021aqds"
696 select CPU_V7 701 select CPU_V7
697 select SUPPORT_SPL 702 select SUPPORT_SPL
698 config TARGET_LS1021ATWR 703 config TARGET_LS1021ATWR
699 bool "Support ls1021atwr" 704 bool "Support ls1021atwr"
700 select CPU_V7 705 select CPU_V7
701 select SUPPORT_SPL 706 select SUPPORT_SPL
702 707
703 config TARGET_LS1043AQDS 708 config TARGET_LS1043AQDS
704 bool "Support ls1043aqds" 709 bool "Support ls1043aqds"
705 select ARM64 710 select ARM64
706 select ARMV8_MULTIENTRY 711 select ARMV8_MULTIENTRY
707 select SUPPORT_SPL 712 select SUPPORT_SPL
708 help 713 help
709 Support for Freescale LS1043AQDS platform. 714 Support for Freescale LS1043AQDS platform.
710 715
711 config TARGET_LS1043ARDB 716 config TARGET_LS1043ARDB
712 bool "Support ls1043ardb" 717 bool "Support ls1043ardb"
713 select ARM64 718 select ARM64
714 select ARMV8_MULTIENTRY 719 select ARMV8_MULTIENTRY
715 select SUPPORT_SPL 720 select SUPPORT_SPL
716 help 721 help
717 Support for Freescale LS1043ARDB platform. 722 Support for Freescale LS1043ARDB platform.
718 723
719 config TARGET_H2200 724 config TARGET_H2200
720 bool "Support h2200" 725 bool "Support h2200"
721 select CPU_PXA 726 select CPU_PXA
722 727
723 config TARGET_ZIPITZ2 728 config TARGET_ZIPITZ2
724 bool "Support zipitz2" 729 bool "Support zipitz2"
725 select CPU_PXA 730 select CPU_PXA
726 731
727 config TARGET_COLIBRI_PXA270 732 config TARGET_COLIBRI_PXA270
728 bool "Support colibri_pxa270" 733 bool "Support colibri_pxa270"
729 select CPU_PXA 734 select CPU_PXA
730 735
731 config ARCH_UNIPHIER 736 config ARCH_UNIPHIER
732 bool "Socionext UniPhier SoCs" 737 bool "Socionext UniPhier SoCs"
733 select CLK_UNIPHIER 738 select CLK_UNIPHIER
734 select SUPPORT_SPL 739 select SUPPORT_SPL
735 select SPL 740 select SPL
736 select OF_CONTROL 741 select OF_CONTROL
737 select SPL_OF_CONTROL 742 select SPL_OF_CONTROL
738 select DM 743 select DM
739 select SPL_DM 744 select SPL_DM
740 select DM_GPIO 745 select DM_GPIO
741 select DM_SERIAL 746 select DM_SERIAL
742 select DM_I2C 747 select DM_I2C
743 select DM_MMC 748 select DM_MMC
744 help 749 help
745 Support for UniPhier SoC family developed by Socionext Inc. 750 Support for UniPhier SoC family developed by Socionext Inc.
746 (formerly, System LSI Business Division of Panasonic Corporation) 751 (formerly, System LSI Business Division of Panasonic Corporation)
747 752
748 config STM32 753 config STM32
749 bool "Support STM32" 754 bool "Support STM32"
750 select CPU_V7M 755 select CPU_V7M
751 select DM 756 select DM
752 select DM_SERIAL 757 select DM_SERIAL
753 758
754 config ARCH_ROCKCHIP 759 config ARCH_ROCKCHIP
755 bool "Support Rockchip SoCs" 760 bool "Support Rockchip SoCs"
756 select SUPPORT_SPL 761 select SUPPORT_SPL
757 select SPL 762 select SPL
758 select OF_CONTROL 763 select OF_CONTROL
759 select CPU_V7 764 select CPU_V7
760 select DM 765 select DM
761 766
762 config TARGET_THUNDERX_88XX 767 config TARGET_THUNDERX_88XX
763 bool "Support ThunderX 88xx" 768 bool "Support ThunderX 88xx"
764 select OF_CONTROL 769 select OF_CONTROL
765 770
766 endchoice 771 endchoice
767 772
768 source "arch/arm/mach-at91/Kconfig" 773 source "arch/arm/mach-at91/Kconfig"
769 774
770 source "arch/arm/mach-bcm283x/Kconfig" 775 source "arch/arm/mach-bcm283x/Kconfig"
771 776
772 source "arch/arm/mach-davinci/Kconfig" 777 source "arch/arm/mach-davinci/Kconfig"
773 778
774 source "arch/arm/mach-exynos/Kconfig" 779 source "arch/arm/mach-exynos/Kconfig"
775 780
776 source "arch/arm/mach-highbank/Kconfig" 781 source "arch/arm/mach-highbank/Kconfig"
777 782
778 source "arch/arm/mach-integrator/Kconfig" 783 source "arch/arm/mach-integrator/Kconfig"
779 784
780 source "arch/arm/mach-keystone/Kconfig" 785 source "arch/arm/mach-keystone/Kconfig"
781 786
782 source "arch/arm/mach-kirkwood/Kconfig" 787 source "arch/arm/mach-kirkwood/Kconfig"
783 788
784 source "arch/arm/mach-mvebu/Kconfig" 789 source "arch/arm/mach-mvebu/Kconfig"
785 790
786 source "arch/arm/cpu/armv7/mx7/Kconfig" 791 source "arch/arm/cpu/armv7/mx7/Kconfig"
787 792
788 source "arch/arm/cpu/armv7/mx6/Kconfig" 793 source "arch/arm/cpu/armv7/mx6/Kconfig"
789 794
790 source "arch/arm/cpu/armv7/mx5/Kconfig" 795 source "arch/arm/cpu/armv7/mx5/Kconfig"
791 796
792 source "arch/arm/cpu/armv7/omap3/Kconfig" 797 source "arch/arm/cpu/armv7/omap3/Kconfig"
793 798
794 source "arch/arm/cpu/armv7/omap4/Kconfig" 799 source "arch/arm/cpu/armv7/omap4/Kconfig"
795 800
796 source "arch/arm/cpu/armv7/omap5/Kconfig" 801 source "arch/arm/cpu/armv7/omap5/Kconfig"
802
803 source "arch/arm/cpu/armv7/am33xx/Kconfig"
797 804
798 source "arch/arm/mach-orion5x/Kconfig" 805 source "arch/arm/mach-orion5x/Kconfig"
799 806
800 source "arch/arm/cpu/armv7/rmobile/Kconfig" 807 source "arch/arm/cpu/armv7/rmobile/Kconfig"
801 808
802 source "arch/arm/mach-meson/Kconfig" 809 source "arch/arm/mach-meson/Kconfig"
803 810
804 source "arch/arm/mach-rockchip/Kconfig" 811 source "arch/arm/mach-rockchip/Kconfig"
805 812
806 source "arch/arm/mach-s5pc1xx/Kconfig" 813 source "arch/arm/mach-s5pc1xx/Kconfig"
807 814
808 source "arch/arm/mach-snapdragon/Kconfig" 815 source "arch/arm/mach-snapdragon/Kconfig"
809 816
810 source "arch/arm/mach-socfpga/Kconfig" 817 source "arch/arm/mach-socfpga/Kconfig"
811 818
812 source "arch/arm/mach-stm32/Kconfig" 819 source "arch/arm/mach-stm32/Kconfig"
813 820
814 source "arch/arm/mach-tegra/Kconfig" 821 source "arch/arm/mach-tegra/Kconfig"
815 822
816 source "arch/arm/mach-uniphier/Kconfig" 823 source "arch/arm/mach-uniphier/Kconfig"
817 824
818 source "arch/arm/mach-zynq/Kconfig" 825 source "arch/arm/mach-zynq/Kconfig"
819 826
820 source "arch/arm/cpu/armv7/Kconfig" 827 source "arch/arm/cpu/armv7/Kconfig"
821 828
822 source "arch/arm/cpu/armv8/zynqmp/Kconfig" 829 source "arch/arm/cpu/armv8/zynqmp/Kconfig"
823 830
824 source "arch/arm/cpu/armv8/Kconfig" 831 source "arch/arm/cpu/armv8/Kconfig"
825 832
826 source "arch/arm/imx-common/Kconfig" 833 source "arch/arm/imx-common/Kconfig"
827 834
828 source "board/BuR/kwb/Kconfig" 835 source "board/BuR/kwb/Kconfig"
829 source "board/BuR/tseries/Kconfig" 836 source "board/BuR/tseries/Kconfig"
830 source "board/CarMediaLab/flea3/Kconfig" 837 source "board/CarMediaLab/flea3/Kconfig"
831 source "board/Marvell/aspenite/Kconfig" 838 source "board/Marvell/aspenite/Kconfig"
832 source "board/Marvell/gplugd/Kconfig" 839 source "board/Marvell/gplugd/Kconfig"
833 source "board/armadeus/apf27/Kconfig" 840 source "board/armadeus/apf27/Kconfig"
834 source "board/armltd/vexpress/Kconfig" 841 source "board/armltd/vexpress/Kconfig"
835 source "board/armltd/vexpress64/Kconfig" 842 source "board/armltd/vexpress64/Kconfig"
836 source "board/bluegiga/apx4devkit/Kconfig" 843 source "board/bluegiga/apx4devkit/Kconfig"
837 source "board/broadcom/bcm28155_ap/Kconfig" 844 source "board/broadcom/bcm28155_ap/Kconfig"
838 source "board/broadcom/bcmcygnus/Kconfig" 845 source "board/broadcom/bcmcygnus/Kconfig"
839 source "board/broadcom/bcmnsp/Kconfig" 846 source "board/broadcom/bcmnsp/Kconfig"
840 source "board/cavium/thunderx/Kconfig" 847 source "board/cavium/thunderx/Kconfig"
841 source "board/cirrus/edb93xx/Kconfig" 848 source "board/cirrus/edb93xx/Kconfig"
842 source "board/compulab/cm_t335/Kconfig" 849 source "board/compulab/cm_t335/Kconfig"
843 source "board/compulab/cm_t43/Kconfig" 850 source "board/compulab/cm_t43/Kconfig"
844 source "board/creative/xfi3/Kconfig" 851 source "board/creative/xfi3/Kconfig"
845 source "board/denx/m28evk/Kconfig" 852 source "board/denx/m28evk/Kconfig"
846 source "board/denx/m53evk/Kconfig" 853 source "board/denx/m53evk/Kconfig"
847 source "board/freescale/ls2080a/Kconfig" 854 source "board/freescale/ls2080a/Kconfig"
848 source "board/freescale/ls2080aqds/Kconfig" 855 source "board/freescale/ls2080aqds/Kconfig"
849 source "board/freescale/ls2080ardb/Kconfig" 856 source "board/freescale/ls2080ardb/Kconfig"
850 source "board/freescale/ls1021aqds/Kconfig" 857 source "board/freescale/ls1021aqds/Kconfig"
851 source "board/freescale/ls1043aqds/Kconfig" 858 source "board/freescale/ls1043aqds/Kconfig"
852 source "board/freescale/ls1021atwr/Kconfig" 859 source "board/freescale/ls1021atwr/Kconfig"
853 source "board/freescale/ls1043ardb/Kconfig" 860 source "board/freescale/ls1043ardb/Kconfig"
854 source "board/freescale/mx23evk/Kconfig" 861 source "board/freescale/mx23evk/Kconfig"
855 source "board/freescale/mx25pdk/Kconfig" 862 source "board/freescale/mx25pdk/Kconfig"
856 source "board/freescale/mx28evk/Kconfig" 863 source "board/freescale/mx28evk/Kconfig"
857 source "board/freescale/mx31ads/Kconfig" 864 source "board/freescale/mx31ads/Kconfig"
858 source "board/freescale/mx31pdk/Kconfig" 865 source "board/freescale/mx31pdk/Kconfig"
859 source "board/freescale/mx35pdk/Kconfig" 866 source "board/freescale/mx35pdk/Kconfig"
860 source "board/freescale/mx51evk/Kconfig" 867 source "board/freescale/mx51evk/Kconfig"
861 source "board/freescale/mx53ard/Kconfig" 868 source "board/freescale/mx53ard/Kconfig"
862 source "board/freescale/mx53evk/Kconfig" 869 source "board/freescale/mx53evk/Kconfig"
863 source "board/freescale/mx53loco/Kconfig" 870 source "board/freescale/mx53loco/Kconfig"
864 source "board/freescale/mx53smd/Kconfig" 871 source "board/freescale/mx53smd/Kconfig"
865 source "board/freescale/vf610twr/Kconfig" 872 source "board/freescale/vf610twr/Kconfig"
866 source "board/gumstix/pepper/Kconfig" 873 source "board/gumstix/pepper/Kconfig"
867 source "board/h2200/Kconfig" 874 source "board/h2200/Kconfig"
868 source "board/hisilicon/hikey/Kconfig" 875 source "board/hisilicon/hikey/Kconfig"
869 source "board/imx31_phycore/Kconfig" 876 source "board/imx31_phycore/Kconfig"
870 source "board/isee/igep0033/Kconfig" 877 source "board/isee/igep0033/Kconfig"
871 source "board/mpl/vcma9/Kconfig" 878 source "board/mpl/vcma9/Kconfig"
872 source "board/olimex/mx23_olinuxino/Kconfig" 879 source "board/olimex/mx23_olinuxino/Kconfig"
873 source "board/phytec/pcm051/Kconfig" 880 source "board/phytec/pcm051/Kconfig"
874 source "board/phytec/pcm052/Kconfig" 881 source "board/phytec/pcm052/Kconfig"
875 source "board/ppcag/bg0900/Kconfig" 882 source "board/ppcag/bg0900/Kconfig"
876 source "board/samsung/smdk2410/Kconfig" 883 source "board/samsung/smdk2410/Kconfig"
877 source "board/sandisk/sansa_fuze_plus/Kconfig" 884 source "board/sandisk/sansa_fuze_plus/Kconfig"
878 source "board/schulercontrol/sc_sps_1/Kconfig" 885 source "board/schulercontrol/sc_sps_1/Kconfig"
879 source "board/siemens/draco/Kconfig" 886 source "board/siemens/draco/Kconfig"
880 source "board/siemens/pxm2/Kconfig" 887 source "board/siemens/pxm2/Kconfig"
881 source "board/siemens/rut/Kconfig" 888 source "board/siemens/rut/Kconfig"
882 source "board/silica/pengwyn/Kconfig" 889 source "board/silica/pengwyn/Kconfig"
883 source "board/spear/spear300/Kconfig" 890 source "board/spear/spear300/Kconfig"
884 source "board/spear/spear310/Kconfig" 891 source "board/spear/spear310/Kconfig"
885 source "board/spear/spear320/Kconfig" 892 source "board/spear/spear320/Kconfig"
886 source "board/spear/spear600/Kconfig" 893 source "board/spear/spear600/Kconfig"
887 source "board/spear/x600/Kconfig" 894 source "board/spear/x600/Kconfig"
888 source "board/st/stv0991/Kconfig" 895 source "board/st/stv0991/Kconfig"
889 source "board/sunxi/Kconfig" 896 source "board/sunxi/Kconfig"
890 source "board/syteco/zmx25/Kconfig" 897 source "board/syteco/zmx25/Kconfig"
891 source "board/tcl/sl50/Kconfig" 898 source "board/tcl/sl50/Kconfig"
892 source "board/ti/am335x/Kconfig" 899 source "board/ti/am335x/Kconfig"
893 source "board/ti/am43xx/Kconfig" 900 source "board/ti/am43xx/Kconfig"
894 source "board/birdland/bav335x/Kconfig" 901 source "board/birdland/bav335x/Kconfig"
895 source "board/ti/ti814x/Kconfig" 902 source "board/ti/ti814x/Kconfig"
896 source "board/ti/ti816x/Kconfig" 903 source "board/ti/ti816x/Kconfig"
897 source "board/timll/devkit3250/Kconfig" 904 source "board/timll/devkit3250/Kconfig"
898 source "board/toradex/colibri_pxa270/Kconfig" 905 source "board/toradex/colibri_pxa270/Kconfig"
899 source "board/toradex/colibri_vf/Kconfig" 906 source "board/toradex/colibri_vf/Kconfig"
900 source "board/technologic/ts4800/Kconfig" 907 source "board/technologic/ts4800/Kconfig"
901 source "board/vscom/baltos/Kconfig" 908 source "board/vscom/baltos/Kconfig"
902 source "board/woodburn/Kconfig" 909 source "board/woodburn/Kconfig"
903 source "board/work-microwave/work_92105/Kconfig" 910 source "board/work-microwave/work_92105/Kconfig"
arch/arm/cpu/armv7/am33xx/Kconfig
1 if AM43XX
2 config TARGET_AM43XX_EVM
3 bool "Support am43xx_evm"
4 select TI_I2C_BOARD_DETECT
5 help
6 This option specifies support for the AM43xx
7 GP and HS EVM development platforms.The AM437x
8 GP EVM is a standalone test, development, and
9 evaluation module system that enables developers
10 to write software and develop hardware around
11 an AM43xx processor subsystem.
12
1 config ISW_ENTRY_ADDR 13 config ISW_ENTRY_ADDR
2 hex "Address in memory or XIP flash of bootloader entry point" 14 hex "Address in memory or XIP flash of bootloader entry point"
3 help 15 help
4 After any reset, the boot ROM on the AM43XX SOC 16 After any reset, the boot ROM on the AM43XX SOC
5 searches the boot media for a valid boot image. 17 searches the boot media for a valid boot image.
6 For non-XIP devices, the ROM then copies the 18 For non-XIP devices, the ROM then copies the
7 image into internal memory. 19 image into internal memory.
8 For all boot modes, after the ROM processes the 20 For all boot modes, after the ROM processes the
9 boot image it eventually computes the entry 21 boot image it eventually computes the entry
10 point address depending on the device type 22 point address depending on the device type
11 (secure/non-secure), boot media (xip/non-xip) and 23 (secure/non-secure), boot media (xip/non-xip) and
12 image headers. 24 image headers.
13 default 0x402F4000 25 default 0x402F4000
14 26
15 config PUB_ROM_DATA_SIZE 27 config PUB_ROM_DATA_SIZE
16 hex "Size in bytes of the L3 SRAM reserved by ROM to store data" 28 hex "Size in bytes of the L3 SRAM reserved by ROM to store data"
17 help 29 help
18 During the device boot, the public ROM uses the top of 30 During the device boot, the public ROM uses the top of
19 the public L3 OCMC RAM to store r/w data like stack, 31 the public L3 OCMC RAM to store r/w data like stack,
20 heap, globals etc. When the ROM is copying the boot 32 heap, globals etc. When the ROM is copying the boot
21 image from the boot media into memory, the image must 33 image from the boot media into memory, the image must
22 not spill over into this area. This value can be used 34 not spill over into this area. This value can be used
23 during compile time to determine the maximum size of a 35 during compile time to determine the maximum size of a
24 boot image. Once the ROM transfers control to the boot 36 boot image. Once the ROM transfers control to the boot
25 image, this area is no longer used, and can be reclaimed 37 image, this area is no longer used, and can be reclaimed
26 for run time use by the boot image. 38 for run time use by the boot image.
27 default 0x8400 39 default 0x8400
40 endif
28 41
configs/am437x_gp_evm_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_AM43XX=y
2 CONFIG_TARGET_AM43XX_EVM=y 3 CONFIG_TARGET_AM43XX_EVM=y
3 CONFIG_DM_SERIAL=y 4 CONFIG_DM_SERIAL=y
4 CONFIG_DM_GPIO=y 5 CONFIG_DM_GPIO=y
5 CONFIG_SPL_STACK_R_ADDR=0x82000000 6 CONFIG_SPL_STACK_R_ADDR=0x82000000
6 CONFIG_DEFAULT_DEVICE_TREE="am437x-gp-evm" 7 CONFIG_DEFAULT_DEVICE_TREE="am437x-gp-evm"
7 CONFIG_SPL=y 8 CONFIG_SPL=y
8 CONFIG_SPL_STACK_R=y 9 CONFIG_SPL_STACK_R=y
9 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1" 10 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1"
10 CONFIG_HUSH_PARSER=y 11 CONFIG_HUSH_PARSER=y
11 CONFIG_CMD_BOOTZ=y 12 CONFIG_CMD_BOOTZ=y
12 # CONFIG_CMD_IMLS is not set 13 # CONFIG_CMD_IMLS is not set
13 CONFIG_CMD_ASKENV=y 14 CONFIG_CMD_ASKENV=y
14 # CONFIG_CMD_FLASH is not set 15 # CONFIG_CMD_FLASH is not set
15 CONFIG_CMD_MMC=y 16 CONFIG_CMD_MMC=y
16 CONFIG_CMD_SF=y 17 CONFIG_CMD_SF=y
17 CONFIG_CMD_SPI=y 18 CONFIG_CMD_SPI=y
18 CONFIG_CMD_I2C=y 19 CONFIG_CMD_I2C=y
19 CONFIG_CMD_USB=y 20 CONFIG_CMD_USB=y
20 CONFIG_CMD_DFU=y 21 CONFIG_CMD_DFU=y
21 CONFIG_CMD_GPIO=y 22 CONFIG_CMD_GPIO=y
22 # CONFIG_CMD_SETEXPR is not set 23 # CONFIG_CMD_SETEXPR is not set
23 CONFIG_CMD_DHCP=y 24 CONFIG_CMD_DHCP=y
24 CONFIG_CMD_MII=y 25 CONFIG_CMD_MII=y
25 CONFIG_CMD_PING=y 26 CONFIG_CMD_PING=y
26 CONFIG_CMD_EXT2=y 27 CONFIG_CMD_EXT2=y
27 CONFIG_CMD_EXT4=y 28 CONFIG_CMD_EXT4=y
28 CONFIG_CMD_EXT4_WRITE=y 29 CONFIG_CMD_EXT4_WRITE=y
29 CONFIG_CMD_FAT=y 30 CONFIG_CMD_FAT=y
30 CONFIG_CMD_FS_GENERIC=y 31 CONFIG_CMD_FS_GENERIC=y
31 CONFIG_OF_CONTROL=y 32 CONFIG_OF_CONTROL=y
32 CONFIG_DM=y 33 CONFIG_DM=y
33 CONFIG_DM_MMC=y 34 CONFIG_DM_MMC=y
34 CONFIG_SPI_FLASH=y 35 CONFIG_SPI_FLASH=y
35 CONFIG_SPI_FLASH_MACRONIX=y 36 CONFIG_SPI_FLASH_MACRONIX=y
36 CONFIG_SYS_NS16550=y 37 CONFIG_SYS_NS16550=y
37 CONFIG_TI_QSPI=y 38 CONFIG_TI_QSPI=y
38 CONFIG_TIMER=y 39 CONFIG_TIMER=y
39 CONFIG_OMAP_TIMER=y 40 CONFIG_OMAP_TIMER=y
40 CONFIG_USB=y 41 CONFIG_USB=y
41 CONFIG_USB_DWC3=y 42 CONFIG_USB_DWC3=y
42 CONFIG_USB_DWC3_GADGET=y 43 CONFIG_USB_DWC3_GADGET=y
43 CONFIG_USB_DWC3_OMAP=y 44 CONFIG_USB_DWC3_OMAP=y
44 CONFIG_USB_DWC3_PHY_OMAP=y 45 CONFIG_USB_DWC3_PHY_OMAP=y
45 CONFIG_USB_GADGET=y 46 CONFIG_USB_GADGET=y
46 CONFIG_USB_GADGET_DOWNLOAD=y 47 CONFIG_USB_GADGET_DOWNLOAD=y
47 CONFIG_G_DNL_MANUFACTURER="Texas Instruments" 48 CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
48 CONFIG_G_DNL_VENDOR_NUM=0x0403 49 CONFIG_G_DNL_VENDOR_NUM=0x0403
49 CONFIG_G_DNL_PRODUCT_NUM=0xbd00 50 CONFIG_G_DNL_PRODUCT_NUM=0xbd00
50 CONFIG_DM_ETH=y 51 CONFIG_DM_ETH=y
51 CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL" 52 CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL"
52 53
configs/am437x_sk_evm_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_AM43XX=y
2 CONFIG_TARGET_AM43XX_EVM=y 3 CONFIG_TARGET_AM43XX_EVM=y
3 CONFIG_DM_SERIAL=y 4 CONFIG_DM_SERIAL=y
4 CONFIG_DM_SPI=y 5 CONFIG_DM_SPI=y
5 CONFIG_DM_SPI_FLASH=y 6 CONFIG_DM_SPI_FLASH=y
6 CONFIG_DM_GPIO=y 7 CONFIG_DM_GPIO=y
7 CONFIG_SPL_STACK_R_ADDR=0x82000000 8 CONFIG_SPL_STACK_R_ADDR=0x82000000
8 CONFIG_DEFAULT_DEVICE_TREE="am437x-sk-evm" 9 CONFIG_DEFAULT_DEVICE_TREE="am437x-sk-evm"
9 CONFIG_SPL=y 10 CONFIG_SPL=y
10 CONFIG_SPL_STACK_R=y 11 CONFIG_SPL_STACK_R=y
11 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1" 12 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1"
12 CONFIG_HUSH_PARSER=y 13 CONFIG_HUSH_PARSER=y
13 CONFIG_CMD_BOOTZ=y 14 CONFIG_CMD_BOOTZ=y
14 # CONFIG_CMD_IMLS is not set 15 # CONFIG_CMD_IMLS is not set
15 CONFIG_CMD_ASKENV=y 16 CONFIG_CMD_ASKENV=y
16 # CONFIG_CMD_FLASH is not set 17 # CONFIG_CMD_FLASH is not set
17 CONFIG_CMD_MMC=y 18 CONFIG_CMD_MMC=y
18 CONFIG_CMD_SF=y 19 CONFIG_CMD_SF=y
19 CONFIG_CMD_SPI=y 20 CONFIG_CMD_SPI=y
20 CONFIG_CMD_I2C=y 21 CONFIG_CMD_I2C=y
21 CONFIG_CMD_USB=y 22 CONFIG_CMD_USB=y
22 CONFIG_CMD_DFU=y 23 CONFIG_CMD_DFU=y
23 CONFIG_CMD_GPIO=y 24 CONFIG_CMD_GPIO=y
24 # CONFIG_CMD_SETEXPR is not set 25 # CONFIG_CMD_SETEXPR is not set
25 CONFIG_CMD_DHCP=y 26 CONFIG_CMD_DHCP=y
26 CONFIG_CMD_MII=y 27 CONFIG_CMD_MII=y
27 CONFIG_CMD_PING=y 28 CONFIG_CMD_PING=y
28 CONFIG_CMD_EXT2=y 29 CONFIG_CMD_EXT2=y
29 CONFIG_CMD_EXT4=y 30 CONFIG_CMD_EXT4=y
30 CONFIG_CMD_EXT4_WRITE=y 31 CONFIG_CMD_EXT4_WRITE=y
31 CONFIG_CMD_FAT=y 32 CONFIG_CMD_FAT=y
32 CONFIG_CMD_FS_GENERIC=y 33 CONFIG_CMD_FS_GENERIC=y
33 CONFIG_OF_CONTROL=y 34 CONFIG_OF_CONTROL=y
34 CONFIG_DM=y 35 CONFIG_DM=y
35 CONFIG_DMA=y 36 CONFIG_DMA=y
36 CONFIG_DM_MMC=y 37 CONFIG_DM_MMC=y
37 CONFIG_SPI_FLASH=y 38 CONFIG_SPI_FLASH=y
38 CONFIG_SPI_FLASH_BAR=y 39 CONFIG_SPI_FLASH_BAR=y
39 CONFIG_SPI_FLASH_MACRONIX=y 40 CONFIG_SPI_FLASH_MACRONIX=y
40 CONFIG_SYS_NS16550=y 41 CONFIG_SYS_NS16550=y
41 CONFIG_TI_QSPI=y 42 CONFIG_TI_QSPI=y
42 CONFIG_TIMER=y 43 CONFIG_TIMER=y
43 CONFIG_OMAP_TIMER=y 44 CONFIG_OMAP_TIMER=y
44 CONFIG_USB=y 45 CONFIG_USB=y
45 CONFIG_USB_DWC3=y 46 CONFIG_USB_DWC3=y
46 CONFIG_USB_DWC3_GADGET=y 47 CONFIG_USB_DWC3_GADGET=y
47 CONFIG_USB_DWC3_OMAP=y 48 CONFIG_USB_DWC3_OMAP=y
48 CONFIG_USB_DWC3_PHY_OMAP=y 49 CONFIG_USB_DWC3_PHY_OMAP=y
49 CONFIG_USB_GADGET=y 50 CONFIG_USB_GADGET=y
50 CONFIG_USB_GADGET_DOWNLOAD=y 51 CONFIG_USB_GADGET_DOWNLOAD=y
51 CONFIG_G_DNL_MANUFACTURER="Texas Instruments" 52 CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
52 CONFIG_G_DNL_VENDOR_NUM=0x0403 53 CONFIG_G_DNL_VENDOR_NUM=0x0403
53 CONFIG_G_DNL_PRODUCT_NUM=0xbd00 54 CONFIG_G_DNL_PRODUCT_NUM=0xbd00
54 CONFIG_DM_ETH=y 55 CONFIG_DM_ETH=y
55 CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL" 56 CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL"
56 57
configs/am43xx_evm_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_AM43XX=y
2 CONFIG_TARGET_AM43XX_EVM=y 3 CONFIG_TARGET_AM43XX_EVM=y
3 CONFIG_SPL=y 4 CONFIG_SPL=y
4 CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,NAND" 5 CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,NAND"
5 CONFIG_HUSH_PARSER=y 6 CONFIG_HUSH_PARSER=y
6 CONFIG_CMD_BOOTZ=y 7 CONFIG_CMD_BOOTZ=y
7 # CONFIG_CMD_IMLS is not set 8 # CONFIG_CMD_IMLS is not set
8 CONFIG_CMD_ASKENV=y 9 CONFIG_CMD_ASKENV=y
9 # CONFIG_CMD_FLASH is not set 10 # CONFIG_CMD_FLASH is not set
10 CONFIG_CMD_MMC=y 11 CONFIG_CMD_MMC=y
11 CONFIG_CMD_SF=y 12 CONFIG_CMD_SF=y
12 CONFIG_CMD_SPI=y 13 CONFIG_CMD_SPI=y
13 CONFIG_CMD_I2C=y 14 CONFIG_CMD_I2C=y
14 CONFIG_CMD_USB=y 15 CONFIG_CMD_USB=y
15 CONFIG_CMD_DFU=y 16 CONFIG_CMD_DFU=y
16 CONFIG_CMD_GPIO=y 17 CONFIG_CMD_GPIO=y
17 # CONFIG_CMD_SETEXPR is not set 18 # CONFIG_CMD_SETEXPR is not set
18 CONFIG_CMD_DHCP=y 19 CONFIG_CMD_DHCP=y
19 CONFIG_CMD_MII=y 20 CONFIG_CMD_MII=y
20 CONFIG_CMD_PING=y 21 CONFIG_CMD_PING=y
21 CONFIG_CMD_EXT2=y 22 CONFIG_CMD_EXT2=y
22 CONFIG_CMD_EXT4=y 23 CONFIG_CMD_EXT4=y
23 CONFIG_CMD_EXT4_WRITE=y 24 CONFIG_CMD_EXT4_WRITE=y
24 CONFIG_CMD_FAT=y 25 CONFIG_CMD_FAT=y
25 CONFIG_CMD_FS_GENERIC=y 26 CONFIG_CMD_FS_GENERIC=y
26 CONFIG_SPI_FLASH=y 27 CONFIG_SPI_FLASH=y
27 CONFIG_SPI_FLASH_BAR=y 28 CONFIG_SPI_FLASH_BAR=y
28 CONFIG_SPI_FLASH_MACRONIX=y 29 CONFIG_SPI_FLASH_MACRONIX=y
29 CONFIG_SYS_NS16550=y 30 CONFIG_SYS_NS16550=y
30 CONFIG_TI_QSPI=y 31 CONFIG_TI_QSPI=y
31 CONFIG_USB=y 32 CONFIG_USB=y
32 CONFIG_USB_DWC3=y 33 CONFIG_USB_DWC3=y
33 CONFIG_USB_DWC3_GADGET=y 34 CONFIG_USB_DWC3_GADGET=y
34 CONFIG_USB_DWC3_OMAP=y 35 CONFIG_USB_DWC3_OMAP=y
35 CONFIG_USB_DWC3_PHY_OMAP=y 36 CONFIG_USB_DWC3_PHY_OMAP=y
36 CONFIG_USB_GADGET=y 37 CONFIG_USB_GADGET=y
37 CONFIG_USB_GADGET_DOWNLOAD=y 38 CONFIG_USB_GADGET_DOWNLOAD=y
38 CONFIG_G_DNL_MANUFACTURER="Texas Instruments" 39 CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
39 CONFIG_G_DNL_VENDOR_NUM=0x0403 40 CONFIG_G_DNL_VENDOR_NUM=0x0403
40 CONFIG_G_DNL_PRODUCT_NUM=0xbd00 41 CONFIG_G_DNL_PRODUCT_NUM=0xbd00
41 CONFIG_OF_LIBFDT=y 42 CONFIG_OF_LIBFDT=y
42 CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL" 43 CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL"
43 44
configs/am43xx_evm_ethboot_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_AM43XX=y
2 CONFIG_TARGET_AM43XX_EVM=y 3 CONFIG_TARGET_AM43XX_EVM=y
3 CONFIG_SPL=y 4 CONFIG_SPL=y
4 CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,NAND,SPL_ETH_SUPPORT" 5 CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,NAND,SPL_ETH_SUPPORT"
5 CONFIG_HUSH_PARSER=y 6 CONFIG_HUSH_PARSER=y
6 CONFIG_CMD_BOOTZ=y 7 CONFIG_CMD_BOOTZ=y
7 # CONFIG_CMD_IMLS is not set 8 # CONFIG_CMD_IMLS is not set
8 CONFIG_CMD_ASKENV=y 9 CONFIG_CMD_ASKENV=y
9 # CONFIG_CMD_FLASH is not set 10 # CONFIG_CMD_FLASH is not set
10 CONFIG_CMD_MMC=y 11 CONFIG_CMD_MMC=y
11 CONFIG_CMD_SF=y 12 CONFIG_CMD_SF=y
12 CONFIG_CMD_SPI=y 13 CONFIG_CMD_SPI=y
13 CONFIG_CMD_I2C=y 14 CONFIG_CMD_I2C=y
14 CONFIG_CMD_USB=y 15 CONFIG_CMD_USB=y
15 CONFIG_CMD_DFU=y 16 CONFIG_CMD_DFU=y
16 CONFIG_CMD_GPIO=y 17 CONFIG_CMD_GPIO=y
17 # CONFIG_CMD_SETEXPR is not set 18 # CONFIG_CMD_SETEXPR is not set
18 CONFIG_CMD_DHCP=y 19 CONFIG_CMD_DHCP=y
19 CONFIG_CMD_MII=y 20 CONFIG_CMD_MII=y
20 CONFIG_CMD_PING=y 21 CONFIG_CMD_PING=y
21 CONFIG_CMD_EXT2=y 22 CONFIG_CMD_EXT2=y
22 CONFIG_CMD_EXT4=y 23 CONFIG_CMD_EXT4=y
23 CONFIG_CMD_EXT4_WRITE=y 24 CONFIG_CMD_EXT4_WRITE=y
24 CONFIG_CMD_FAT=y 25 CONFIG_CMD_FAT=y
25 CONFIG_CMD_FS_GENERIC=y 26 CONFIG_CMD_FS_GENERIC=y
26 CONFIG_SPI_FLASH=y 27 CONFIG_SPI_FLASH=y
27 CONFIG_SPI_FLASH_MACRONIX=y 28 CONFIG_SPI_FLASH_MACRONIX=y
28 CONFIG_SYS_NS16550=y 29 CONFIG_SYS_NS16550=y
29 CONFIG_TI_QSPI=y 30 CONFIG_TI_QSPI=y
30 CONFIG_USB=y 31 CONFIG_USB=y
31 CONFIG_USB_DWC3=y 32 CONFIG_USB_DWC3=y
32 CONFIG_USB_DWC3_GADGET=y 33 CONFIG_USB_DWC3_GADGET=y
33 CONFIG_USB_DWC3_OMAP=y 34 CONFIG_USB_DWC3_OMAP=y
34 CONFIG_USB_DWC3_PHY_OMAP=y 35 CONFIG_USB_DWC3_PHY_OMAP=y
35 CONFIG_USB_GADGET=y 36 CONFIG_USB_GADGET=y
36 CONFIG_USB_GADGET_DOWNLOAD=y 37 CONFIG_USB_GADGET_DOWNLOAD=y
37 CONFIG_G_DNL_MANUFACTURER="Texas Instruments" 38 CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
38 CONFIG_G_DNL_VENDOR_NUM=0x0403 39 CONFIG_G_DNL_VENDOR_NUM=0x0403
39 CONFIG_G_DNL_PRODUCT_NUM=0xbd00 40 CONFIG_G_DNL_PRODUCT_NUM=0xbd00
40 CONFIG_OF_LIBFDT=y 41 CONFIG_OF_LIBFDT=y
41 CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL" 42 CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL"
42 43
configs/am43xx_evm_qspiboot_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_AM43XX=y
2 CONFIG_TARGET_AM43XX_EVM=y 3 CONFIG_TARGET_AM43XX_EVM=y
3 CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,QSPI,QSPI_BOOT" 4 CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,QSPI,QSPI_BOOT"
4 CONFIG_HUSH_PARSER=y 5 CONFIG_HUSH_PARSER=y
5 CONFIG_CMD_BOOTZ=y 6 CONFIG_CMD_BOOTZ=y
6 # CONFIG_CMD_IMLS is not set 7 # CONFIG_CMD_IMLS is not set
7 CONFIG_CMD_ASKENV=y 8 CONFIG_CMD_ASKENV=y
8 # CONFIG_CMD_FLASH is not set 9 # CONFIG_CMD_FLASH is not set
9 CONFIG_CMD_MMC=y 10 CONFIG_CMD_MMC=y
10 CONFIG_CMD_SF=y 11 CONFIG_CMD_SF=y
11 CONFIG_CMD_SPI=y 12 CONFIG_CMD_SPI=y
12 CONFIG_CMD_I2C=y 13 CONFIG_CMD_I2C=y
13 CONFIG_CMD_USB=y 14 CONFIG_CMD_USB=y
14 CONFIG_CMD_DFU=y 15 CONFIG_CMD_DFU=y
15 CONFIG_CMD_GPIO=y 16 CONFIG_CMD_GPIO=y
16 # CONFIG_CMD_SETEXPR is not set 17 # CONFIG_CMD_SETEXPR is not set
17 CONFIG_CMD_DHCP=y 18 CONFIG_CMD_DHCP=y
18 CONFIG_CMD_MII=y 19 CONFIG_CMD_MII=y
19 CONFIG_CMD_PING=y 20 CONFIG_CMD_PING=y
20 CONFIG_CMD_EXT2=y 21 CONFIG_CMD_EXT2=y
21 CONFIG_CMD_EXT4=y 22 CONFIG_CMD_EXT4=y
22 CONFIG_CMD_EXT4_WRITE=y 23 CONFIG_CMD_EXT4_WRITE=y
23 CONFIG_CMD_FAT=y 24 CONFIG_CMD_FAT=y
24 CONFIG_CMD_FS_GENERIC=y 25 CONFIG_CMD_FS_GENERIC=y
25 CONFIG_SPI_FLASH=y 26 CONFIG_SPI_FLASH=y
26 CONFIG_SPI_FLASH_MACRONIX=y 27 CONFIG_SPI_FLASH_MACRONIX=y
27 CONFIG_SYS_NS16550=y 28 CONFIG_SYS_NS16550=y
28 CONFIG_TI_QSPI=y 29 CONFIG_TI_QSPI=y
29 CONFIG_USB=y 30 CONFIG_USB=y
30 CONFIG_USB_DWC3=y 31 CONFIG_USB_DWC3=y
31 CONFIG_USB_DWC3_GADGET=y 32 CONFIG_USB_DWC3_GADGET=y
32 CONFIG_USB_DWC3_OMAP=y 33 CONFIG_USB_DWC3_OMAP=y
33 CONFIG_USB_DWC3_PHY_OMAP=y 34 CONFIG_USB_DWC3_PHY_OMAP=y
34 CONFIG_USB_GADGET=y 35 CONFIG_USB_GADGET=y
35 CONFIG_USB_GADGET_DOWNLOAD=y 36 CONFIG_USB_GADGET_DOWNLOAD=y
36 CONFIG_G_DNL_MANUFACTURER="Texas Instruments" 37 CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
37 CONFIG_G_DNL_VENDOR_NUM=0x0403 38 CONFIG_G_DNL_VENDOR_NUM=0x0403
38 CONFIG_G_DNL_PRODUCT_NUM=0xbd00 39 CONFIG_G_DNL_PRODUCT_NUM=0xbd00
39 CONFIG_OF_LIBFDT=y 40 CONFIG_OF_LIBFDT=y
40 CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL" 41 CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL"
41 42
configs/am43xx_evm_usbhost_boot_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_AM43XX=y
2 CONFIG_TARGET_AM43XX_EVM=y 3 CONFIG_TARGET_AM43XX_EVM=y
3 CONFIG_SPL=y 4 CONFIG_SPL=y
4 CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,NAND,SPL_USB_HOST_SUPPORT" 5 CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,NAND,SPL_USB_HOST_SUPPORT"
5 CONFIG_HUSH_PARSER=y 6 CONFIG_HUSH_PARSER=y
6 CONFIG_CMD_BOOTZ=y 7 CONFIG_CMD_BOOTZ=y
7 # CONFIG_CMD_IMLS is not set 8 # CONFIG_CMD_IMLS is not set
8 CONFIG_CMD_ASKENV=y 9 CONFIG_CMD_ASKENV=y
9 # CONFIG_CMD_FLASH is not set 10 # CONFIG_CMD_FLASH is not set
10 CONFIG_CMD_MMC=y 11 CONFIG_CMD_MMC=y
11 CONFIG_CMD_SF=y 12 CONFIG_CMD_SF=y
12 CONFIG_CMD_SPI=y 13 CONFIG_CMD_SPI=y
13 CONFIG_CMD_I2C=y 14 CONFIG_CMD_I2C=y
14 CONFIG_CMD_USB=y 15 CONFIG_CMD_USB=y
15 CONFIG_CMD_DFU=y 16 CONFIG_CMD_DFU=y
16 CONFIG_CMD_GPIO=y 17 CONFIG_CMD_GPIO=y
17 # CONFIG_CMD_SETEXPR is not set 18 # CONFIG_CMD_SETEXPR is not set
18 CONFIG_CMD_DHCP=y 19 CONFIG_CMD_DHCP=y
19 CONFIG_CMD_MII=y 20 CONFIG_CMD_MII=y
20 CONFIG_CMD_PING=y 21 CONFIG_CMD_PING=y
21 CONFIG_CMD_EXT2=y 22 CONFIG_CMD_EXT2=y
22 CONFIG_CMD_EXT4=y 23 CONFIG_CMD_EXT4=y
23 CONFIG_CMD_EXT4_WRITE=y 24 CONFIG_CMD_EXT4_WRITE=y
24 CONFIG_CMD_FAT=y 25 CONFIG_CMD_FAT=y
25 CONFIG_CMD_FS_GENERIC=y 26 CONFIG_CMD_FS_GENERIC=y
26 CONFIG_SPI_FLASH=y 27 CONFIG_SPI_FLASH=y
27 CONFIG_SPI_FLASH_MACRONIX=y 28 CONFIG_SPI_FLASH_MACRONIX=y
28 CONFIG_SYS_NS16550=y 29 CONFIG_SYS_NS16550=y
29 CONFIG_TI_QSPI=y 30 CONFIG_TI_QSPI=y
30 CONFIG_USB=y 31 CONFIG_USB=y
31 CONFIG_USB_DWC3=y 32 CONFIG_USB_DWC3=y
32 CONFIG_USB_DWC3_GADGET=y 33 CONFIG_USB_DWC3_GADGET=y
33 CONFIG_USB_DWC3_OMAP=y 34 CONFIG_USB_DWC3_OMAP=y
34 CONFIG_USB_DWC3_PHY_OMAP=y 35 CONFIG_USB_DWC3_PHY_OMAP=y
35 CONFIG_USB_GADGET=y 36 CONFIG_USB_GADGET=y
36 CONFIG_USB_GADGET_DOWNLOAD=y 37 CONFIG_USB_GADGET_DOWNLOAD=y
37 CONFIG_G_DNL_MANUFACTURER="Texas Instruments" 38 CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
38 CONFIG_G_DNL_VENDOR_NUM=0x0403 39 CONFIG_G_DNL_VENDOR_NUM=0x0403
39 CONFIG_G_DNL_PRODUCT_NUM=0xbd00 40 CONFIG_G_DNL_PRODUCT_NUM=0xbd00
40 CONFIG_OF_LIBFDT=y 41 CONFIG_OF_LIBFDT=y
41 CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL" 42 CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL"
42 43
include/configs/am43xx_evm.h
1 /* 1 /*
2 * am43xx_evm.h 2 * am43xx_evm.h
3 * 3 *
4 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ 4 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
5 * 5 *
6 * SPDX-License-Identifier: GPL-2.0+ 6 * SPDX-License-Identifier: GPL-2.0+
7 */ 7 */
8 8
9 #ifndef __CONFIG_AM43XX_EVM_H 9 #ifndef __CONFIG_AM43XX_EVM_H
10 #define __CONFIG_AM43XX_EVM_H 10 #define __CONFIG_AM43XX_EVM_H
11 11
12 #define CONFIG_AM43XX
13
14 #define CONFIG_BOARD_LATE_INIT 12 #define CONFIG_BOARD_LATE_INIT
15 #define CONFIG_ARCH_CPU_INIT 13 #define CONFIG_ARCH_CPU_INIT
16 #define CONFIG_SYS_CACHELINE_SIZE 32 14 #define CONFIG_SYS_CACHELINE_SIZE 32
17 #define CONFIG_MAX_RAM_BANK_SIZE (1024 << 21) /* 2GB */ 15 #define CONFIG_MAX_RAM_BANK_SIZE (1024 << 21) /* 2GB */
18 #define CONFIG_SYS_TIMERBASE 0x48040000 /* Use Timer2 */ 16 #define CONFIG_SYS_TIMERBASE 0x48040000 /* Use Timer2 */
19 17
20 #include <asm/arch/omap.h> 18 #include <asm/arch/omap.h>
21 19
22 /* NS16550 Configuration */ 20 /* NS16550 Configuration */
23 #define CONFIG_SYS_NS16550_CLK 48000000 21 #define CONFIG_SYS_NS16550_CLK 48000000
24 #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL) 22 #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
25 #define CONFIG_SYS_NS16550_SERIAL 23 #define CONFIG_SYS_NS16550_SERIAL
26 #define CONFIG_SYS_NS16550_REG_SIZE (-4) 24 #define CONFIG_SYS_NS16550_REG_SIZE (-4)
27 #endif 25 #endif
28 26
29 /* I2C Configuration */ 27 /* I2C Configuration */
30 #define CONFIG_CMD_EEPROM 28 #define CONFIG_CMD_EEPROM
31 #define CONFIG_ENV_EEPROM_IS_ON_I2C 29 #define CONFIG_ENV_EEPROM_IS_ON_I2C
32 #define CONFIG_SYS_I2C_EEPROM_ADDR 0x50 /* Main EEPROM */ 30 #define CONFIG_SYS_I2C_EEPROM_ADDR 0x50 /* Main EEPROM */
33 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2 31 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2
34 32
35 /* Power */ 33 /* Power */
36 #define CONFIG_POWER 34 #define CONFIG_POWER
37 #define CONFIG_POWER_I2C 35 #define CONFIG_POWER_I2C
38 #define CONFIG_POWER_TPS65218 36 #define CONFIG_POWER_TPS65218
39 #define CONFIG_POWER_TPS62362 37 #define CONFIG_POWER_TPS62362
40 38
41 /* SPL defines. */ 39 /* SPL defines. */
42 #ifdef CONFIG_SPL_USB_HOST_SUPPORT 40 #ifdef CONFIG_SPL_USB_HOST_SUPPORT
43 /* 41 /*
44 * For USB host boot, ROM uses DMA for copying MLO from USB storage 42 * For USB host boot, ROM uses DMA for copying MLO from USB storage
45 * and ARM internal ram is not accessible for DMA, so SPL text base 43 * and ARM internal ram is not accessible for DMA, so SPL text base
46 * should be in OCMC ram 44 * should be in OCMC ram
47 */ 45 */
48 #define CONFIG_SPL_TEXT_BASE 0x40300350 46 #define CONFIG_SPL_TEXT_BASE 0x40300350
49 #else 47 #else
50 #define CONFIG_SPL_TEXT_BASE 0x402F4000 48 #define CONFIG_SPL_TEXT_BASE 0x402F4000
51 #endif 49 #endif
52 #define CONFIG_SPL_MAX_SIZE (220 << 10) /* 220KB */ 50 #define CONFIG_SPL_MAX_SIZE (220 << 10) /* 220KB */
53 #define CONFIG_SYS_SPL_ARGS_ADDR (CONFIG_SYS_SDRAM_BASE + \ 51 #define CONFIG_SYS_SPL_ARGS_ADDR (CONFIG_SYS_SDRAM_BASE + \
54 (128 << 20)) 52 (128 << 20))
55 #define CONFIG_SPL_POWER_SUPPORT 53 #define CONFIG_SPL_POWER_SUPPORT
56 #define CONFIG_SPL_YMODEM_SUPPORT 54 #define CONFIG_SPL_YMODEM_SUPPORT
57 55
58 /* Enabling L2 Cache */ 56 /* Enabling L2 Cache */
59 #define CONFIG_SYS_L2_PL310 57 #define CONFIG_SYS_L2_PL310
60 #define CONFIG_SYS_PL310_BASE 0x48242000 58 #define CONFIG_SYS_PL310_BASE 0x48242000
61 #define CONFIG_SYS_CACHELINE_SIZE 32 59 #define CONFIG_SYS_CACHELINE_SIZE 32
62 60
63 /* 61 /*
64 * Since SPL did pll and ddr initialization for us, 62 * Since SPL did pll and ddr initialization for us,
65 * we don't need to do it twice. 63 * we don't need to do it twice.
66 */ 64 */
67 #if !defined(CONFIG_SPL_BUILD) && !defined(CONFIG_QSPI_BOOT) 65 #if !defined(CONFIG_SPL_BUILD) && !defined(CONFIG_QSPI_BOOT)
68 #define CONFIG_SKIP_LOWLEVEL_INIT 66 #define CONFIG_SKIP_LOWLEVEL_INIT
69 #endif 67 #endif
70 68
71 /* 69 /*
72 * When building U-Boot such that there is no previous loader 70 * When building U-Boot such that there is no previous loader
73 * we need to call board_early_init_f. This is taken care of in 71 * we need to call board_early_init_f. This is taken care of in
74 * s_init when we have SPL used. 72 * s_init when we have SPL used.
75 */ 73 */
76 #if !defined(CONFIG_SKIP_LOWLEVEL_INIT) && !defined(CONFIG_SPL) 74 #if !defined(CONFIG_SKIP_LOWLEVEL_INIT) && !defined(CONFIG_SPL)
77 #define CONFIG_BOARD_EARLY_INIT_F 75 #define CONFIG_BOARD_EARLY_INIT_F
78 #endif 76 #endif
79 77
80 /* Now bring in the rest of the common code. */ 78 /* Now bring in the rest of the common code. */
81 #include <configs/ti_armv7_omap.h> 79 #include <configs/ti_armv7_omap.h>
82 80
83 /* Always 64 KiB env size */ 81 /* Always 64 KiB env size */
84 #define CONFIG_ENV_SIZE (64 << 10) 82 #define CONFIG_ENV_SIZE (64 << 10)
85 83
86 #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG 84 #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
87 85
88 /* Clock Defines */ 86 /* Clock Defines */
89 #define V_OSCK 24000000 /* Clock output from T2 */ 87 #define V_OSCK 24000000 /* Clock output from T2 */
90 #define V_SCLK (V_OSCK) 88 #define V_SCLK (V_OSCK)
91 89
92 /* NS16550 Configuration */ 90 /* NS16550 Configuration */
93 #define CONFIG_SYS_NS16550_COM1 0x44e09000 /* Base EVM has UART0 */ 91 #define CONFIG_SYS_NS16550_COM1 0x44e09000 /* Base EVM has UART0 */
94 92
95 #define CONFIG_ENV_IS_IN_FAT 93 #define CONFIG_ENV_IS_IN_FAT
96 #define FAT_ENV_INTERFACE "mmc" 94 #define FAT_ENV_INTERFACE "mmc"
97 #define FAT_ENV_DEVICE_AND_PART "0:1" 95 #define FAT_ENV_DEVICE_AND_PART "0:1"
98 #define FAT_ENV_FILE "uboot.env" 96 #define FAT_ENV_FILE "uboot.env"
99 #define CONFIG_FAT_WRITE 97 #define CONFIG_FAT_WRITE
100 98
101 #define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds" 99 #define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
102 100
103 /* SPL USB Support */ 101 /* SPL USB Support */
104 #ifdef CONFIG_SPL_USB_HOST_SUPPORT 102 #ifdef CONFIG_SPL_USB_HOST_SUPPORT
105 #define CONFIG_SPL_USB_SUPPORT 103 #define CONFIG_SPL_USB_SUPPORT
106 #endif 104 #endif
107 105
108 #if defined(CONFIG_SPL_USB_HOST_SUPPORT) || !defined(CONFIG_SPL_BUILD) 106 #if defined(CONFIG_SPL_USB_HOST_SUPPORT) || !defined(CONFIG_SPL_BUILD)
109 #define CONFIG_SYS_USB_FAT_BOOT_PARTITION 1 107 #define CONFIG_SYS_USB_FAT_BOOT_PARTITION 1
110 #define CONFIG_USB_HOST 108 #define CONFIG_USB_HOST
111 #define CONFIG_USB_XHCI 109 #define CONFIG_USB_XHCI
112 #define CONFIG_USB_XHCI_DWC3 110 #define CONFIG_USB_XHCI_DWC3
113 #define CONFIG_USB_XHCI_OMAP 111 #define CONFIG_USB_XHCI_OMAP
114 #define CONFIG_USB_STORAGE 112 #define CONFIG_USB_STORAGE
115 #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2 113 #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
116 114
117 #define CONFIG_OMAP_USB_PHY 115 #define CONFIG_OMAP_USB_PHY
118 #define CONFIG_AM437X_USB2PHY2_HOST 116 #define CONFIG_AM437X_USB2PHY2_HOST
119 #endif 117 #endif
120 118
121 #if defined(CONFIG_SPL_BUILD) && !defined(CONFIG_SPL_USBETH_SUPPORT) 119 #if defined(CONFIG_SPL_BUILD) && !defined(CONFIG_SPL_USBETH_SUPPORT)
122 #undef CONFIG_USB_DWC3_PHY_OMAP 120 #undef CONFIG_USB_DWC3_PHY_OMAP
123 #undef CONFIG_USB_DWC3_OMAP 121 #undef CONFIG_USB_DWC3_OMAP
124 #undef CONFIG_USB_DWC3 122 #undef CONFIG_USB_DWC3
125 #undef CONFIG_USB_DWC3_GADGET 123 #undef CONFIG_USB_DWC3_GADGET
126 124
127 #undef CONFIG_USB_GADGET_DOWNLOAD 125 #undef CONFIG_USB_GADGET_DOWNLOAD
128 #undef CONFIG_USB_GADGET_VBUS_DRAW 126 #undef CONFIG_USB_GADGET_VBUS_DRAW
129 #undef CONFIG_G_DNL_MANUFACTURER 127 #undef CONFIG_G_DNL_MANUFACTURER
130 #undef CONFIG_G_DNL_VENDOR_NUM 128 #undef CONFIG_G_DNL_VENDOR_NUM
131 #undef CONFIG_G_DNL_PRODUCT_NUM 129 #undef CONFIG_G_DNL_PRODUCT_NUM
132 #undef CONFIG_USB_GADGET_DUALSPEED 130 #undef CONFIG_USB_GADGET_DUALSPEED
133 #endif 131 #endif
134 132
135 /* 133 /*
136 * Disable MMC DM for SPL build and can be re-enabled after adding 134 * Disable MMC DM for SPL build and can be re-enabled after adding
137 * DM support in SPL 135 * DM support in SPL
138 */ 136 */
139 #ifdef CONFIG_SPL_BUILD 137 #ifdef CONFIG_SPL_BUILD
140 #undef CONFIG_DM_MMC 138 #undef CONFIG_DM_MMC
141 #undef CONFIG_DM_SPI 139 #undef CONFIG_DM_SPI
142 #undef CONFIG_DM_SPI_FLASH 140 #undef CONFIG_DM_SPI_FLASH
143 #undef CONFIG_TIMER 141 #undef CONFIG_TIMER
144 #endif 142 #endif
145 143
146 #ifndef CONFIG_SPL_BUILD 144 #ifndef CONFIG_SPL_BUILD
147 /* USB Device Firmware Update support */ 145 /* USB Device Firmware Update support */
148 #define CONFIG_USB_FUNCTION_DFU 146 #define CONFIG_USB_FUNCTION_DFU
149 #define CONFIG_DFU_RAM 147 #define CONFIG_DFU_RAM
150 148
151 #define CONFIG_DFU_MMC 149 #define CONFIG_DFU_MMC
152 #define DFU_ALT_INFO_MMC \ 150 #define DFU_ALT_INFO_MMC \
153 "dfu_alt_info_mmc=" \ 151 "dfu_alt_info_mmc=" \
154 "boot part 0 1;" \ 152 "boot part 0 1;" \
155 "rootfs part 0 2;" \ 153 "rootfs part 0 2;" \
156 "MLO fat 0 1;" \ 154 "MLO fat 0 1;" \
157 "spl-os-args fat 0 1;" \ 155 "spl-os-args fat 0 1;" \
158 "spl-os-image fat 0 1;" \ 156 "spl-os-image fat 0 1;" \
159 "u-boot.img fat 0 1;" \ 157 "u-boot.img fat 0 1;" \
160 "uEnv.txt fat 0 1\0" 158 "uEnv.txt fat 0 1\0"
161 159
162 #define DFU_ALT_INFO_EMMC \ 160 #define DFU_ALT_INFO_EMMC \
163 "dfu_alt_info_emmc=" \ 161 "dfu_alt_info_emmc=" \
164 "MLO raw 0x100 0x100 mmcpart 0;" \ 162 "MLO raw 0x100 0x100 mmcpart 0;" \
165 "u-boot.img raw 0x300 0x1000 mmcpart 0\0" 163 "u-boot.img raw 0x300 0x1000 mmcpart 0\0"
166 164
167 #define CONFIG_DFU_RAM 165 #define CONFIG_DFU_RAM
168 #define DFU_ALT_INFO_RAM \ 166 #define DFU_ALT_INFO_RAM \
169 "dfu_alt_info_ram=" \ 167 "dfu_alt_info_ram=" \
170 "kernel ram 0x80200000 0x4000000;" \ 168 "kernel ram 0x80200000 0x4000000;" \
171 "fdt ram 0x80f80000 0x80000;" \ 169 "fdt ram 0x80f80000 0x80000;" \
172 "ramdisk ram 0x81000000 0x4000000\0" 170 "ramdisk ram 0x81000000 0x4000000\0"
173 171
174 #define CONFIG_DFU_SF 172 #define CONFIG_DFU_SF
175 #define DFU_ALT_INFO_QSPI \ 173 #define DFU_ALT_INFO_QSPI \
176 "dfu_alt_info_qspi=" \ 174 "dfu_alt_info_qspi=" \
177 "u-boot.bin raw 0x0 0x080000;" \ 175 "u-boot.bin raw 0x0 0x080000;" \
178 "u-boot.backup raw 0x080000 0x080000;" \ 176 "u-boot.backup raw 0x080000 0x080000;" \
179 "u-boot-spl-os raw 0x100000 0x010000;" \ 177 "u-boot-spl-os raw 0x100000 0x010000;" \
180 "u-boot-env raw 0x110000 0x010000;" \ 178 "u-boot-env raw 0x110000 0x010000;" \
181 "u-boot-env.backup raw 0x120000 0x010000;" \ 179 "u-boot-env.backup raw 0x120000 0x010000;" \
182 "kernel raw 0x130000 0x800000\0" 180 "kernel raw 0x130000 0x800000\0"
183 181
184 #define DFUARGS \ 182 #define DFUARGS \
185 "dfu_bufsiz=0x10000\0" \ 183 "dfu_bufsiz=0x10000\0" \
186 DFU_ALT_INFO_MMC \ 184 DFU_ALT_INFO_MMC \
187 DFU_ALT_INFO_EMMC \ 185 DFU_ALT_INFO_EMMC \
188 DFU_ALT_INFO_RAM \ 186 DFU_ALT_INFO_RAM \
189 DFU_ALT_INFO_QSPI 187 DFU_ALT_INFO_QSPI
190 #else 188 #else
191 #define DFUARGS 189 #define DFUARGS
192 #endif 190 #endif
193 191
194 #ifdef CONFIG_QSPI_BOOT 192 #ifdef CONFIG_QSPI_BOOT
195 #define CONFIG_SYS_TEXT_BASE 0x30000000 193 #define CONFIG_SYS_TEXT_BASE 0x30000000
196 #undef CONFIG_ENV_IS_IN_FAT 194 #undef CONFIG_ENV_IS_IN_FAT
197 #define CONFIG_ENV_IS_IN_SPI_FLASH 195 #define CONFIG_ENV_IS_IN_SPI_FLASH
198 #define CONFIG_SYS_REDUNDAND_ENVIRONMENT 196 #define CONFIG_SYS_REDUNDAND_ENVIRONMENT
199 #define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED 197 #define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED
200 #define CONFIG_ENV_SECT_SIZE (64 << 10) /* 64 KB sectors */ 198 #define CONFIG_ENV_SECT_SIZE (64 << 10) /* 64 KB sectors */
201 #define CONFIG_ENV_OFFSET 0x110000 199 #define CONFIG_ENV_OFFSET 0x110000
202 #define CONFIG_ENV_OFFSET_REDUND 0x120000 200 #define CONFIG_ENV_OFFSET_REDUND 0x120000
203 #ifdef MTDIDS_DEFAULT 201 #ifdef MTDIDS_DEFAULT
204 #undef MTDIDS_DEFAULT 202 #undef MTDIDS_DEFAULT
205 #endif 203 #endif
206 #ifdef MTDPARTS_DEFAULT 204 #ifdef MTDPARTS_DEFAULT
207 #undef MTDPARTS_DEFAULT 205 #undef MTDPARTS_DEFAULT
208 #endif 206 #endif
209 #define MTDPARTS_DEFAULT "mtdparts=qspi.0:512k(QSPI.u-boot)," \ 207 #define MTDPARTS_DEFAULT "mtdparts=qspi.0:512k(QSPI.u-boot)," \
210 "512k(QSPI.u-boot.backup)," \ 208 "512k(QSPI.u-boot.backup)," \
211 "512k(QSPI.u-boot-spl-os)," \ 209 "512k(QSPI.u-boot-spl-os)," \
212 "64k(QSPI.u-boot-env)," \ 210 "64k(QSPI.u-boot-env)," \
213 "64k(QSPI.u-boot-env.backup)," \ 211 "64k(QSPI.u-boot-env.backup)," \
214 "8m(QSPI.kernel)," \ 212 "8m(QSPI.kernel)," \
215 "-(QSPI.file-system)" 213 "-(QSPI.file-system)"
216 #endif 214 #endif
217 215
218 /* SPI */ 216 /* SPI */
219 #undef CONFIG_OMAP3_SPI 217 #undef CONFIG_OMAP3_SPI
220 #define CONFIG_TI_SPI_MMAP 218 #define CONFIG_TI_SPI_MMAP
221 #define CONFIG_QSPI_SEL_GPIO 48 219 #define CONFIG_QSPI_SEL_GPIO 48
222 #define CONFIG_SF_DEFAULT_SPEED 48000000 220 #define CONFIG_SF_DEFAULT_SPEED 48000000
223 #define CONFIG_SF_DEFAULT_MODE SPI_MODE_3 221 #define CONFIG_SF_DEFAULT_MODE SPI_MODE_3
224 #define CONFIG_QSPI_QUAD_SUPPORT 222 #define CONFIG_QSPI_QUAD_SUPPORT
225 #define CONFIG_TI_EDMA3 223 #define CONFIG_TI_EDMA3
226 224
227 /* Enhance our eMMC support / experience. */ 225 /* Enhance our eMMC support / experience. */
228 #define CONFIG_CMD_GPT 226 #define CONFIG_CMD_GPT
229 #define CONFIG_EFI_PARTITION 227 #define CONFIG_EFI_PARTITION
230 228
231 #ifndef CONFIG_SPL_BUILD 229 #ifndef CONFIG_SPL_BUILD
232 #define CONFIG_EXTRA_ENV_SETTINGS \ 230 #define CONFIG_EXTRA_ENV_SETTINGS \
233 DEFAULT_LINUX_BOOT_ENV \ 231 DEFAULT_LINUX_BOOT_ENV \
234 DEFAULT_MMC_TI_ARGS \ 232 DEFAULT_MMC_TI_ARGS \
235 "fdtfile=undefined\0" \ 233 "fdtfile=undefined\0" \
236 "bootpart=0:2\0" \ 234 "bootpart=0:2\0" \
237 "bootdir=/boot\0" \ 235 "bootdir=/boot\0" \
238 "bootfile=zImage\0" \ 236 "bootfile=zImage\0" \
239 "console=ttyO0,115200n8\0" \ 237 "console=ttyO0,115200n8\0" \
240 "partitions=" \ 238 "partitions=" \
241 "uuid_disk=${uuid_gpt_disk};" \ 239 "uuid_disk=${uuid_gpt_disk};" \
242 "name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}\0" \ 240 "name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}\0" \
243 "optargs=\0" \ 241 "optargs=\0" \
244 "usbroot=/dev/sda2 rw\0" \ 242 "usbroot=/dev/sda2 rw\0" \
245 "usbrootfstype=ext4 rootwait\0" \ 243 "usbrootfstype=ext4 rootwait\0" \
246 "usbdev=0\0" \ 244 "usbdev=0\0" \
247 "ramroot=/dev/ram0 rw\0" \ 245 "ramroot=/dev/ram0 rw\0" \
248 "ramrootfstype=ext2\0" \ 246 "ramrootfstype=ext2\0" \
249 "usbargs=setenv bootargs console=${console} " \ 247 "usbargs=setenv bootargs console=${console} " \
250 "${optargs} " \ 248 "${optargs} " \
251 "root=${usbroot} " \ 249 "root=${usbroot} " \
252 "rootfstype=${usbrootfstype}\0" \ 250 "rootfstype=${usbrootfstype}\0" \
253 "ramargs=setenv bootargs console=${console} " \ 251 "ramargs=setenv bootargs console=${console} " \
254 "${optargs} " \ 252 "${optargs} " \
255 "root=${ramroot} " \ 253 "root=${ramroot} " \
256 "rootfstype=${ramrootfstype}\0" \ 254 "rootfstype=${ramrootfstype}\0" \
257 "loadramdisk=load ${devtype} ${devnum} ${rdaddr} ramdisk.gz\0" \ 255 "loadramdisk=load ${devtype} ${devnum} ${rdaddr} ramdisk.gz\0" \
258 "loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \ 256 "loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
259 "loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \ 257 "loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \
260 "mmcboot=mmc dev ${mmcdev}; " \ 258 "mmcboot=mmc dev ${mmcdev}; " \
261 "setenv devnum ${mmcdev}; " \ 259 "setenv devnum ${mmcdev}; " \
262 "setenv devtype mmc; " \ 260 "setenv devtype mmc; " \
263 "if mmc rescan; then " \ 261 "if mmc rescan; then " \
264 "echo SD/MMC found on device ${devnum};" \ 262 "echo SD/MMC found on device ${devnum};" \
265 "if run loadimage; then " \ 263 "if run loadimage; then " \
266 "run loadfdt; " \ 264 "run loadfdt; " \
267 "echo Booting from mmc${mmcdev} ...; " \ 265 "echo Booting from mmc${mmcdev} ...; " \
268 "run args_mmc; " \ 266 "run args_mmc; " \
269 "bootz ${loadaddr} - ${fdtaddr}; " \ 267 "bootz ${loadaddr} - ${fdtaddr}; " \
270 "fi;" \ 268 "fi;" \
271 "fi;\0" \ 269 "fi;\0" \
272 "usbboot=" \ 270 "usbboot=" \
273 "setenv devnum ${usbdev}; " \ 271 "setenv devnum ${usbdev}; " \
274 "setenv devtype usb; " \ 272 "setenv devtype usb; " \
275 "usb start ${usbdev}; " \ 273 "usb start ${usbdev}; " \
276 "if usb dev ${usbdev}; then " \ 274 "if usb dev ${usbdev}; then " \
277 "if run loadbootenv; then " \ 275 "if run loadbootenv; then " \
278 "echo Loaded environment from ${bootenv};" \ 276 "echo Loaded environment from ${bootenv};" \
279 "run importbootenv;" \ 277 "run importbootenv;" \
280 "fi;" \ 278 "fi;" \
281 "if test -n $uenvcmd; then " \ 279 "if test -n $uenvcmd; then " \
282 "echo Running uenvcmd ...;" \ 280 "echo Running uenvcmd ...;" \
283 "run uenvcmd;" \ 281 "run uenvcmd;" \
284 "fi;" \ 282 "fi;" \
285 "if run loadimage; then " \ 283 "if run loadimage; then " \
286 "run loadfdt; " \ 284 "run loadfdt; " \
287 "echo Booting from usb ${usbdev}...; " \ 285 "echo Booting from usb ${usbdev}...; " \
288 "run usbargs;" \ 286 "run usbargs;" \
289 "bootz ${loadaddr} - ${fdtaddr}; " \ 287 "bootz ${loadaddr} - ${fdtaddr}; " \
290 "fi;" \ 288 "fi;" \
291 "fi\0" \ 289 "fi\0" \
292 "fi;" \ 290 "fi;" \
293 "usb stop ${usbdev};\0" \ 291 "usb stop ${usbdev};\0" \
294 "findfdt="\ 292 "findfdt="\
295 "if test $board_name = AM43EPOS; then " \ 293 "if test $board_name = AM43EPOS; then " \
296 "setenv fdtfile am43x-epos-evm.dtb; fi; " \ 294 "setenv fdtfile am43x-epos-evm.dtb; fi; " \
297 "if test $board_name = AM43__GP; then " \ 295 "if test $board_name = AM43__GP; then " \
298 "setenv fdtfile am437x-gp-evm.dtb; fi; " \ 296 "setenv fdtfile am437x-gp-evm.dtb; fi; " \
299 "if test $board_name = AM43__SK; then " \ 297 "if test $board_name = AM43__SK; then " \
300 "setenv fdtfile am437x-sk-evm.dtb; fi; " \ 298 "setenv fdtfile am437x-sk-evm.dtb; fi; " \
301 "if test $board_name = AM43_IDK; then " \ 299 "if test $board_name = AM43_IDK; then " \
302 "setenv fdtfile am437x-idk-evm.dtb; fi; " \ 300 "setenv fdtfile am437x-idk-evm.dtb; fi; " \
303 "if test $fdtfile = undefined; then " \ 301 "if test $fdtfile = undefined; then " \
304 "echo WARNING: Could not determine device tree; fi; \0" \ 302 "echo WARNING: Could not determine device tree; fi; \0" \
305 NANDARGS \ 303 NANDARGS \
306 NETARGS \ 304 NETARGS \
307 DFUARGS \ 305 DFUARGS \
308 306
309 #define CONFIG_BOOTCOMMAND \ 307 #define CONFIG_BOOTCOMMAND \
310 "run findfdt; " \ 308 "run findfdt; " \
311 "run envboot;" \ 309 "run envboot;" \
312 "run mmcboot;" \ 310 "run mmcboot;" \
313 "run usbboot;" \ 311 "run usbboot;" \
314 NANDBOOT \ 312 NANDBOOT \
315 313
316 #endif 314 #endif
317 315
318 #ifndef CONFIG_SPL_BUILD 316 #ifndef CONFIG_SPL_BUILD
319 /* CPSW Ethernet */ 317 /* CPSW Ethernet */
320 #define CONFIG_MII 318 #define CONFIG_MII
321 #define CONFIG_BOOTP_DEFAULT 319 #define CONFIG_BOOTP_DEFAULT
322 #define CONFIG_BOOTP_DNS 320 #define CONFIG_BOOTP_DNS
323 #define CONFIG_BOOTP_DNS2 321 #define CONFIG_BOOTP_DNS2
324 #define CONFIG_BOOTP_SEND_HOSTNAME 322 #define CONFIG_BOOTP_SEND_HOSTNAME
325 #define CONFIG_BOOTP_GATEWAY 323 #define CONFIG_BOOTP_GATEWAY
326 #define CONFIG_BOOTP_SUBNETMASK 324 #define CONFIG_BOOTP_SUBNETMASK
327 #define CONFIG_NET_RETRY_COUNT 10 325 #define CONFIG_NET_RETRY_COUNT 10
328 #define CONFIG_PHY_GIGE 326 #define CONFIG_PHY_GIGE
329 #endif 327 #endif
330 328
331 #define CONFIG_DRIVER_TI_CPSW 329 #define CONFIG_DRIVER_TI_CPSW
332 #define CONFIG_PHYLIB 330 #define CONFIG_PHYLIB
333 #define PHY_ANEG_TIMEOUT 8000 /* PHY needs longer aneg time at 1G */ 331 #define PHY_ANEG_TIMEOUT 8000 /* PHY needs longer aneg time at 1G */
334 332
335 #define CONFIG_SPL_ENV_SUPPORT 333 #define CONFIG_SPL_ENV_SUPPORT
336 #define CONFIG_SPL_NET_VCI_STRING "AM43xx U-Boot SPL" 334 #define CONFIG_SPL_NET_VCI_STRING "AM43xx U-Boot SPL"
337 335
338 #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_ETH_SUPPORT) 336 #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_ETH_SUPPORT)
339 #undef CONFIG_ENV_IS_IN_FAT 337 #undef CONFIG_ENV_IS_IN_FAT
340 #define CONFIG_ENV_IS_NOWHERE 338 #define CONFIG_ENV_IS_NOWHERE
341 #define CONFIG_SPL_NET_SUPPORT 339 #define CONFIG_SPL_NET_SUPPORT
342 #endif 340 #endif
343 341
344 #define CONFIG_SYS_RX_ETH_BUFFER 64 342 #define CONFIG_SYS_RX_ETH_BUFFER 64
345 343
346 /* NAND support */ 344 /* NAND support */
347 #ifdef CONFIG_NAND 345 #ifdef CONFIG_NAND
348 /* NAND: device related configs */ 346 /* NAND: device related configs */
349 #define CONFIG_SYS_NAND_PAGE_SIZE 4096 347 #define CONFIG_SYS_NAND_PAGE_SIZE 4096
350 #define CONFIG_SYS_NAND_OOBSIZE 224 348 #define CONFIG_SYS_NAND_OOBSIZE 224
351 #define CONFIG_SYS_NAND_BLOCK_SIZE (256*1024) 349 #define CONFIG_SYS_NAND_BLOCK_SIZE (256*1024)
352 #define CONFIG_SYS_NAND_PAGE_COUNT (CONFIG_SYS_NAND_BLOCK_SIZE / \ 350 #define CONFIG_SYS_NAND_PAGE_COUNT (CONFIG_SYS_NAND_BLOCK_SIZE / \
353 CONFIG_SYS_NAND_PAGE_SIZE) 351 CONFIG_SYS_NAND_PAGE_SIZE)
354 #define CONFIG_SYS_NAND_5_ADDR_CYCLE 352 #define CONFIG_SYS_NAND_5_ADDR_CYCLE
355 /* NAND: driver related configs */ 353 /* NAND: driver related configs */
356 #define CONFIG_NAND_OMAP_GPMC 354 #define CONFIG_NAND_OMAP_GPMC
357 #define CONFIG_NAND_OMAP_ELM 355 #define CONFIG_NAND_OMAP_ELM
358 #define CONFIG_SYS_NAND_ONFI_DETECTION 356 #define CONFIG_SYS_NAND_ONFI_DETECTION
359 #define CONFIG_NAND_OMAP_ECCSCHEME OMAP_ECC_BCH16_CODE_HW 357 #define CONFIG_NAND_OMAP_ECCSCHEME OMAP_ECC_BCH16_CODE_HW
360 #define CONFIG_SYS_NAND_BAD_BLOCK_POS NAND_LARGE_BADBLOCK_POS 358 #define CONFIG_SYS_NAND_BAD_BLOCK_POS NAND_LARGE_BADBLOCK_POS
361 #define CONFIG_SYS_NAND_ECCPOS { 2, 3, 4, 5, 6, 7, 8, 9, \ 359 #define CONFIG_SYS_NAND_ECCPOS { 2, 3, 4, 5, 6, 7, 8, 9, \
362 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, \ 360 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, \
363 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, \ 361 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, \
364 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, \ 362 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, \
365 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, \ 363 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, \
366 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, \ 364 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, \
367 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, \ 365 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, \
368 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, \ 366 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, \
369 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, \ 367 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, \
370 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, \ 368 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, \
371 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, \ 369 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, \
372 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, \ 370 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, \
373 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, \ 371 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, \
374 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, \ 372 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, \
375 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, \ 373 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, \
376 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, \ 374 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, \
377 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, \ 375 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, \
378 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, \ 376 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, \
379 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, \ 377 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, \
380 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, \ 378 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, \
381 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, \ 379 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, \
382 } 380 }
383 #define CONFIG_SYS_NAND_ECCSIZE 512 381 #define CONFIG_SYS_NAND_ECCSIZE 512
384 #define CONFIG_SYS_NAND_ECCBYTES 26 382 #define CONFIG_SYS_NAND_ECCBYTES 26
385 #define MTDIDS_DEFAULT "nand0=nand.0" 383 #define MTDIDS_DEFAULT "nand0=nand.0"
386 #define MTDPARTS_DEFAULT "mtdparts=nand.0:" \ 384 #define MTDPARTS_DEFAULT "mtdparts=nand.0:" \
387 "256k(NAND.SPL)," \ 385 "256k(NAND.SPL)," \
388 "256k(NAND.SPL.backup1)," \ 386 "256k(NAND.SPL.backup1)," \
389 "256k(NAND.SPL.backup2)," \ 387 "256k(NAND.SPL.backup2)," \
390 "256k(NAND.SPL.backup3)," \ 388 "256k(NAND.SPL.backup3)," \
391 "512k(NAND.u-boot-spl-os)," \ 389 "512k(NAND.u-boot-spl-os)," \
392 "1m(NAND.u-boot)," \ 390 "1m(NAND.u-boot)," \
393 "256k(NAND.u-boot-env)," \ 391 "256k(NAND.u-boot-env)," \
394 "256k(NAND.u-boot-env.backup1)," \ 392 "256k(NAND.u-boot-env.backup1)," \
395 "7m(NAND.kernel)," \ 393 "7m(NAND.kernel)," \
396 "-(NAND.file-system)" 394 "-(NAND.file-system)"
397 #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x00180000 395 #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x00180000
398 /* NAND: SPL related configs */ 396 /* NAND: SPL related configs */
399 #ifdef CONFIG_SPL_NAND_SUPPORT 397 #ifdef CONFIG_SPL_NAND_SUPPORT
400 #define CONFIG_SPL_NAND_AM33XX_BCH 398 #define CONFIG_SPL_NAND_AM33XX_BCH
401 #endif 399 #endif
402 /* NAND: SPL falcon mode configs */ 400 /* NAND: SPL falcon mode configs */
403 #ifdef CONFIG_SPL_OS_BOOT 401 #ifdef CONFIG_SPL_OS_BOOT
404 #define CONFIG_CMD_SPL_NAND_OFS 0x00100000 /* os parameters */ 402 #define CONFIG_CMD_SPL_NAND_OFS 0x00100000 /* os parameters */
405 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00300000 /* kernel offset */ 403 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00300000 /* kernel offset */
406 #define CONFIG_CMD_SPL_WRITE_SIZE CONFIG_SYS_NAND_BLOCK_SIZE 404 #define CONFIG_CMD_SPL_WRITE_SIZE CONFIG_SYS_NAND_BLOCK_SIZE
407 #endif 405 #endif
408 #define NANDARGS \ 406 #define NANDARGS \
409 "mtdids=" MTDIDS_DEFAULT "\0" \ 407 "mtdids=" MTDIDS_DEFAULT "\0" \
410 "mtdparts=" MTDPARTS_DEFAULT "\0" \ 408 "mtdparts=" MTDPARTS_DEFAULT "\0" \
411 "nandargs=setenv bootargs console=${console} " \ 409 "nandargs=setenv bootargs console=${console} " \
412 "${optargs} " \ 410 "${optargs} " \
413 "root=${nandroot} " \ 411 "root=${nandroot} " \
414 "rootfstype=${nandrootfstype}\0" \ 412 "rootfstype=${nandrootfstype}\0" \
415 "nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,4096\0" \ 413 "nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,4096\0" \
416 "nandrootfstype=ubifs rootwait=1\0" \ 414 "nandrootfstype=ubifs rootwait=1\0" \
417 "nandboot=echo Booting from nand ...; " \ 415 "nandboot=echo Booting from nand ...; " \
418 "run nandargs; " \ 416 "run nandargs; " \
419 "nand read ${fdtaddr} NAND.u-boot-spl-os; " \ 417 "nand read ${fdtaddr} NAND.u-boot-spl-os; " \
420 "nand read ${loadaddr} NAND.kernel; " \ 418 "nand read ${loadaddr} NAND.kernel; " \
421 "bootz ${loadaddr} - ${fdtaddr}\0" 419 "bootz ${loadaddr} - ${fdtaddr}\0"
422 #define NANDBOOT "run nandboot; " 420 #define NANDBOOT "run nandboot; "
423 #else /* !CONFIG_NAND */ 421 #else /* !CONFIG_NAND */
424 #define NANDARGS 422 #define NANDARGS
425 #define NANDBOOT 423 #define NANDBOOT
426 #endif /* CONFIG_NAND */ 424 #endif /* CONFIG_NAND */
427 425
428 #endif /* __CONFIG_AM43XX_EVM_H */ 426 #endif /* __CONFIG_AM43XX_EVM_H */
429 427