Commit 7966b43778f2556ecbda2275f1296934071224b2

Authored by Stefan Agner
Committed by Stefano Babic
1 parent f3a8546b8f

ARM: vf610: move to standard arch/board approach

Move Freescale/NXP Vybrid to a standard arch/board approach, similar
to what has been done to i.MX 6 earlier in commit 89ebc82137be ("ARM:
mx6: move to a standard arch/board approach").

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>

Showing 13 changed files with 45 additions and 45 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 select PHYS_64BIT 9 select PHYS_64BIT
10 select SYS_CACHE_SHIFT_6 10 select SYS_CACHE_SHIFT_6
11 11
12 config DMA_ADDR_T_64BIT 12 config DMA_ADDR_T_64BIT
13 bool 13 bool
14 default y if ARM64 14 default y if ARM64
15 15
16 config HAS_VBAR 16 config HAS_VBAR
17 bool 17 bool
18 18
19 config HAS_THUMB2 19 config HAS_THUMB2
20 bool 20 bool
21 21
22 # If set, the workarounds for these ARM errata are applied early during U-Boot 22 # If set, the workarounds for these ARM errata are applied early during U-Boot
23 # startup. Note that in general these options force the workarounds to be 23 # startup. Note that in general these options force the workarounds to be
24 # applied; no CPU-type/version detection exists, unlike the similar options in 24 # applied; no CPU-type/version detection exists, unlike the similar options in
25 # the Linux kernel. Do not set these options unless they apply! Also note that 25 # the Linux kernel. Do not set these options unless they apply! Also note that
26 # the following can be machine specific errata. These do have ability to 26 # the following can be machine specific errata. These do have ability to
27 # provide rudimentary version and machine specific checks, but expect no 27 # provide rudimentary version and machine specific checks, but expect no
28 # product checks: 28 # product checks:
29 # CONFIG_ARM_ERRATA_430973 29 # CONFIG_ARM_ERRATA_430973
30 # CONFIG_ARM_ERRATA_454179 30 # CONFIG_ARM_ERRATA_454179
31 # CONFIG_ARM_ERRATA_621766 31 # CONFIG_ARM_ERRATA_621766
32 # CONFIG_ARM_ERRATA_798870 32 # CONFIG_ARM_ERRATA_798870
33 # CONFIG_ARM_ERRATA_801819 33 # CONFIG_ARM_ERRATA_801819
34 config ARM_ERRATA_430973 34 config ARM_ERRATA_430973
35 bool 35 bool
36 36
37 config ARM_ERRATA_454179 37 config ARM_ERRATA_454179
38 bool 38 bool
39 39
40 config ARM_ERRATA_621766 40 config ARM_ERRATA_621766
41 bool 41 bool
42 42
43 config ARM_ERRATA_716044 43 config ARM_ERRATA_716044
44 bool 44 bool
45 45
46 config ARM_ERRATA_725233 46 config ARM_ERRATA_725233
47 bool 47 bool
48 48
49 config ARM_ERRATA_742230 49 config ARM_ERRATA_742230
50 bool 50 bool
51 51
52 config ARM_ERRATA_743622 52 config ARM_ERRATA_743622
53 bool 53 bool
54 54
55 config ARM_ERRATA_751472 55 config ARM_ERRATA_751472
56 bool 56 bool
57 57
58 config ARM_ERRATA_761320 58 config ARM_ERRATA_761320
59 bool 59 bool
60 60
61 config ARM_ERRATA_773022 61 config ARM_ERRATA_773022
62 bool 62 bool
63 63
64 config ARM_ERRATA_774769 64 config ARM_ERRATA_774769
65 bool 65 bool
66 66
67 config ARM_ERRATA_794072 67 config ARM_ERRATA_794072
68 bool 68 bool
69 69
70 config ARM_ERRATA_798870 70 config ARM_ERRATA_798870
71 bool 71 bool
72 72
73 config ARM_ERRATA_801819 73 config ARM_ERRATA_801819
74 bool 74 bool
75 75
76 config ARM_ERRATA_826974 76 config ARM_ERRATA_826974
77 bool 77 bool
78 78
79 config ARM_ERRATA_828024 79 config ARM_ERRATA_828024
80 bool 80 bool
81 81
82 config ARM_ERRATA_829520 82 config ARM_ERRATA_829520
83 bool 83 bool
84 84
85 config ARM_ERRATA_833069 85 config ARM_ERRATA_833069
86 bool 86 bool
87 87
88 config ARM_ERRATA_833471 88 config ARM_ERRATA_833471
89 bool 89 bool
90 90
91 config CPU_ARM720T 91 config CPU_ARM720T
92 bool 92 bool
93 select SYS_CACHE_SHIFT_5 93 select SYS_CACHE_SHIFT_5
94 94
95 config CPU_ARM920T 95 config CPU_ARM920T
96 bool 96 bool
97 select SYS_CACHE_SHIFT_5 97 select SYS_CACHE_SHIFT_5
98 98
99 config CPU_ARM926EJS 99 config CPU_ARM926EJS
100 bool 100 bool
101 select SYS_CACHE_SHIFT_5 101 select SYS_CACHE_SHIFT_5
102 102
103 config CPU_ARM946ES 103 config CPU_ARM946ES
104 bool 104 bool
105 select SYS_CACHE_SHIFT_5 105 select SYS_CACHE_SHIFT_5
106 106
107 config CPU_ARM1136 107 config CPU_ARM1136
108 bool 108 bool
109 select SYS_CACHE_SHIFT_5 109 select SYS_CACHE_SHIFT_5
110 110
111 config CPU_ARM1176 111 config CPU_ARM1176
112 bool 112 bool
113 select HAS_VBAR 113 select HAS_VBAR
114 select SYS_CACHE_SHIFT_5 114 select SYS_CACHE_SHIFT_5
115 115
116 config CPU_V7 116 config CPU_V7
117 bool 117 bool
118 select HAS_VBAR 118 select HAS_VBAR
119 select HAS_THUMB2 119 select HAS_THUMB2
120 select SYS_CACHE_SHIFT_6 120 select SYS_CACHE_SHIFT_6
121 121
122 config CPU_V7M 122 config CPU_V7M
123 bool 123 bool
124 select HAS_THUMB2 124 select HAS_THUMB2
125 select SYS_CACHE_SHIFT_5 125 select SYS_CACHE_SHIFT_5
126 126
127 config CPU_PXA 127 config CPU_PXA
128 bool 128 bool
129 select SYS_CACHE_SHIFT_5 129 select SYS_CACHE_SHIFT_5
130 130
131 config CPU_SA1100 131 config CPU_SA1100
132 bool 132 bool
133 select SYS_CACHE_SHIFT_5 133 select SYS_CACHE_SHIFT_5
134 134
135 config SYS_CPU 135 config SYS_CPU
136 default "arm720t" if CPU_ARM720T 136 default "arm720t" if CPU_ARM720T
137 default "arm920t" if CPU_ARM920T 137 default "arm920t" if CPU_ARM920T
138 default "arm926ejs" if CPU_ARM926EJS 138 default "arm926ejs" if CPU_ARM926EJS
139 default "arm946es" if CPU_ARM946ES 139 default "arm946es" if CPU_ARM946ES
140 default "arm1136" if CPU_ARM1136 140 default "arm1136" if CPU_ARM1136
141 default "arm1176" if CPU_ARM1176 141 default "arm1176" if CPU_ARM1176
142 default "armv7" if CPU_V7 142 default "armv7" if CPU_V7
143 default "armv7m" if CPU_V7M 143 default "armv7m" if CPU_V7M
144 default "pxa" if CPU_PXA 144 default "pxa" if CPU_PXA
145 default "sa1100" if CPU_SA1100 145 default "sa1100" if CPU_SA1100
146 default "armv8" if ARM64 146 default "armv8" if ARM64
147 147
148 config SYS_ARM_ARCH 148 config SYS_ARM_ARCH
149 int 149 int
150 default 4 if CPU_ARM720T 150 default 4 if CPU_ARM720T
151 default 4 if CPU_ARM920T 151 default 4 if CPU_ARM920T
152 default 5 if CPU_ARM926EJS 152 default 5 if CPU_ARM926EJS
153 default 5 if CPU_ARM946ES 153 default 5 if CPU_ARM946ES
154 default 6 if CPU_ARM1136 154 default 6 if CPU_ARM1136
155 default 6 if CPU_ARM1176 155 default 6 if CPU_ARM1176
156 default 7 if CPU_V7 156 default 7 if CPU_V7
157 default 7 if CPU_V7M 157 default 7 if CPU_V7M
158 default 5 if CPU_PXA 158 default 5 if CPU_PXA
159 default 4 if CPU_SA1100 159 default 4 if CPU_SA1100
160 default 8 if ARM64 160 default 8 if ARM64
161 161
162 config SYS_CACHE_SHIFT_5 162 config SYS_CACHE_SHIFT_5
163 bool 163 bool
164 164
165 config SYS_CACHE_SHIFT_6 165 config SYS_CACHE_SHIFT_6
166 bool 166 bool
167 167
168 config SYS_CACHE_SHIFT_7 168 config SYS_CACHE_SHIFT_7
169 bool 169 bool
170 170
171 config SYS_CACHELINE_SIZE 171 config SYS_CACHELINE_SIZE
172 int 172 int
173 default 128 if SYS_CACHE_SHIFT_7 173 default 128 if SYS_CACHE_SHIFT_7
174 default 64 if SYS_CACHE_SHIFT_6 174 default 64 if SYS_CACHE_SHIFT_6
175 default 32 if SYS_CACHE_SHIFT_5 175 default 32 if SYS_CACHE_SHIFT_5
176 176
177 config SEMIHOSTING 177 config SEMIHOSTING
178 bool "support boot from semihosting" 178 bool "support boot from semihosting"
179 help 179 help
180 In emulated environments, semihosting is a way for 180 In emulated environments, semihosting is a way for
181 the hosted environment to call out to the emulator to 181 the hosted environment to call out to the emulator to
182 retrieve files from the host machine. 182 retrieve files from the host machine.
183 183
184 config SYS_L2CACHE_OFF 184 config SYS_L2CACHE_OFF
185 bool "L2cache off" 185 bool "L2cache off"
186 help 186 help
187 If SoC does not support L2CACHE or one do not want to enable 187 If SoC does not support L2CACHE or one do not want to enable
188 L2CACHE, choose this option. 188 L2CACHE, choose this option.
189 189
190 config ENABLE_ARM_SOC_BOOT0_HOOK 190 config ENABLE_ARM_SOC_BOOT0_HOOK
191 bool "prepare BOOT0 header" 191 bool "prepare BOOT0 header"
192 help 192 help
193 If the SoC's BOOT0 requires a header area filled with (magic) 193 If the SoC's BOOT0 requires a header area filled with (magic)
194 values, then choose this option, and create a define called 194 values, then choose this option, and create a define called
195 ARM_SOC_BOOT0_HOOK which contains the required assembler 195 ARM_SOC_BOOT0_HOOK which contains the required assembler
196 preprocessor code. 196 preprocessor code.
197 197
198 config USE_ARCH_MEMCPY 198 config USE_ARCH_MEMCPY
199 bool "Use an assembly optimized implementation of memcpy" 199 bool "Use an assembly optimized implementation of memcpy"
200 default y 200 default y
201 depends on !ARM64 201 depends on !ARM64
202 help 202 help
203 Enable the generation of an optimized version of memcpy. 203 Enable the generation of an optimized version of memcpy.
204 Such implementation may be faster under some conditions 204 Such implementation may be faster under some conditions
205 but may increase the binary size. 205 but may increase the binary size.
206 206
207 config SPL_USE_ARCH_MEMCPY 207 config SPL_USE_ARCH_MEMCPY
208 bool "Use an assembly optimized implementation of memcpy" 208 bool "Use an assembly optimized implementation of memcpy"
209 default y if USE_ARCH_MEMCPY 209 default y if USE_ARCH_MEMCPY
210 depends on !ARM64 210 depends on !ARM64
211 help 211 help
212 Enable the generation of an optimized version of memcpy. 212 Enable the generation of an optimized version of memcpy.
213 Such implementation may be faster under some conditions 213 Such implementation may be faster under some conditions
214 but may increase the binary size. 214 but may increase the binary size.
215 215
216 config USE_ARCH_MEMSET 216 config USE_ARCH_MEMSET
217 bool "Use an assembly optimized implementation of memset" 217 bool "Use an assembly optimized implementation of memset"
218 default y 218 default y
219 depends on !ARM64 219 depends on !ARM64
220 help 220 help
221 Enable the generation of an optimized version of memset. 221 Enable the generation of an optimized version of memset.
222 Such implementation may be faster under some conditions 222 Such implementation may be faster under some conditions
223 but may increase the binary size. 223 but may increase the binary size.
224 224
225 config SPL_USE_ARCH_MEMSET 225 config SPL_USE_ARCH_MEMSET
226 bool "Use an assembly optimized implementation of memset" 226 bool "Use an assembly optimized implementation of memset"
227 default y if USE_ARCH_MEMSET 227 default y if USE_ARCH_MEMSET
228 depends on !ARM64 228 depends on !ARM64
229 help 229 help
230 Enable the generation of an optimized version of memset. 230 Enable the generation of an optimized version of memset.
231 Such implementation may be faster under some conditions 231 Such implementation may be faster under some conditions
232 but may increase the binary size. 232 but may increase the binary size.
233 233
234 config ARCH_OMAP2 234 config ARCH_OMAP2
235 bool 235 bool
236 select CPU_V7 236 select CPU_V7
237 select SUPPORT_SPL 237 select SUPPORT_SPL
238 238
239 config ARM64_SUPPORT_AARCH32 239 config ARM64_SUPPORT_AARCH32
240 bool "ARM64 system support AArch32 execution state" 240 bool "ARM64 system support AArch32 execution state"
241 default y if ARM64 && !TARGET_THUNDERX_88XX 241 default y if ARM64 && !TARGET_THUNDERX_88XX
242 help 242 help
243 This ARM64 system supports AArch32 execution state. 243 This ARM64 system supports AArch32 execution state.
244 244
245 choice 245 choice
246 prompt "Target select" 246 prompt "Target select"
247 default TARGET_HIKEY 247 default TARGET_HIKEY
248 248
249 config ARCH_AT91 249 config ARCH_AT91
250 bool "Atmel AT91" 250 bool "Atmel AT91"
251 251
252 config TARGET_EDB93XX 252 config TARGET_EDB93XX
253 bool "Support edb93xx" 253 bool "Support edb93xx"
254 select CPU_ARM920T 254 select CPU_ARM920T
255 255
256 config TARGET_ASPENITE 256 config TARGET_ASPENITE
257 bool "Support aspenite" 257 bool "Support aspenite"
258 select CPU_ARM926EJS 258 select CPU_ARM926EJS
259 259
260 config TARGET_GPLUGD 260 config TARGET_GPLUGD
261 bool "Support gplugd" 261 bool "Support gplugd"
262 select CPU_ARM926EJS 262 select CPU_ARM926EJS
263 263
264 config ARCH_DAVINCI 264 config ARCH_DAVINCI
265 bool "TI DaVinci" 265 bool "TI DaVinci"
266 select CPU_ARM926EJS 266 select CPU_ARM926EJS
267 help 267 help
268 Support for TI's DaVinci platform. 268 Support for TI's DaVinci platform.
269 269
270 config KIRKWOOD 270 config KIRKWOOD
271 bool "Marvell Kirkwood" 271 bool "Marvell Kirkwood"
272 select CPU_ARM926EJS 272 select CPU_ARM926EJS
273 select BOARD_EARLY_INIT_F 273 select BOARD_EARLY_INIT_F
274 select ARCH_MISC_INIT 274 select ARCH_MISC_INIT
275 275
276 config ARCH_MVEBU 276 config ARCH_MVEBU
277 bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)" 277 bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
278 select OF_CONTROL 278 select OF_CONTROL
279 select OF_SEPARATE 279 select OF_SEPARATE
280 select DM 280 select DM
281 select DM_ETH 281 select DM_ETH
282 select DM_SERIAL 282 select DM_SERIAL
283 select DM_SPI 283 select DM_SPI
284 select DM_SPI_FLASH 284 select DM_SPI_FLASH
285 285
286 config TARGET_DEVKIT3250 286 config TARGET_DEVKIT3250
287 bool "Support devkit3250" 287 bool "Support devkit3250"
288 select CPU_ARM926EJS 288 select CPU_ARM926EJS
289 select SUPPORT_SPL 289 select SUPPORT_SPL
290 290
291 config TARGET_WORK_92105 291 config TARGET_WORK_92105
292 bool "Support work_92105" 292 bool "Support work_92105"
293 select CPU_ARM926EJS 293 select CPU_ARM926EJS
294 select SUPPORT_SPL 294 select SUPPORT_SPL
295 295
296 config TARGET_MX25PDK 296 config TARGET_MX25PDK
297 bool "Support mx25pdk" 297 bool "Support mx25pdk"
298 select BOARD_LATE_INIT 298 select BOARD_LATE_INIT
299 select CPU_ARM926EJS 299 select CPU_ARM926EJS
300 select BOARD_EARLY_INIT_F 300 select BOARD_EARLY_INIT_F
301 301
302 config TARGET_ZMX25 302 config TARGET_ZMX25
303 bool "Support zmx25" 303 bool "Support zmx25"
304 select BOARD_LATE_INIT 304 select BOARD_LATE_INIT
305 select CPU_ARM926EJS 305 select CPU_ARM926EJS
306 306
307 config TARGET_APF27 307 config TARGET_APF27
308 bool "Support apf27" 308 bool "Support apf27"
309 select CPU_ARM926EJS 309 select CPU_ARM926EJS
310 select SUPPORT_SPL 310 select SUPPORT_SPL
311 311
312 config TARGET_APX4DEVKIT 312 config TARGET_APX4DEVKIT
313 bool "Support apx4devkit" 313 bool "Support apx4devkit"
314 select CPU_ARM926EJS 314 select CPU_ARM926EJS
315 select SUPPORT_SPL 315 select SUPPORT_SPL
316 316
317 config TARGET_XFI3 317 config TARGET_XFI3
318 bool "Support xfi3" 318 bool "Support xfi3"
319 select CPU_ARM926EJS 319 select CPU_ARM926EJS
320 select SUPPORT_SPL 320 select SUPPORT_SPL
321 321
322 config TARGET_M28EVK 322 config TARGET_M28EVK
323 bool "Support m28evk" 323 bool "Support m28evk"
324 select CPU_ARM926EJS 324 select CPU_ARM926EJS
325 select SUPPORT_SPL 325 select SUPPORT_SPL
326 326
327 config TARGET_MX23EVK 327 config TARGET_MX23EVK
328 bool "Support mx23evk" 328 bool "Support mx23evk"
329 select CPU_ARM926EJS 329 select CPU_ARM926EJS
330 select SUPPORT_SPL 330 select SUPPORT_SPL
331 select BOARD_EARLY_INIT_F 331 select BOARD_EARLY_INIT_F
332 332
333 config TARGET_MX28EVK 333 config TARGET_MX28EVK
334 bool "Support mx28evk" 334 bool "Support mx28evk"
335 select CPU_ARM926EJS 335 select CPU_ARM926EJS
336 select SUPPORT_SPL 336 select SUPPORT_SPL
337 select BOARD_EARLY_INIT_F 337 select BOARD_EARLY_INIT_F
338 338
339 config TARGET_MX23_OLINUXINO 339 config TARGET_MX23_OLINUXINO
340 bool "Support mx23_olinuxino" 340 bool "Support mx23_olinuxino"
341 select CPU_ARM926EJS 341 select CPU_ARM926EJS
342 select SUPPORT_SPL 342 select SUPPORT_SPL
343 select BOARD_EARLY_INIT_F 343 select BOARD_EARLY_INIT_F
344 344
345 config TARGET_BG0900 345 config TARGET_BG0900
346 bool "Support bg0900" 346 bool "Support bg0900"
347 select CPU_ARM926EJS 347 select CPU_ARM926EJS
348 select SUPPORT_SPL 348 select SUPPORT_SPL
349 349
350 config TARGET_SANSA_FUZE_PLUS 350 config TARGET_SANSA_FUZE_PLUS
351 bool "Support sansa_fuze_plus" 351 bool "Support sansa_fuze_plus"
352 select CPU_ARM926EJS 352 select CPU_ARM926EJS
353 select SUPPORT_SPL 353 select SUPPORT_SPL
354 354
355 config TARGET_SC_SPS_1 355 config TARGET_SC_SPS_1
356 bool "Support sc_sps_1" 356 bool "Support sc_sps_1"
357 select CPU_ARM926EJS 357 select CPU_ARM926EJS
358 select SUPPORT_SPL 358 select SUPPORT_SPL
359 359
360 config ORION5X 360 config ORION5X
361 bool "Marvell Orion" 361 bool "Marvell Orion"
362 select CPU_ARM926EJS 362 select CPU_ARM926EJS
363 363
364 config TARGET_SPEAR300 364 config TARGET_SPEAR300
365 bool "Support spear300" 365 bool "Support spear300"
366 select CPU_ARM926EJS 366 select CPU_ARM926EJS
367 select BOARD_EARLY_INIT_F 367 select BOARD_EARLY_INIT_F
368 368
369 config TARGET_SPEAR310 369 config TARGET_SPEAR310
370 bool "Support spear310" 370 bool "Support spear310"
371 select CPU_ARM926EJS 371 select CPU_ARM926EJS
372 select BOARD_EARLY_INIT_F 372 select BOARD_EARLY_INIT_F
373 373
374 config TARGET_SPEAR320 374 config TARGET_SPEAR320
375 bool "Support spear320" 375 bool "Support spear320"
376 select CPU_ARM926EJS 376 select CPU_ARM926EJS
377 select BOARD_EARLY_INIT_F 377 select BOARD_EARLY_INIT_F
378 378
379 config TARGET_SPEAR600 379 config TARGET_SPEAR600
380 bool "Support spear600" 380 bool "Support spear600"
381 select CPU_ARM926EJS 381 select CPU_ARM926EJS
382 select BOARD_EARLY_INIT_F 382 select BOARD_EARLY_INIT_F
383 383
384 config TARGET_STV0991 384 config TARGET_STV0991
385 bool "Support stv0991" 385 bool "Support stv0991"
386 select CPU_V7 386 select CPU_V7
387 select DM 387 select DM
388 select DM_SERIAL 388 select DM_SERIAL
389 select DM_SPI 389 select DM_SPI
390 select DM_SPI_FLASH 390 select DM_SPI_FLASH
391 select SPI_FLASH 391 select SPI_FLASH
392 392
393 config TARGET_X600 393 config TARGET_X600
394 bool "Support x600" 394 bool "Support x600"
395 select BOARD_LATE_INIT 395 select BOARD_LATE_INIT
396 select CPU_ARM926EJS 396 select CPU_ARM926EJS
397 select SUPPORT_SPL 397 select SUPPORT_SPL
398 398
399 config TARGET_IMX31_PHYCORE 399 config TARGET_IMX31_PHYCORE
400 bool "Support imx31_phycore_eet" 400 bool "Support imx31_phycore_eet"
401 select CPU_ARM1136 401 select CPU_ARM1136
402 select BOARD_EARLY_INIT_F 402 select BOARD_EARLY_INIT_F
403 403
404 config TARGET_IMX31_PHYCORE_EET 404 config TARGET_IMX31_PHYCORE_EET
405 bool "Support imx31_phycore_eet" 405 bool "Support imx31_phycore_eet"
406 select BOARD_LATE_INIT 406 select BOARD_LATE_INIT
407 select CPU_ARM1136 407 select CPU_ARM1136
408 select BOARD_EARLY_INIT_F 408 select BOARD_EARLY_INIT_F
409 409
410 config TARGET_MX31ADS 410 config TARGET_MX31ADS
411 bool "Support mx31ads" 411 bool "Support mx31ads"
412 select CPU_ARM1136 412 select CPU_ARM1136
413 select BOARD_EARLY_INIT_F 413 select BOARD_EARLY_INIT_F
414 414
415 config TARGET_MX31PDK 415 config TARGET_MX31PDK
416 bool "Support mx31pdk" 416 bool "Support mx31pdk"
417 select BOARD_LATE_INIT 417 select BOARD_LATE_INIT
418 select CPU_ARM1136 418 select CPU_ARM1136
419 select SUPPORT_SPL 419 select SUPPORT_SPL
420 select BOARD_EARLY_INIT_F 420 select BOARD_EARLY_INIT_F
421 421
422 config TARGET_WOODBURN 422 config TARGET_WOODBURN
423 bool "Support woodburn" 423 bool "Support woodburn"
424 select CPU_ARM1136 424 select CPU_ARM1136
425 425
426 config TARGET_WOODBURN_SD 426 config TARGET_WOODBURN_SD
427 bool "Support woodburn_sd" 427 bool "Support woodburn_sd"
428 select CPU_ARM1136 428 select CPU_ARM1136
429 select SUPPORT_SPL 429 select SUPPORT_SPL
430 430
431 config TARGET_FLEA3 431 config TARGET_FLEA3
432 bool "Support flea3" 432 bool "Support flea3"
433 select CPU_ARM1136 433 select CPU_ARM1136
434 434
435 config TARGET_MX35PDK 435 config TARGET_MX35PDK
436 bool "Support mx35pdk" 436 bool "Support mx35pdk"
437 select BOARD_LATE_INIT 437 select BOARD_LATE_INIT
438 select CPU_ARM1136 438 select CPU_ARM1136
439 439
440 config ARCH_BCM283X 440 config ARCH_BCM283X
441 bool "Broadcom BCM283X family" 441 bool "Broadcom BCM283X family"
442 select DM 442 select DM
443 select DM_SERIAL 443 select DM_SERIAL
444 select DM_GPIO 444 select DM_GPIO
445 select OF_CONTROL 445 select OF_CONTROL
446 446
447 config TARGET_VEXPRESS_CA15_TC2 447 config TARGET_VEXPRESS_CA15_TC2
448 bool "Support vexpress_ca15_tc2" 448 bool "Support vexpress_ca15_tc2"
449 select CPU_V7 449 select CPU_V7
450 select CPU_V7_HAS_NONSEC 450 select CPU_V7_HAS_NONSEC
451 select CPU_V7_HAS_VIRT 451 select CPU_V7_HAS_VIRT
452 452
453 config TARGET_VEXPRESS_CA5X2 453 config TARGET_VEXPRESS_CA5X2
454 bool "Support vexpress_ca5x2" 454 bool "Support vexpress_ca5x2"
455 select CPU_V7 455 select CPU_V7
456 456
457 config TARGET_VEXPRESS_CA9X4 457 config TARGET_VEXPRESS_CA9X4
458 bool "Support vexpress_ca9x4" 458 bool "Support vexpress_ca9x4"
459 select CPU_V7 459 select CPU_V7
460 460
461 config TARGET_BRXRE1 461 config TARGET_BRXRE1
462 bool "Support BRXRE1" 462 bool "Support BRXRE1"
463 select ARCH_OMAP2 463 select ARCH_OMAP2
464 select BOARD_LATE_INIT 464 select BOARD_LATE_INIT
465 465
466 config TARGET_BRPPT1 466 config TARGET_BRPPT1
467 bool "Support BRPPT1" 467 bool "Support BRPPT1"
468 select ARCH_OMAP2 468 select ARCH_OMAP2
469 select BOARD_LATE_INIT 469 select BOARD_LATE_INIT
470 470
471 config TARGET_DRACO 471 config TARGET_DRACO
472 bool "Support draco" 472 bool "Support draco"
473 select ARCH_OMAP2 473 select ARCH_OMAP2
474 select BOARD_LATE_INIT 474 select BOARD_LATE_INIT
475 select DM 475 select DM
476 select DM_SERIAL 476 select DM_SERIAL
477 select DM_GPIO 477 select DM_GPIO
478 478
479 config TARGET_THUBAN 479 config TARGET_THUBAN
480 bool "Support thuban" 480 bool "Support thuban"
481 select ARCH_OMAP2 481 select ARCH_OMAP2
482 select BOARD_LATE_INIT 482 select BOARD_LATE_INIT
483 select DM 483 select DM
484 select DM_SERIAL 484 select DM_SERIAL
485 select DM_GPIO 485 select DM_GPIO
486 486
487 config TARGET_RASTABAN 487 config TARGET_RASTABAN
488 bool "Support rastaban" 488 bool "Support rastaban"
489 select ARCH_OMAP2 489 select ARCH_OMAP2
490 select BOARD_LATE_INIT 490 select BOARD_LATE_INIT
491 select DM 491 select DM
492 select DM_SERIAL 492 select DM_SERIAL
493 select DM_GPIO 493 select DM_GPIO
494 494
495 config TARGET_ETAMIN 495 config TARGET_ETAMIN
496 bool "Support etamin" 496 bool "Support etamin"
497 select ARCH_OMAP2 497 select ARCH_OMAP2
498 select BOARD_LATE_INIT 498 select BOARD_LATE_INIT
499 select DM 499 select DM
500 select DM_SERIAL 500 select DM_SERIAL
501 select DM_GPIO 501 select DM_GPIO
502 502
503 config TARGET_PXM2 503 config TARGET_PXM2
504 bool "Support pxm2" 504 bool "Support pxm2"
505 select ARCH_OMAP2 505 select ARCH_OMAP2
506 select BOARD_LATE_INIT 506 select BOARD_LATE_INIT
507 select DM 507 select DM
508 select DM_SERIAL 508 select DM_SERIAL
509 select DM_GPIO 509 select DM_GPIO
510 510
511 config TARGET_RUT 511 config TARGET_RUT
512 bool "Support rut" 512 bool "Support rut"
513 select ARCH_OMAP2 513 select ARCH_OMAP2
514 select BOARD_LATE_INIT 514 select BOARD_LATE_INIT
515 select DM 515 select DM
516 select DM_SERIAL 516 select DM_SERIAL
517 select DM_GPIO 517 select DM_GPIO
518 518
519 config TARGET_TI814X_EVM 519 config TARGET_TI814X_EVM
520 bool "Support ti814x_evm" 520 bool "Support ti814x_evm"
521 select ARCH_OMAP2 521 select ARCH_OMAP2
522 522
523 config TARGET_TI816X_EVM 523 config TARGET_TI816X_EVM
524 bool "Support ti816x_evm" 524 bool "Support ti816x_evm"
525 select ARCH_OMAP2 525 select ARCH_OMAP2
526 526
527 config TARGET_BCM23550_W1D 527 config TARGET_BCM23550_W1D
528 bool "Support bcm23550_w1d" 528 bool "Support bcm23550_w1d"
529 select CPU_V7 529 select CPU_V7
530 530
531 config TARGET_BCM28155_AP 531 config TARGET_BCM28155_AP
532 bool "Support bcm28155_ap" 532 bool "Support bcm28155_ap"
533 select CPU_V7 533 select CPU_V7
534 534
535 config TARGET_BCMCYGNUS 535 config TARGET_BCMCYGNUS
536 bool "Support bcmcygnus" 536 bool "Support bcmcygnus"
537 select CPU_V7 537 select CPU_V7
538 538
539 config TARGET_BCMNSP 539 config TARGET_BCMNSP
540 bool "Support bcmnsp" 540 bool "Support bcmnsp"
541 select CPU_V7 541 select CPU_V7
542 542
543 config ARCH_EXYNOS 543 config ARCH_EXYNOS
544 bool "Samsung EXYNOS" 544 bool "Samsung EXYNOS"
545 select DM 545 select DM
546 select DM_I2C 546 select DM_I2C
547 select DM_SPI_FLASH 547 select DM_SPI_FLASH
548 select DM_SERIAL 548 select DM_SERIAL
549 select DM_SPI 549 select DM_SPI
550 select DM_GPIO 550 select DM_GPIO
551 select DM_KEYBOARD 551 select DM_KEYBOARD
552 552
553 config ARCH_S5PC1XX 553 config ARCH_S5PC1XX
554 bool "Samsung S5PC1XX" 554 bool "Samsung S5PC1XX"
555 select CPU_V7 555 select CPU_V7
556 select DM 556 select DM
557 select DM_SERIAL 557 select DM_SERIAL
558 select DM_GPIO 558 select DM_GPIO
559 select DM_I2C 559 select DM_I2C
560 560
561 config ARCH_HIGHBANK 561 config ARCH_HIGHBANK
562 bool "Calxeda Highbank" 562 bool "Calxeda Highbank"
563 select CPU_V7 563 select CPU_V7
564 564
565 config ARCH_INTEGRATOR 565 config ARCH_INTEGRATOR
566 bool "ARM Ltd. Integrator family" 566 bool "ARM Ltd. Integrator family"
567 select DM 567 select DM
568 select DM_SERIAL 568 select DM_SERIAL
569 569
570 config ARCH_KEYSTONE 570 config ARCH_KEYSTONE
571 bool "TI Keystone" 571 bool "TI Keystone"
572 select CPU_V7 572 select CPU_V7
573 select SUPPORT_SPL 573 select SUPPORT_SPL
574 select CMD_POWEROFF 574 select CMD_POWEROFF
575 575
576 config ARCH_MESON 576 config ARCH_MESON
577 bool "Amlogic Meson" 577 bool "Amlogic Meson"
578 help 578 help
579 Support for the Meson SoC family developed by Amlogic Inc., 579 Support for the Meson SoC family developed by Amlogic Inc.,
580 targeted at media players and tablet computers. We currently 580 targeted at media players and tablet computers. We currently
581 support the S905 (GXBaby) 64-bit SoC. 581 support the S905 (GXBaby) 64-bit SoC.
582 582
583 config ARCH_MX7ULP 583 config ARCH_MX7ULP
584 bool "NXP MX7ULP" 584 bool "NXP MX7ULP"
585 select CPU_V7 585 select CPU_V7
586 select ROM_UNIFIED_SECTIONS 586 select ROM_UNIFIED_SECTIONS
587 587
588 config ARCH_MX7 588 config ARCH_MX7
589 bool "Freescale MX7" 589 bool "Freescale MX7"
590 select CPU_V7 590 select CPU_V7
591 select SYS_FSL_HAS_SEC if SECURE_BOOT 591 select SYS_FSL_HAS_SEC if SECURE_BOOT
592 select SYS_FSL_SEC_COMPAT_4 592 select SYS_FSL_SEC_COMPAT_4
593 select SYS_FSL_SEC_LE 593 select SYS_FSL_SEC_LE
594 select BOARD_EARLY_INIT_F 594 select BOARD_EARLY_INIT_F
595 select ARCH_MISC_INIT 595 select ARCH_MISC_INIT
596 596
597 config ARCH_MX6 597 config ARCH_MX6
598 bool "Freescale MX6" 598 bool "Freescale MX6"
599 select CPU_V7 599 select CPU_V7
600 select SYS_FSL_HAS_SEC if SECURE_BOOT 600 select SYS_FSL_HAS_SEC if SECURE_BOOT
601 select SYS_FSL_SEC_COMPAT_4 601 select SYS_FSL_SEC_COMPAT_4
602 select SYS_FSL_SEC_LE 602 select SYS_FSL_SEC_LE
603 603
604 config ARCH_MX5 604 config ARCH_MX5
605 bool "Freescale MX5" 605 bool "Freescale MX5"
606 select CPU_V7 606 select CPU_V7
607 select BOARD_EARLY_INIT_F 607 select BOARD_EARLY_INIT_F
608 608
609 config TARGET_M53EVK 609 config TARGET_M53EVK
610 bool "Support m53evk" 610 bool "Support m53evk"
611 select CPU_V7 611 select CPU_V7
612 select SUPPORT_SPL 612 select SUPPORT_SPL
613 select BOARD_EARLY_INIT_F 613 select BOARD_EARLY_INIT_F
614 614
615 config TARGET_MX51EVK 615 config TARGET_MX51EVK
616 bool "Support mx51evk" 616 bool "Support mx51evk"
617 select BOARD_LATE_INIT 617 select BOARD_LATE_INIT
618 select CPU_V7 618 select CPU_V7
619 select BOARD_EARLY_INIT_F 619 select BOARD_EARLY_INIT_F
620 620
621 config TARGET_MX53ARD 621 config TARGET_MX53ARD
622 bool "Support mx53ard" 622 bool "Support mx53ard"
623 select CPU_V7 623 select CPU_V7
624 select BOARD_EARLY_INIT_F 624 select BOARD_EARLY_INIT_F
625 625
626 config TARGET_MX53EVK 626 config TARGET_MX53EVK
627 bool "Support mx53evk" 627 bool "Support mx53evk"
628 select BOARD_LATE_INIT 628 select BOARD_LATE_INIT
629 select CPU_V7 629 select CPU_V7
630 select BOARD_EARLY_INIT_F 630 select BOARD_EARLY_INIT_F
631 631
632 config TARGET_MX53LOCO 632 config TARGET_MX53LOCO
633 bool "Support mx53loco" 633 bool "Support mx53loco"
634 select BOARD_LATE_INIT 634 select BOARD_LATE_INIT
635 select CPU_V7 635 select CPU_V7
636 select BOARD_EARLY_INIT_F 636 select BOARD_EARLY_INIT_F
637 637
638 config TARGET_MX53SMD 638 config TARGET_MX53SMD
639 bool "Support mx53smd" 639 bool "Support mx53smd"
640 select CPU_V7 640 select CPU_V7
641 select BOARD_EARLY_INIT_F 641 select BOARD_EARLY_INIT_F
642 642
643 config OMAP34XX 643 config OMAP34XX
644 bool "OMAP34XX SoC" 644 bool "OMAP34XX SoC"
645 select ARCH_OMAP2 645 select ARCH_OMAP2
646 select ARM_ERRATA_430973 646 select ARM_ERRATA_430973
647 select ARM_ERRATA_454179 647 select ARM_ERRATA_454179
648 select ARM_ERRATA_621766 648 select ARM_ERRATA_621766
649 select ARM_ERRATA_725233 649 select ARM_ERRATA_725233
650 select USE_TINY_PRINTF 650 select USE_TINY_PRINTF
651 imply SPL_EXT_SUPPORT 651 imply SPL_EXT_SUPPORT
652 imply SPL_FAT_SUPPORT 652 imply SPL_FAT_SUPPORT
653 imply SPL_GPIO_SUPPORT 653 imply SPL_GPIO_SUPPORT
654 imply SPL_I2C_SUPPORT 654 imply SPL_I2C_SUPPORT
655 imply SPL_LIBCOMMON_SUPPORT 655 imply SPL_LIBCOMMON_SUPPORT
656 imply SPL_LIBDISK_SUPPORT 656 imply SPL_LIBDISK_SUPPORT
657 imply SPL_LIBGENERIC_SUPPORT 657 imply SPL_LIBGENERIC_SUPPORT
658 imply SPL_MMC_SUPPORT 658 imply SPL_MMC_SUPPORT
659 imply SPL_NAND_SUPPORT 659 imply SPL_NAND_SUPPORT
660 imply SPL_POWER_SUPPORT 660 imply SPL_POWER_SUPPORT
661 imply SPL_SERIAL_SUPPORT 661 imply SPL_SERIAL_SUPPORT
662 662
663 config OMAP44XX 663 config OMAP44XX
664 bool "OMAP44XX SoC" 664 bool "OMAP44XX SoC"
665 select ARCH_OMAP2 665 select ARCH_OMAP2
666 select USE_TINY_PRINTF 666 select USE_TINY_PRINTF
667 imply SPL_DISPLAY_PRINT 667 imply SPL_DISPLAY_PRINT
668 imply SPL_EXT_SUPPORT 668 imply SPL_EXT_SUPPORT
669 imply SPL_FAT_SUPPORT 669 imply SPL_FAT_SUPPORT
670 imply SPL_GPIO_SUPPORT 670 imply SPL_GPIO_SUPPORT
671 imply SPL_I2C_SUPPORT 671 imply SPL_I2C_SUPPORT
672 imply SPL_LIBCOMMON_SUPPORT 672 imply SPL_LIBCOMMON_SUPPORT
673 imply SPL_LIBDISK_SUPPORT 673 imply SPL_LIBDISK_SUPPORT
674 imply SPL_LIBGENERIC_SUPPORT 674 imply SPL_LIBGENERIC_SUPPORT
675 imply SPL_MMC_SUPPORT 675 imply SPL_MMC_SUPPORT
676 imply SPL_NAND_SUPPORT 676 imply SPL_NAND_SUPPORT
677 imply SPL_POWER_SUPPORT 677 imply SPL_POWER_SUPPORT
678 imply SPL_SERIAL_SUPPORT 678 imply SPL_SERIAL_SUPPORT
679 679
680 config OMAP54XX 680 config OMAP54XX
681 bool "OMAP54XX SoC" 681 bool "OMAP54XX SoC"
682 select ARCH_OMAP2 682 select ARCH_OMAP2
683 select ARM_ERRATA_798870 683 select ARM_ERRATA_798870
684 imply SPL_DISPLAY_PRINT 684 imply SPL_DISPLAY_PRINT
685 imply SPL_ENV_SUPPORT 685 imply SPL_ENV_SUPPORT
686 imply SPL_EXT_SUPPORT 686 imply SPL_EXT_SUPPORT
687 imply SPL_FAT_SUPPORT 687 imply SPL_FAT_SUPPORT
688 imply SPL_GPIO_SUPPORT 688 imply SPL_GPIO_SUPPORT
689 imply SPL_I2C_SUPPORT 689 imply SPL_I2C_SUPPORT
690 imply SPL_LIBCOMMON_SUPPORT 690 imply SPL_LIBCOMMON_SUPPORT
691 imply SPL_LIBDISK_SUPPORT 691 imply SPL_LIBDISK_SUPPORT
692 imply SPL_LIBGENERIC_SUPPORT 692 imply SPL_LIBGENERIC_SUPPORT
693 imply SPL_MMC_SUPPORT 693 imply SPL_MMC_SUPPORT
694 imply SPL_NAND_SUPPORT 694 imply SPL_NAND_SUPPORT
695 imply SPL_POWER_SUPPORT 695 imply SPL_POWER_SUPPORT
696 imply SPL_SERIAL_SUPPORT 696 imply SPL_SERIAL_SUPPORT
697 697
698 config AM43XX 698 config AM43XX
699 bool "AM43XX SoC" 699 bool "AM43XX SoC"
700 select ARCH_OMAP2 700 select ARCH_OMAP2
701 help 701 help
702 Support for AM43xx SOC from Texas Instruments. 702 Support for AM43xx SOC from Texas Instruments.
703 The AM43xx high performance SOC features a Cortex-A9 703 The AM43xx high performance SOC features a Cortex-A9
704 ARM core, a quad core PRU-ICSS for industrial Ethernet 704 ARM core, a quad core PRU-ICSS for industrial Ethernet
705 protocols, dual camera support, optional 3D graphics 705 protocols, dual camera support, optional 3D graphics
706 and an optional customer programmable secure boot. 706 and an optional customer programmable secure boot.
707 707
708 config AM33XX 708 config AM33XX
709 bool "AM33XX SoC" 709 bool "AM33XX SoC"
710 select ARCH_OMAP2 710 select ARCH_OMAP2
711 help 711 help
712 Support for AM335x SOC from Texas Instruments. 712 Support for AM335x SOC from Texas Instruments.
713 The AM335x high performance SOC features a Cortex-A8 713 The AM335x high performance SOC features a Cortex-A8
714 ARM core, a dual core PRU-ICSS for industrial Ethernet 714 ARM core, a dual core PRU-ICSS for industrial Ethernet
715 protocols, optional 3D graphics and an optional customer 715 protocols, optional 3D graphics and an optional customer
716 programmable secure boot. 716 programmable secure boot.
717 717
718 config ARCH_RMOBILE 718 config ARCH_RMOBILE
719 bool "Renesas ARM SoCs" 719 bool "Renesas ARM SoCs"
720 select DM 720 select DM
721 select DM_SERIAL 721 select DM_SERIAL
722 select BOARD_EARLY_INIT_F 722 select BOARD_EARLY_INIT_F
723 723
724 config TARGET_S32V234EVB 724 config TARGET_S32V234EVB
725 bool "Support s32v234evb" 725 bool "Support s32v234evb"
726 select ARM64 726 select ARM64
727 select SYS_FSL_ERRATUM_ESDHC111 727 select SYS_FSL_ERRATUM_ESDHC111
728 728
729 config ARCH_SNAPDRAGON 729 config ARCH_SNAPDRAGON
730 bool "Qualcomm Snapdragon SoCs" 730 bool "Qualcomm Snapdragon SoCs"
731 select ARM64 731 select ARM64
732 select DM 732 select DM
733 select DM_GPIO 733 select DM_GPIO
734 select DM_SERIAL 734 select DM_SERIAL
735 select SPMI 735 select SPMI
736 select OF_CONTROL 736 select OF_CONTROL
737 select OF_SEPARATE 737 select OF_SEPARATE
738 738
739 config ARCH_SOCFPGA 739 config ARCH_SOCFPGA
740 bool "Altera SOCFPGA family" 740 bool "Altera SOCFPGA family"
741 select CPU_V7 741 select CPU_V7
742 select SUPPORT_SPL 742 select SUPPORT_SPL
743 select OF_CONTROL 743 select OF_CONTROL
744 select SPL_OF_CONTROL 744 select SPL_OF_CONTROL
745 select DM 745 select DM
746 select DM_SPI_FLASH 746 select DM_SPI_FLASH
747 select DM_SPI 747 select DM_SPI
748 select ENABLE_ARM_SOC_BOOT0_HOOK 748 select ENABLE_ARM_SOC_BOOT0_HOOK
749 select ARCH_EARLY_INIT_R 749 select ARCH_EARLY_INIT_R
750 select ARCH_MISC_INIT 750 select ARCH_MISC_INIT
751 select SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION 751 select SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
752 752
753 config TARGET_CM_T43 753 config TARGET_CM_T43
754 bool "Support cm_t43" 754 bool "Support cm_t43"
755 select ARCH_OMAP2 755 select ARCH_OMAP2
756 756
757 config ARCH_SUNXI 757 config ARCH_SUNXI
758 bool "Support sunxi (Allwinner) SoCs" 758 bool "Support sunxi (Allwinner) SoCs"
759 select CMD_GPIO 759 select CMD_GPIO
760 select CMD_MMC if MMC 760 select CMD_MMC if MMC
761 select CMD_USB if DISTRO_DEFAULTS 761 select CMD_USB if DISTRO_DEFAULTS
762 select DM 762 select DM
763 select DM_ETH 763 select DM_ETH
764 select DM_GPIO 764 select DM_GPIO
765 select DM_KEYBOARD 765 select DM_KEYBOARD
766 select DM_SERIAL 766 select DM_SERIAL
767 select DM_USB if DISTRO_DEFAULTS 767 select DM_USB if DISTRO_DEFAULTS
768 select OF_BOARD_SETUP 768 select OF_BOARD_SETUP
769 select OF_CONTROL 769 select OF_CONTROL
770 select OF_SEPARATE 770 select OF_SEPARATE
771 select SPL_STACK_R if SUPPORT_SPL 771 select SPL_STACK_R if SUPPORT_SPL
772 select SPL_SYS_MALLOC_SIMPLE if SUPPORT_SPL 772 select SPL_SYS_MALLOC_SIMPLE if SUPPORT_SPL
773 select SYS_NS16550 773 select SYS_NS16550
774 select USB if DISTRO_DEFAULTS 774 select USB if DISTRO_DEFAULTS
775 select USB_STORAGE if DISTRO_DEFAULTS 775 select USB_STORAGE if DISTRO_DEFAULTS
776 select USB_KEYBOARD if DISTRO_DEFAULTS 776 select USB_KEYBOARD if DISTRO_DEFAULTS
777 select USE_TINY_PRINTF 777 select USE_TINY_PRINTF
778 778
779 config TARGET_TS4600 779 config TARGET_TS4600
780 bool "Support TS4600" 780 bool "Support TS4600"
781 select CPU_ARM926EJS 781 select CPU_ARM926EJS
782 select SUPPORT_SPL 782 select SUPPORT_SPL
783 783
784 config TARGET_TS4800 784 config TARGET_TS4800
785 bool "Support TS4800" 785 bool "Support TS4800"
786 select CPU_V7 786 select CPU_V7
787 select SYS_FSL_ERRATUM_ESDHC_A001 787 select SYS_FSL_ERRATUM_ESDHC_A001
788 788
789 config TARGET_VF610TWR 789 config ARCH_VF610
790 bool "Support vf610twr" 790 bool "Freescale Vybrid"
791 select CPU_V7 791 select CPU_V7
792 select SYS_FSL_ERRATUM_ESDHC111 792 select SYS_FSL_ERRATUM_ESDHC111
793 793
794 config TARGET_COLIBRI_VF
795 bool "Support Colibri VF50/61"
796 select BOARD_LATE_INIT
797 select CPU_V7
798 select SYS_FSL_ERRATUM_ESDHC111
799
800 config TARGET_PCM052
801 bool "Support pcm-052"
802 select CPU_V7
803 select SYS_FSL_ERRATUM_ESDHC111
804 select SYS_FSL_ERRATUM_ESDHC135
805 select SYS_FSL_ERRATUM_ESDHC_A001
806
807 config TARGET_BK4R1
808 bool "Support BK4r1"
809 select CPU_V7
810 select SYS_FSL_ERRATUM_ESDHC111
811 select SYS_FSL_ERRATUM_ESDHC135
812 select SYS_FSL_ERRATUM_ESDHC_A001
813
814 config ARCH_ZYNQ 794 config ARCH_ZYNQ
815 bool "Xilinx Zynq Platform" 795 bool "Xilinx Zynq Platform"
816 select BOARD_LATE_INIT 796 select BOARD_LATE_INIT
817 select CPU_V7 797 select CPU_V7
818 select SUPPORT_SPL 798 select SUPPORT_SPL
819 select OF_CONTROL 799 select OF_CONTROL
820 select SPL_OF_CONTROL if SPL 800 select SPL_OF_CONTROL if SPL
821 select DM 801 select DM
822 select DM_ETH 802 select DM_ETH
823 select DM_GPIO 803 select DM_GPIO
824 select SPL_DM if SPL 804 select SPL_DM if SPL
825 select DM_MMC 805 select DM_MMC
826 select DM_MMC_OPS 806 select DM_MMC_OPS
827 select DM_SPI 807 select DM_SPI
828 select DM_SERIAL 808 select DM_SERIAL
829 select DM_SPI_FLASH 809 select DM_SPI_FLASH
830 select SPL_SEPARATE_BSS if SPL 810 select SPL_SEPARATE_BSS if SPL
831 select DM_USB if USB 811 select DM_USB if USB
832 select BLK 812 select BLK
833 813
834 config ARCH_ZYNQMP 814 config ARCH_ZYNQMP
835 bool "Support Xilinx ZynqMP Platform" 815 bool "Support Xilinx ZynqMP Platform"
836 select ARM64 816 select ARM64
837 select BOARD_LATE_INIT 817 select BOARD_LATE_INIT
838 select DM 818 select DM
839 select OF_CONTROL 819 select OF_CONTROL
840 select DM_SERIAL 820 select DM_SERIAL
841 select SUPPORT_SPL 821 select SUPPORT_SPL
842 select CLK 822 select CLK
843 select SPL_CLK 823 select SPL_CLK
844 select DM_USB if USB 824 select DM_USB if USB
845 825
846 config TEGRA 826 config TEGRA
847 bool "NVIDIA Tegra" 827 bool "NVIDIA Tegra"
848 828
849 config TARGET_VEXPRESS64_AEMV8A 829 config TARGET_VEXPRESS64_AEMV8A
850 bool "Support vexpress_aemv8a" 830 bool "Support vexpress_aemv8a"
851 select ARM64 831 select ARM64
852 832
853 config TARGET_VEXPRESS64_BASE_FVP 833 config TARGET_VEXPRESS64_BASE_FVP
854 bool "Support Versatile Express ARMv8a FVP BASE model" 834 bool "Support Versatile Express ARMv8a FVP BASE model"
855 select ARM64 835 select ARM64
856 select SEMIHOSTING 836 select SEMIHOSTING
857 837
858 config TARGET_VEXPRESS64_BASE_FVP_DRAM 838 config TARGET_VEXPRESS64_BASE_FVP_DRAM
859 bool "Support Versatile Express ARMv8a FVP BASE model booting from DRAM" 839 bool "Support Versatile Express ARMv8a FVP BASE model booting from DRAM"
860 select ARM64 840 select ARM64
861 help 841 help
862 This target is derived from TARGET_VEXPRESS64_BASE_FVP and over-rides 842 This target is derived from TARGET_VEXPRESS64_BASE_FVP and over-rides
863 the default config to allow the user to load the images directly into 843 the default config to allow the user to load the images directly into
864 DRAM using model parameters rather than by using semi-hosting to load 844 DRAM using model parameters rather than by using semi-hosting to load
865 the files from the host filesystem. 845 the files from the host filesystem.
866 846
867 config TARGET_VEXPRESS64_JUNO 847 config TARGET_VEXPRESS64_JUNO
868 bool "Support Versatile Express Juno Development Platform" 848 bool "Support Versatile Express Juno Development Platform"
869 select ARM64 849 select ARM64
870 850
871 config TARGET_LS2080A_EMU 851 config TARGET_LS2080A_EMU
872 bool "Support ls2080a_emu" 852 bool "Support ls2080a_emu"
873 select ARCH_LS2080A 853 select ARCH_LS2080A
874 select ARM64 854 select ARM64
875 select ARMV8_MULTIENTRY 855 select ARMV8_MULTIENTRY
876 select ARCH_MISC_INIT 856 select ARCH_MISC_INIT
877 help 857 help
878 Support for Freescale LS2080A_EMU platform 858 Support for Freescale LS2080A_EMU platform
879 The LS2080A Development System (EMULATOR) is a pre silicon 859 The LS2080A Development System (EMULATOR) is a pre silicon
880 development platform that supports the QorIQ LS2080A 860 development platform that supports the QorIQ LS2080A
881 Layerscape Architecture processor. 861 Layerscape Architecture processor.
882 862
883 config TARGET_LS2080A_SIMU 863 config TARGET_LS2080A_SIMU
884 bool "Support ls2080a_simu" 864 bool "Support ls2080a_simu"
885 select ARCH_LS2080A 865 select ARCH_LS2080A
886 select ARM64 866 select ARM64
887 select ARMV8_MULTIENTRY 867 select ARMV8_MULTIENTRY
888 select ARCH_MISC_INIT 868 select ARCH_MISC_INIT
889 help 869 help
890 Support for Freescale LS2080A_SIMU platform 870 Support for Freescale LS2080A_SIMU platform
891 The LS2080A Development System (QDS) is a pre silicon 871 The LS2080A Development System (QDS) is a pre silicon
892 development platform that supports the QorIQ LS2080A 872 development platform that supports the QorIQ LS2080A
893 Layerscape Architecture processor. 873 Layerscape Architecture processor.
894 874
895 config TARGET_LS2080AQDS 875 config TARGET_LS2080AQDS
896 bool "Support ls2080aqds" 876 bool "Support ls2080aqds"
897 select ARCH_LS2080A 877 select ARCH_LS2080A
898 select ARM64 878 select ARM64
899 select ARMV8_MULTIENTRY 879 select ARMV8_MULTIENTRY
900 select BOARD_LATE_INIT 880 select BOARD_LATE_INIT
901 select SUPPORT_SPL 881 select SUPPORT_SPL
902 select ARCH_MISC_INIT 882 select ARCH_MISC_INIT
903 help 883 help
904 Support for Freescale LS2080AQDS platform 884 Support for Freescale LS2080AQDS platform
905 The LS2080A Development System (QDS) is a high-performance 885 The LS2080A Development System (QDS) is a high-performance
906 development platform that supports the QorIQ LS2080A 886 development platform that supports the QorIQ LS2080A
907 Layerscape Architecture processor. 887 Layerscape Architecture processor.
908 888
909 config TARGET_LS2080ARDB 889 config TARGET_LS2080ARDB
910 bool "Support ls2080ardb" 890 bool "Support ls2080ardb"
911 select ARCH_LS2080A 891 select ARCH_LS2080A
912 select ARM64 892 select ARM64
913 select ARMV8_MULTIENTRY 893 select ARMV8_MULTIENTRY
914 select BOARD_LATE_INIT 894 select BOARD_LATE_INIT
915 select SUPPORT_SPL 895 select SUPPORT_SPL
916 select ARCH_MISC_INIT 896 select ARCH_MISC_INIT
917 help 897 help
918 Support for Freescale LS2080ARDB platform. 898 Support for Freescale LS2080ARDB platform.
919 The LS2080A Reference design board (RDB) is a high-performance 899 The LS2080A Reference design board (RDB) is a high-performance
920 development platform that supports the QorIQ LS2080A 900 development platform that supports the QorIQ LS2080A
921 Layerscape Architecture processor. 901 Layerscape Architecture processor.
922 902
923 config TARGET_HIKEY 903 config TARGET_HIKEY
924 bool "Support HiKey 96boards Consumer Edition Platform" 904 bool "Support HiKey 96boards Consumer Edition Platform"
925 select ARM64 905 select ARM64
926 select DM 906 select DM
927 select DM_GPIO 907 select DM_GPIO
928 select DM_SERIAL 908 select DM_SERIAL
929 select OF_CONTROL 909 select OF_CONTROL
930 help 910 help
931 Support for HiKey 96boards platform. It features a HI6220 911 Support for HiKey 96boards platform. It features a HI6220
932 SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM. 912 SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
933 913
934 config TARGET_LS1012AQDS 914 config TARGET_LS1012AQDS
935 bool "Support ls1012aqds" 915 bool "Support ls1012aqds"
936 select ARCH_LS1012A 916 select ARCH_LS1012A
937 select ARM64 917 select ARM64
938 select BOARD_LATE_INIT 918 select BOARD_LATE_INIT
939 help 919 help
940 Support for Freescale LS1012AQDS platform. 920 Support for Freescale LS1012AQDS platform.
941 The LS1012A Development System (QDS) is a high-performance 921 The LS1012A Development System (QDS) is a high-performance
942 development platform that supports the QorIQ LS1012A 922 development platform that supports the QorIQ LS1012A
943 Layerscape Architecture processor. 923 Layerscape Architecture processor.
944 924
945 config TARGET_LS1012ARDB 925 config TARGET_LS1012ARDB
946 bool "Support ls1012ardb" 926 bool "Support ls1012ardb"
947 select ARCH_LS1012A 927 select ARCH_LS1012A
948 select ARM64 928 select ARM64
949 select BOARD_LATE_INIT 929 select BOARD_LATE_INIT
950 help 930 help
951 Support for Freescale LS1012ARDB platform. 931 Support for Freescale LS1012ARDB platform.
952 The LS1012A Reference design board (RDB) is a high-performance 932 The LS1012A Reference design board (RDB) is a high-performance
953 development platform that supports the QorIQ LS1012A 933 development platform that supports the QorIQ LS1012A
954 Layerscape Architecture processor. 934 Layerscape Architecture processor.
955 935
956 config TARGET_LS1012AFRDM 936 config TARGET_LS1012AFRDM
957 bool "Support ls1012afrdm" 937 bool "Support ls1012afrdm"
958 select ARCH_LS1012A 938 select ARCH_LS1012A
959 select ARM64 939 select ARM64
960 help 940 help
961 Support for Freescale LS1012AFRDM platform. 941 Support for Freescale LS1012AFRDM platform.
962 The LS1012A Freedom board (FRDM) is a high-performance 942 The LS1012A Freedom board (FRDM) is a high-performance
963 development platform that supports the QorIQ LS1012A 943 development platform that supports the QorIQ LS1012A
964 Layerscape Architecture processor. 944 Layerscape Architecture processor.
965 945
966 config TARGET_LS1021AQDS 946 config TARGET_LS1021AQDS
967 bool "Support ls1021aqds" 947 bool "Support ls1021aqds"
968 select BOARD_LATE_INIT 948 select BOARD_LATE_INIT
969 select CPU_V7 949 select CPU_V7
970 select CPU_V7_HAS_NONSEC 950 select CPU_V7_HAS_NONSEC
971 select CPU_V7_HAS_VIRT 951 select CPU_V7_HAS_VIRT
972 select SUPPORT_SPL 952 select SUPPORT_SPL
973 select ARCH_LS1021A 953 select ARCH_LS1021A
974 select ARCH_SUPPORT_PSCI 954 select ARCH_SUPPORT_PSCI
975 select LS1_DEEP_SLEEP 955 select LS1_DEEP_SLEEP
976 select SYS_FSL_DDR 956 select SYS_FSL_DDR
977 select BOARD_EARLY_INIT_F 957 select BOARD_EARLY_INIT_F
978 958
979 config TARGET_LS1021ATWR 959 config TARGET_LS1021ATWR
980 bool "Support ls1021atwr" 960 bool "Support ls1021atwr"
981 select BOARD_LATE_INIT 961 select BOARD_LATE_INIT
982 select CPU_V7 962 select CPU_V7
983 select CPU_V7_HAS_NONSEC 963 select CPU_V7_HAS_NONSEC
984 select CPU_V7_HAS_VIRT 964 select CPU_V7_HAS_VIRT
985 select SUPPORT_SPL 965 select SUPPORT_SPL
986 select ARCH_LS1021A 966 select ARCH_LS1021A
987 select ARCH_SUPPORT_PSCI 967 select ARCH_SUPPORT_PSCI
988 select LS1_DEEP_SLEEP 968 select LS1_DEEP_SLEEP
989 select BOARD_EARLY_INIT_F 969 select BOARD_EARLY_INIT_F
990 970
991 config TARGET_LS1021AIOT 971 config TARGET_LS1021AIOT
992 bool "Support ls1021aiot" 972 bool "Support ls1021aiot"
993 select BOARD_LATE_INIT 973 select BOARD_LATE_INIT
994 select CPU_V7 974 select CPU_V7
995 select CPU_V7_HAS_NONSEC 975 select CPU_V7_HAS_NONSEC
996 select CPU_V7_HAS_VIRT 976 select CPU_V7_HAS_VIRT
997 select SUPPORT_SPL 977 select SUPPORT_SPL
998 select ARCH_LS1021A 978 select ARCH_LS1021A
999 select ARCH_SUPPORT_PSCI 979 select ARCH_SUPPORT_PSCI
1000 help 980 help
1001 Support for Freescale LS1021AIOT platform. 981 Support for Freescale LS1021AIOT platform.
1002 The LS1021A Freescale board (IOT) is a high-performance 982 The LS1021A Freescale board (IOT) is a high-performance
1003 development platform that supports the QorIQ LS1021A 983 development platform that supports the QorIQ LS1021A
1004 Layerscape Architecture processor. 984 Layerscape Architecture processor.
1005 985
1006 config TARGET_LS1043AQDS 986 config TARGET_LS1043AQDS
1007 bool "Support ls1043aqds" 987 bool "Support ls1043aqds"
1008 select ARCH_LS1043A 988 select ARCH_LS1043A
1009 select ARM64 989 select ARM64
1010 select ARMV8_MULTIENTRY 990 select ARMV8_MULTIENTRY
1011 select BOARD_LATE_INIT 991 select BOARD_LATE_INIT
1012 select SUPPORT_SPL 992 select SUPPORT_SPL
1013 select BOARD_EARLY_INIT_F 993 select BOARD_EARLY_INIT_F
1014 help 994 help
1015 Support for Freescale LS1043AQDS platform. 995 Support for Freescale LS1043AQDS platform.
1016 996
1017 config TARGET_LS1043ARDB 997 config TARGET_LS1043ARDB
1018 bool "Support ls1043ardb" 998 bool "Support ls1043ardb"
1019 select ARCH_LS1043A 999 select ARCH_LS1043A
1020 select ARM64 1000 select ARM64
1021 select ARMV8_MULTIENTRY 1001 select ARMV8_MULTIENTRY
1022 select BOARD_LATE_INIT 1002 select BOARD_LATE_INIT
1023 select SUPPORT_SPL 1003 select SUPPORT_SPL
1024 select BOARD_EARLY_INIT_F 1004 select BOARD_EARLY_INIT_F
1025 help 1005 help
1026 Support for Freescale LS1043ARDB platform. 1006 Support for Freescale LS1043ARDB platform.
1027 1007
1028 config TARGET_LS1046AQDS 1008 config TARGET_LS1046AQDS
1029 bool "Support ls1046aqds" 1009 bool "Support ls1046aqds"
1030 select ARCH_LS1046A 1010 select ARCH_LS1046A
1031 select ARM64 1011 select ARM64
1032 select ARMV8_MULTIENTRY 1012 select ARMV8_MULTIENTRY
1033 select BOARD_LATE_INIT 1013 select BOARD_LATE_INIT
1034 select SUPPORT_SPL 1014 select SUPPORT_SPL
1035 select DM_SPI_FLASH if DM_SPI 1015 select DM_SPI_FLASH if DM_SPI
1036 select BOARD_EARLY_INIT_F 1016 select BOARD_EARLY_INIT_F
1037 help 1017 help
1038 Support for Freescale LS1046AQDS platform. 1018 Support for Freescale LS1046AQDS platform.
1039 The LS1046A Development System (QDS) is a high-performance 1019 The LS1046A Development System (QDS) is a high-performance
1040 development platform that supports the QorIQ LS1046A 1020 development platform that supports the QorIQ LS1046A
1041 Layerscape Architecture processor. 1021 Layerscape Architecture processor.
1042 1022
1043 config TARGET_LS1046ARDB 1023 config TARGET_LS1046ARDB
1044 bool "Support ls1046ardb" 1024 bool "Support ls1046ardb"
1045 select ARCH_LS1046A 1025 select ARCH_LS1046A
1046 select ARM64 1026 select ARM64
1047 select ARMV8_MULTIENTRY 1027 select ARMV8_MULTIENTRY
1048 select BOARD_LATE_INIT 1028 select BOARD_LATE_INIT
1049 select SUPPORT_SPL 1029 select SUPPORT_SPL
1050 select DM_SPI_FLASH if DM_SPI 1030 select DM_SPI_FLASH if DM_SPI
1051 select POWER_MC34VR500 1031 select POWER_MC34VR500
1052 select BOARD_EARLY_INIT_F 1032 select BOARD_EARLY_INIT_F
1053 help 1033 help
1054 Support for Freescale LS1046ARDB platform. 1034 Support for Freescale LS1046ARDB platform.
1055 The LS1046A Reference Design Board (RDB) is a high-performance 1035 The LS1046A Reference Design Board (RDB) is a high-performance
1056 development platform that supports the QorIQ LS1046A 1036 development platform that supports the QorIQ LS1046A
1057 Layerscape Architecture processor. 1037 Layerscape Architecture processor.
1058 1038
1059 config TARGET_H2200 1039 config TARGET_H2200
1060 bool "Support h2200" 1040 bool "Support h2200"
1061 select CPU_PXA 1041 select CPU_PXA
1062 1042
1063 config TARGET_ZIPITZ2 1043 config TARGET_ZIPITZ2
1064 bool "Support zipitz2" 1044 bool "Support zipitz2"
1065 select CPU_PXA 1045 select CPU_PXA
1066 1046
1067 config TARGET_COLIBRI_PXA270 1047 config TARGET_COLIBRI_PXA270
1068 bool "Support colibri_pxa270" 1048 bool "Support colibri_pxa270"
1069 select CPU_PXA 1049 select CPU_PXA
1070 1050
1071 config ARCH_UNIPHIER 1051 config ARCH_UNIPHIER
1072 bool "Socionext UniPhier SoCs" 1052 bool "Socionext UniPhier SoCs"
1073 select BOARD_LATE_INIT 1053 select BOARD_LATE_INIT
1074 select CLK_UNIPHIER 1054 select CLK_UNIPHIER
1075 select DM 1055 select DM
1076 select DM_GPIO 1056 select DM_GPIO
1077 select DM_I2C 1057 select DM_I2C
1078 select DM_MMC 1058 select DM_MMC
1079 select DM_RESET 1059 select DM_RESET
1080 select DM_SERIAL 1060 select DM_SERIAL
1081 select DM_USB 1061 select DM_USB
1082 select OF_CONTROL 1062 select OF_CONTROL
1083 select OF_LIBFDT 1063 select OF_LIBFDT
1084 select PINCTRL 1064 select PINCTRL
1085 select SPL_DM if SPL 1065 select SPL_DM if SPL
1086 select SPL_LIBCOMMON_SUPPORT if SPL 1066 select SPL_LIBCOMMON_SUPPORT if SPL
1087 select SPL_LIBGENERIC_SUPPORT if SPL 1067 select SPL_LIBGENERIC_SUPPORT if SPL
1088 select SPL_OF_CONTROL if SPL 1068 select SPL_OF_CONTROL if SPL
1089 select SPL_PINCTRL if SPL 1069 select SPL_PINCTRL if SPL
1090 select SUPPORT_SPL 1070 select SUPPORT_SPL
1091 help 1071 help
1092 Support for UniPhier SoC family developed by Socionext Inc. 1072 Support for UniPhier SoC family developed by Socionext Inc.
1093 (formerly, System LSI Business Division of Panasonic Corporation) 1073 (formerly, System LSI Business Division of Panasonic Corporation)
1094 1074
1095 config STM32 1075 config STM32
1096 bool "Support STM32" 1076 bool "Support STM32"
1097 select CPU_V7M 1077 select CPU_V7M
1098 select DM 1078 select DM
1099 select DM_SERIAL 1079 select DM_SERIAL
1100 1080
1101 config ARCH_STI 1081 config ARCH_STI
1102 bool "Support STMicrolectronics SoCs" 1082 bool "Support STMicrolectronics SoCs"
1103 select CPU_V7 1083 select CPU_V7
1104 select DM 1084 select DM
1105 select DM_SERIAL 1085 select DM_SERIAL
1106 select BLK 1086 select BLK
1107 select DM_MMC 1087 select DM_MMC
1108 help 1088 help
1109 Support for STMicroelectronics STiH407/10 SoC family. 1089 Support for STMicroelectronics STiH407/10 SoC family.
1110 This SoC is used on Linaro 96Board STiH410-B2260 1090 This SoC is used on Linaro 96Board STiH410-B2260
1111 1091
1112 config ARCH_ROCKCHIP 1092 config ARCH_ROCKCHIP
1113 bool "Support Rockchip SoCs" 1093 bool "Support Rockchip SoCs"
1114 select OF_CONTROL 1094 select OF_CONTROL
1115 select BLK 1095 select BLK
1116 select DM 1096 select DM
1117 select SPL_DM if SPL 1097 select SPL_DM if SPL
1118 select SYS_MALLOC_F 1098 select SYS_MALLOC_F
1119 select SPL_SYS_MALLOC_SIMPLE if SPL 1099 select SPL_SYS_MALLOC_SIMPLE if SPL
1120 select DM_GPIO 1100 select DM_GPIO
1121 select DM_I2C 1101 select DM_I2C
1122 select DM_MMC 1102 select DM_MMC
1123 select DM_MMC_OPS 1103 select DM_MMC_OPS
1124 select DM_SERIAL 1104 select DM_SERIAL
1125 select DM_SPI 1105 select DM_SPI
1126 select DM_SPI_FLASH 1106 select DM_SPI_FLASH
1127 select DM_USB if USB 1107 select DM_USB if USB
1128 select DM_PWM 1108 select DM_PWM
1129 select DM_REGULATOR 1109 select DM_REGULATOR
1130 1110
1131 config TARGET_THUNDERX_88XX 1111 config TARGET_THUNDERX_88XX
1132 bool "Support ThunderX 88xx" 1112 bool "Support ThunderX 88xx"
1133 select ARM64 1113 select ARM64
1134 select OF_CONTROL 1114 select OF_CONTROL
1135 select SYS_CACHE_SHIFT_7 1115 select SYS_CACHE_SHIFT_7
1136 1116
1137 config ARCH_ASPEED 1117 config ARCH_ASPEED
1138 bool "Support Aspeed SoCs" 1118 bool "Support Aspeed SoCs"
1139 select OF_CONTROL 1119 select OF_CONTROL
1140 select DM 1120 select DM
1141 1121
1142 endchoice 1122 endchoice
1143 1123
1144 source "arch/arm/mach-aspeed/Kconfig" 1124 source "arch/arm/mach-aspeed/Kconfig"
1145 1125
1146 source "arch/arm/mach-at91/Kconfig" 1126 source "arch/arm/mach-at91/Kconfig"
1147 1127
1148 source "arch/arm/mach-bcm283x/Kconfig" 1128 source "arch/arm/mach-bcm283x/Kconfig"
1149 1129
1150 source "arch/arm/mach-davinci/Kconfig" 1130 source "arch/arm/mach-davinci/Kconfig"
1151 1131
1152 source "arch/arm/mach-exynos/Kconfig" 1132 source "arch/arm/mach-exynos/Kconfig"
1153 1133
1154 source "arch/arm/mach-highbank/Kconfig" 1134 source "arch/arm/mach-highbank/Kconfig"
1155 1135
1156 source "arch/arm/mach-integrator/Kconfig" 1136 source "arch/arm/mach-integrator/Kconfig"
1157 1137
1158 source "arch/arm/mach-keystone/Kconfig" 1138 source "arch/arm/mach-keystone/Kconfig"
1159 1139
1160 source "arch/arm/mach-kirkwood/Kconfig" 1140 source "arch/arm/mach-kirkwood/Kconfig"
1161 1141
1162 source "arch/arm/mach-mvebu/Kconfig" 1142 source "arch/arm/mach-mvebu/Kconfig"
1163 1143
1164 source "arch/arm/cpu/armv7/ls102xa/Kconfig" 1144 source "arch/arm/cpu/armv7/ls102xa/Kconfig"
1165 1145
1166 source "arch/arm/cpu/armv7/mx7ulp/Kconfig" 1146 source "arch/arm/cpu/armv7/mx7ulp/Kconfig"
1167 1147
1168 source "arch/arm/cpu/armv7/mx7/Kconfig" 1148 source "arch/arm/cpu/armv7/mx7/Kconfig"
1169 1149
1170 source "arch/arm/cpu/armv7/mx6/Kconfig" 1150 source "arch/arm/cpu/armv7/mx6/Kconfig"
1171 1151
1172 source "arch/arm/cpu/armv7/mx5/Kconfig" 1152 source "arch/arm/cpu/armv7/mx5/Kconfig"
1173 1153
1174 source "arch/arm/mach-omap2/Kconfig" 1154 source "arch/arm/mach-omap2/Kconfig"
1175 1155
1176 source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig" 1156 source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
1177 1157
1178 source "arch/arm/mach-orion5x/Kconfig" 1158 source "arch/arm/mach-orion5x/Kconfig"
1179 1159
1180 source "arch/arm/mach-rmobile/Kconfig" 1160 source "arch/arm/mach-rmobile/Kconfig"
1181 1161
1182 source "arch/arm/mach-meson/Kconfig" 1162 source "arch/arm/mach-meson/Kconfig"
1183 1163
1184 source "arch/arm/mach-rockchip/Kconfig" 1164 source "arch/arm/mach-rockchip/Kconfig"
1185 1165
1186 source "arch/arm/mach-s5pc1xx/Kconfig" 1166 source "arch/arm/mach-s5pc1xx/Kconfig"
1187 1167
1188 source "arch/arm/mach-snapdragon/Kconfig" 1168 source "arch/arm/mach-snapdragon/Kconfig"
1189 1169
1190 source "arch/arm/mach-socfpga/Kconfig" 1170 source "arch/arm/mach-socfpga/Kconfig"
1191 1171
1192 source "arch/arm/mach-sti/Kconfig" 1172 source "arch/arm/mach-sti/Kconfig"
1193 1173
1194 source "arch/arm/mach-stm32/Kconfig" 1174 source "arch/arm/mach-stm32/Kconfig"
1195 1175
1196 source "arch/arm/mach-tegra/Kconfig" 1176 source "arch/arm/mach-tegra/Kconfig"
1197 1177
1198 source "arch/arm/mach-uniphier/Kconfig" 1178 source "arch/arm/mach-uniphier/Kconfig"
1199 1179
1180 source "arch/arm/cpu/armv7/vf610/Kconfig"
1181
1200 source "arch/arm/mach-zynq/Kconfig" 1182 source "arch/arm/mach-zynq/Kconfig"
1201 1183
1202 source "arch/arm/cpu/armv7/Kconfig" 1184 source "arch/arm/cpu/armv7/Kconfig"
1203 1185
1204 source "arch/arm/cpu/armv8/zynqmp/Kconfig" 1186 source "arch/arm/cpu/armv8/zynqmp/Kconfig"
1205 1187
1206 source "arch/arm/cpu/armv8/Kconfig" 1188 source "arch/arm/cpu/armv8/Kconfig"
1207 1189
1208 source "arch/arm/imx-common/Kconfig" 1190 source "arch/arm/imx-common/Kconfig"
1209 1191
1210 source "board/bosch/shc/Kconfig" 1192 source "board/bosch/shc/Kconfig"
1211 source "board/BuR/brxre1/Kconfig" 1193 source "board/BuR/brxre1/Kconfig"
1212 source "board/BuR/brppt1/Kconfig" 1194 source "board/BuR/brppt1/Kconfig"
1213 source "board/CarMediaLab/flea3/Kconfig" 1195 source "board/CarMediaLab/flea3/Kconfig"
1214 source "board/Marvell/aspenite/Kconfig" 1196 source "board/Marvell/aspenite/Kconfig"
1215 source "board/Marvell/gplugd/Kconfig" 1197 source "board/Marvell/gplugd/Kconfig"
1216 source "board/armadeus/apf27/Kconfig" 1198 source "board/armadeus/apf27/Kconfig"
1217 source "board/armltd/vexpress/Kconfig" 1199 source "board/armltd/vexpress/Kconfig"
1218 source "board/armltd/vexpress64/Kconfig" 1200 source "board/armltd/vexpress64/Kconfig"
1219 source "board/bluegiga/apx4devkit/Kconfig" 1201 source "board/bluegiga/apx4devkit/Kconfig"
1220 source "board/broadcom/bcm23550_w1d/Kconfig" 1202 source "board/broadcom/bcm23550_w1d/Kconfig"
1221 source "board/broadcom/bcm28155_ap/Kconfig" 1203 source "board/broadcom/bcm28155_ap/Kconfig"
1222 source "board/broadcom/bcmcygnus/Kconfig" 1204 source "board/broadcom/bcmcygnus/Kconfig"
1223 source "board/broadcom/bcmnsp/Kconfig" 1205 source "board/broadcom/bcmnsp/Kconfig"
1224 source "board/cavium/thunderx/Kconfig" 1206 source "board/cavium/thunderx/Kconfig"
1225 source "board/cirrus/edb93xx/Kconfig" 1207 source "board/cirrus/edb93xx/Kconfig"
1226 source "board/compulab/cm_t335/Kconfig" 1208 source "board/compulab/cm_t335/Kconfig"
1227 source "board/compulab/cm_t43/Kconfig" 1209 source "board/compulab/cm_t43/Kconfig"
1228 source "board/creative/xfi3/Kconfig" 1210 source "board/creative/xfi3/Kconfig"
1229 source "board/denx/m28evk/Kconfig" 1211 source "board/denx/m28evk/Kconfig"
1230 source "board/denx/m53evk/Kconfig" 1212 source "board/denx/m53evk/Kconfig"
1231 source "board/freescale/ls2080a/Kconfig" 1213 source "board/freescale/ls2080a/Kconfig"
1232 source "board/freescale/ls2080aqds/Kconfig" 1214 source "board/freescale/ls2080aqds/Kconfig"
1233 source "board/freescale/ls2080ardb/Kconfig" 1215 source "board/freescale/ls2080ardb/Kconfig"
1234 source "board/freescale/ls1021aqds/Kconfig" 1216 source "board/freescale/ls1021aqds/Kconfig"
1235 source "board/freescale/ls1043aqds/Kconfig" 1217 source "board/freescale/ls1043aqds/Kconfig"
1236 source "board/freescale/ls1021atwr/Kconfig" 1218 source "board/freescale/ls1021atwr/Kconfig"
1237 source "board/freescale/ls1021aiot/Kconfig" 1219 source "board/freescale/ls1021aiot/Kconfig"
1238 source "board/freescale/ls1046aqds/Kconfig" 1220 source "board/freescale/ls1046aqds/Kconfig"
1239 source "board/freescale/ls1043ardb/Kconfig" 1221 source "board/freescale/ls1043ardb/Kconfig"
1240 source "board/freescale/ls1046ardb/Kconfig" 1222 source "board/freescale/ls1046ardb/Kconfig"
1241 source "board/freescale/ls1012aqds/Kconfig" 1223 source "board/freescale/ls1012aqds/Kconfig"
1242 source "board/freescale/ls1012ardb/Kconfig" 1224 source "board/freescale/ls1012ardb/Kconfig"
1243 source "board/freescale/ls1012afrdm/Kconfig" 1225 source "board/freescale/ls1012afrdm/Kconfig"
1244 source "board/freescale/mx23evk/Kconfig" 1226 source "board/freescale/mx23evk/Kconfig"
1245 source "board/freescale/mx25pdk/Kconfig" 1227 source "board/freescale/mx25pdk/Kconfig"
1246 source "board/freescale/mx28evk/Kconfig" 1228 source "board/freescale/mx28evk/Kconfig"
1247 source "board/freescale/mx31ads/Kconfig" 1229 source "board/freescale/mx31ads/Kconfig"
1248 source "board/freescale/mx31pdk/Kconfig" 1230 source "board/freescale/mx31pdk/Kconfig"
1249 source "board/freescale/mx35pdk/Kconfig" 1231 source "board/freescale/mx35pdk/Kconfig"
1250 source "board/freescale/mx51evk/Kconfig" 1232 source "board/freescale/mx51evk/Kconfig"
1251 source "board/freescale/mx53ard/Kconfig" 1233 source "board/freescale/mx53ard/Kconfig"
1252 source "board/freescale/mx53evk/Kconfig" 1234 source "board/freescale/mx53evk/Kconfig"
1253 source "board/freescale/mx53loco/Kconfig" 1235 source "board/freescale/mx53loco/Kconfig"
1254 source "board/freescale/mx53smd/Kconfig" 1236 source "board/freescale/mx53smd/Kconfig"
1255 source "board/freescale/s32v234evb/Kconfig" 1237 source "board/freescale/s32v234evb/Kconfig"
1256 source "board/freescale/vf610twr/Kconfig"
1257 source "board/grinn/chiliboard/Kconfig" 1238 source "board/grinn/chiliboard/Kconfig"
1258 source "board/gumstix/pepper/Kconfig" 1239 source "board/gumstix/pepper/Kconfig"
1259 source "board/h2200/Kconfig" 1240 source "board/h2200/Kconfig"
1260 source "board/hisilicon/hikey/Kconfig" 1241 source "board/hisilicon/hikey/Kconfig"
1261 source "board/imx31_phycore/Kconfig" 1242 source "board/imx31_phycore/Kconfig"
1262 source "board/isee/igep0033/Kconfig" 1243 source "board/isee/igep0033/Kconfig"
1263 source "board/olimex/mx23_olinuxino/Kconfig" 1244 source "board/olimex/mx23_olinuxino/Kconfig"
1264 source "board/phytec/pcm051/Kconfig" 1245 source "board/phytec/pcm051/Kconfig"
1265 source "board/phytec/pcm052/Kconfig"
1266 source "board/ppcag/bg0900/Kconfig" 1246 source "board/ppcag/bg0900/Kconfig"
1267 source "board/sandisk/sansa_fuze_plus/Kconfig" 1247 source "board/sandisk/sansa_fuze_plus/Kconfig"
1268 source "board/schulercontrol/sc_sps_1/Kconfig" 1248 source "board/schulercontrol/sc_sps_1/Kconfig"
1269 source "board/siemens/draco/Kconfig" 1249 source "board/siemens/draco/Kconfig"
1270 source "board/siemens/pxm2/Kconfig" 1250 source "board/siemens/pxm2/Kconfig"
1271 source "board/siemens/rut/Kconfig" 1251 source "board/siemens/rut/Kconfig"
1272 source "board/silica/pengwyn/Kconfig" 1252 source "board/silica/pengwyn/Kconfig"
1273 source "board/spear/spear300/Kconfig" 1253 source "board/spear/spear300/Kconfig"
1274 source "board/spear/spear310/Kconfig" 1254 source "board/spear/spear310/Kconfig"
1275 source "board/spear/spear320/Kconfig" 1255 source "board/spear/spear320/Kconfig"
1276 source "board/spear/spear600/Kconfig" 1256 source "board/spear/spear600/Kconfig"
1277 source "board/spear/x600/Kconfig" 1257 source "board/spear/x600/Kconfig"
1278 source "board/st/stv0991/Kconfig" 1258 source "board/st/stv0991/Kconfig"
1279 source "board/sunxi/Kconfig" 1259 source "board/sunxi/Kconfig"
1280 source "board/syteco/zmx25/Kconfig" 1260 source "board/syteco/zmx25/Kconfig"
1281 source "board/tcl/sl50/Kconfig" 1261 source "board/tcl/sl50/Kconfig"
1282 source "board/ti/am335x/Kconfig" 1262 source "board/ti/am335x/Kconfig"
1283 source "board/ti/am43xx/Kconfig" 1263 source "board/ti/am43xx/Kconfig"
1284 source "board/birdland/bav335x/Kconfig" 1264 source "board/birdland/bav335x/Kconfig"
1285 source "board/ti/ti814x/Kconfig" 1265 source "board/ti/ti814x/Kconfig"
1286 source "board/ti/ti816x/Kconfig" 1266 source "board/ti/ti816x/Kconfig"
1287 source "board/timll/devkit3250/Kconfig" 1267 source "board/timll/devkit3250/Kconfig"
1288 source "board/toradex/colibri_pxa270/Kconfig" 1268 source "board/toradex/colibri_pxa270/Kconfig"
1289 source "board/toradex/colibri_vf/Kconfig"
1290 source "board/technologic/ts4600/Kconfig" 1269 source "board/technologic/ts4600/Kconfig"
1291 source "board/technologic/ts4800/Kconfig" 1270 source "board/technologic/ts4800/Kconfig"
1292 source "board/vscom/baltos/Kconfig" 1271 source "board/vscom/baltos/Kconfig"
1293 source "board/woodburn/Kconfig" 1272 source "board/woodburn/Kconfig"
1294 source "board/work-microwave/work_92105/Kconfig" 1273 source "board/work-microwave/work_92105/Kconfig"
1295 source "board/zipitz2/Kconfig" 1274 source "board/zipitz2/Kconfig"
1296 1275
1297 source "arch/arm/Kconfig.debug" 1276 source "arch/arm/Kconfig.debug"
1298 1277
arch/arm/cpu/armv7/vf610/Kconfig
File was created 1 if ARCH_VF610
2
3 config VF610
4 bool
5 default y
6
7 choice
8 prompt "Vybrid board select"
9
10 config TARGET_VF610TWR
11 bool "TWR-VF65GS10-DS5"
12
13 config TARGET_COLIBRI_VF
14 bool "Colibri VF50/61"
15 select BOARD_LATE_INIT
16
17 config TARGET_PCM052
18 bool "PCM-052"
19 select SYS_FSL_ERRATUM_ESDHC135
20 select SYS_FSL_ERRATUM_ESDHC_A001
21
22 config TARGET_BK4R1
23 bool "BK4r1"
24 select SYS_FSL_ERRATUM_ESDHC135
25 select SYS_FSL_ERRATUM_ESDHC_A001
26
27 endchoice
28
29 config SYS_SOC
30 default "vf610"
31
32 source "board/freescale/vf610twr/Kconfig"
33 source "board/phytec/pcm052/Kconfig"
34 source "board/toradex/colibri_vf/Kconfig"
35
36 endif
37
board/freescale/vf610twr/Kconfig
1 if TARGET_VF610TWR 1 if TARGET_VF610TWR
2 2
3 config SYS_BOARD 3 config SYS_BOARD
4 default "vf610twr" 4 default "vf610twr"
5 5
6 config SYS_VENDOR 6 config SYS_VENDOR
7 default "freescale" 7 default "freescale"
8 8
9 config SYS_SOC
10 default "vf610"
11
12 config SYS_CONFIG_NAME 9 config SYS_CONFIG_NAME
13 default "vf610twr" 10 default "vf610twr"
14 11
15 endif 12 endif
16 13
board/phytec/pcm052/Kconfig
1 if TARGET_PCM052 1 if TARGET_PCM052
2 2
3 config SYS_BOARD 3 config SYS_BOARD
4 default "pcm052" 4 default "pcm052"
5 5
6 config SYS_VENDOR 6 config SYS_VENDOR
7 default "phytec" 7 default "phytec"
8 8
9 config SYS_SOC
10 default "vf610"
11
12 config SYS_CONFIG_NAME 9 config SYS_CONFIG_NAME
13 default "pcm052" 10 default "pcm052"
14 11
15 config PCM052_DDR_SIZE 12 config PCM052_DDR_SIZE
16 int 13 int
17 default 256 14 default 256
18 15
19 endif 16 endif
20 17
21 if TARGET_BK4R1 18 if TARGET_BK4R1
22 19
23 config SYS_BOARD 20 config SYS_BOARD
24 default "pcm052" 21 default "pcm052"
25 22
26 config SYS_VENDOR 23 config SYS_VENDOR
27 default "phytec" 24 default "phytec"
28
29 config SYS_SOC
30 default "vf610"
31 25
32 config SYS_CONFIG_NAME 26 config SYS_CONFIG_NAME
33 default "bk4r1" 27 default "bk4r1"
34 28
35 config PCM052_DDR_SIZE 29 config PCM052_DDR_SIZE
36 int 30 int
37 default 512 31 default 512
38 32
39 endif 33 endif
40 34
board/toradex/colibri_vf/Kconfig
1 if TARGET_COLIBRI_VF 1 if TARGET_COLIBRI_VF
2 2
3 config SYS_CPU
4 default "armv7"
5
6 config SYS_BOARD 3 config SYS_BOARD
7 default "colibri_vf" 4 default "colibri_vf"
8 5
9 config SYS_VENDOR 6 config SYS_VENDOR
10 default "toradex" 7 default "toradex"
11
12 config SYS_SOC
13 default "vf610"
14 8
15 config SYS_CONFIG_NAME 9 config SYS_CONFIG_NAME
16 default "colibri_vf" 10 default "colibri_vf"
17 11
18 config TDX_CFG_BLOCK 12 config TDX_CFG_BLOCK
19 default y 13 default y
20 14
21 config TDX_HAVE_NAND 15 config TDX_HAVE_NAND
22 default y 16 default y
23 17
24 config TDX_CFG_BLOCK_OFFSET 18 config TDX_CFG_BLOCK_OFFSET
25 default "2048" 19 default "2048"
26 20
27 config TDX_CFG_BLOCK_2ND_ETHADDR 21 config TDX_CFG_BLOCK_2ND_ETHADDR
28 default y 22 default y
29 23
30 source "board/toradex/common/Kconfig" 24 source "board/toradex/common/Kconfig"
31 25
32 endif 26 endif
33 27
configs/bk4r1_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_ARCH_VF610=y
2 CONFIG_TARGET_BK4R1=y 3 CONFIG_TARGET_BK4R1=y
3 CONFIG_DEFAULT_DEVICE_TREE="bk4r1" 4 CONFIG_DEFAULT_DEVICE_TREE="bk4r1"
4 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/phytec/pcm052/imximage.cfg,ENV_IS_IN_NAND" 5 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/phytec/pcm052/imximage.cfg,ENV_IS_IN_NAND"
5 CONFIG_BOOTDELAY=3 6 CONFIG_BOOTDELAY=3
6 CONFIG_BOARD_EARLY_INIT_F=y 7 CONFIG_BOARD_EARLY_INIT_F=y
7 CONFIG_HUSH_PARSER=y 8 CONFIG_HUSH_PARSER=y
8 CONFIG_CMD_BOOTZ=y 9 CONFIG_CMD_BOOTZ=y
9 # CONFIG_CMD_IMLS is not set 10 # CONFIG_CMD_IMLS is not set
10 CONFIG_CMD_MEMTEST=y 11 CONFIG_CMD_MEMTEST=y
11 CONFIG_CMD_MMC=y 12 CONFIG_CMD_MMC=y
12 CONFIG_CMD_SF=y 13 CONFIG_CMD_SF=y
13 CONFIG_CMD_I2C=y 14 CONFIG_CMD_I2C=y
14 CONFIG_CMD_GPIO=y 15 CONFIG_CMD_GPIO=y
15 CONFIG_CMD_DHCP=y 16 CONFIG_CMD_DHCP=y
16 CONFIG_CMD_MII=y 17 CONFIG_CMD_MII=y
17 CONFIG_CMD_PING=y 18 CONFIG_CMD_PING=y
18 CONFIG_CMD_FAT=y 19 CONFIG_CMD_FAT=y
19 CONFIG_CMD_UBI=y 20 CONFIG_CMD_UBI=y
20 CONFIG_OF_CONTROL=y 21 CONFIG_OF_CONTROL=y
21 CONFIG_DM=y 22 CONFIG_DM=y
22 CONFIG_DM_GPIO=y 23 CONFIG_DM_GPIO=y
23 CONFIG_VYBRID_GPIO=y 24 CONFIG_VYBRID_GPIO=y
24 CONFIG_NAND_VF610_NFC=y 25 CONFIG_NAND_VF610_NFC=y
25 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y 26 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
26 CONFIG_DM_SPI_FLASH=y 27 CONFIG_DM_SPI_FLASH=y
27 CONFIG_SPI_FLASH=y 28 CONFIG_SPI_FLASH=y
28 CONFIG_SPI_FLASH_STMICRO=y 29 CONFIG_SPI_FLASH_STMICRO=y
29 CONFIG_SPI_FLASH_MTD=y 30 CONFIG_SPI_FLASH_MTD=y
30 CONFIG_DM_SERIAL=y 31 CONFIG_DM_SERIAL=y
31 CONFIG_FSL_LPUART=y 32 CONFIG_FSL_LPUART=y
32 CONFIG_DM_SPI=y 33 CONFIG_DM_SPI=y
33 CONFIG_FSL_QSPI=y 34 CONFIG_FSL_QSPI=y
34 35
configs/colibri_vf_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_ARCH_VF610=y
2 CONFIG_TARGET_COLIBRI_VF=y 3 CONFIG_TARGET_COLIBRI_VF=y
3 CONFIG_DEFAULT_DEVICE_TREE="vf610-colibri" 4 CONFIG_DEFAULT_DEVICE_TREE="vf610-colibri"
4 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/toradex/colibri_vf/imximage.cfg,ENV_IS_IN_NAND,IMX_NAND" 5 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/toradex/colibri_vf/imximage.cfg,ENV_IS_IN_NAND,IMX_NAND"
5 CONFIG_BOOTDELAY=1 6 CONFIG_BOOTDELAY=1
6 CONFIG_VERSION_VARIABLE=y 7 CONFIG_VERSION_VARIABLE=y
7 # CONFIG_DISPLAY_BOARDINFO is not set 8 # CONFIG_DISPLAY_BOARDINFO is not set
8 CONFIG_ARCH_MISC_INIT=y 9 CONFIG_ARCH_MISC_INIT=y
9 CONFIG_BOARD_EARLY_INIT_F=y 10 CONFIG_BOARD_EARLY_INIT_F=y
10 CONFIG_HUSH_PARSER=y 11 CONFIG_HUSH_PARSER=y
11 CONFIG_SYS_PROMPT="Colibri VFxx # " 12 CONFIG_SYS_PROMPT="Colibri VFxx # "
12 CONFIG_CMD_BOOTZ=y 13 CONFIG_CMD_BOOTZ=y
13 # CONFIG_CMD_IMLS is not set 14 # CONFIG_CMD_IMLS is not set
14 CONFIG_CMD_ASKENV=y 15 CONFIG_CMD_ASKENV=y
15 CONFIG_CMD_MEMTEST=y 16 CONFIG_CMD_MEMTEST=y
16 CONFIG_CMD_MMC=y 17 CONFIG_CMD_MMC=y
17 CONFIG_CMD_SPI=y 18 CONFIG_CMD_SPI=y
18 CONFIG_CMD_USB=y 19 CONFIG_CMD_USB=y
19 CONFIG_CMD_DFU=y 20 CONFIG_CMD_DFU=y
20 CONFIG_CMD_USB_MASS_STORAGE=y 21 CONFIG_CMD_USB_MASS_STORAGE=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_EXT4=y 27 CONFIG_CMD_EXT4=y
27 CONFIG_CMD_FAT=y 28 CONFIG_CMD_FAT=y
28 CONFIG_CMD_FS_GENERIC=y 29 CONFIG_CMD_FS_GENERIC=y
29 CONFIG_CMD_UBI=y 30 CONFIG_CMD_UBI=y
30 CONFIG_OF_CONTROL=y 31 CONFIG_OF_CONTROL=y
31 CONFIG_DM=y 32 CONFIG_DM=y
32 CONFIG_DFU_MMC=y 33 CONFIG_DFU_MMC=y
33 CONFIG_DFU_NAND=y 34 CONFIG_DFU_NAND=y
34 CONFIG_DM_GPIO=y 35 CONFIG_DM_GPIO=y
35 CONFIG_VYBRID_GPIO=y 36 CONFIG_VYBRID_GPIO=y
36 CONFIG_NAND_VF610_NFC=y 37 CONFIG_NAND_VF610_NFC=y
37 CONFIG_SYS_NAND_VF610_NFC_60_ECC_BYTES=y 38 CONFIG_SYS_NAND_VF610_NFC_60_ECC_BYTES=y
38 CONFIG_MTD_UBI_FASTMAP=y 39 CONFIG_MTD_UBI_FASTMAP=y
39 CONFIG_DM_SERIAL=y 40 CONFIG_DM_SERIAL=y
40 CONFIG_FSL_LPUART=y 41 CONFIG_FSL_LPUART=y
41 CONFIG_DM_SPI=y 42 CONFIG_DM_SPI=y
42 CONFIG_FSL_DSPI=y 43 CONFIG_FSL_DSPI=y
43 CONFIG_USB=y 44 CONFIG_USB=y
44 CONFIG_DM_USB=y 45 CONFIG_DM_USB=y
45 CONFIG_USB_STORAGE=y 46 CONFIG_USB_STORAGE=y
46 CONFIG_USB_GADGET=y 47 CONFIG_USB_GADGET=y
47 CONFIG_CI_UDC=y 48 CONFIG_CI_UDC=y
48 CONFIG_USB_GADGET_DOWNLOAD=y 49 CONFIG_USB_GADGET_DOWNLOAD=y
49 CONFIG_G_DNL_MANUFACTURER="Toradex" 50 CONFIG_G_DNL_MANUFACTURER="Toradex"
50 CONFIG_G_DNL_VENDOR_NUM=0x1b67 51 CONFIG_G_DNL_VENDOR_NUM=0x1b67
51 CONFIG_G_DNL_PRODUCT_NUM=0x4000 52 CONFIG_G_DNL_PRODUCT_NUM=0x4000
52 CONFIG_OF_LIBFDT_OVERLAY=y 53 CONFIG_OF_LIBFDT_OVERLAY=y
53 54
configs/pcm052_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_ARCH_VF610=y
2 CONFIG_TARGET_PCM052=y 3 CONFIG_TARGET_PCM052=y
3 CONFIG_DEFAULT_DEVICE_TREE="pcm052" 4 CONFIG_DEFAULT_DEVICE_TREE="pcm052"
4 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/phytec/pcm052/imximage.cfg,ENV_IS_IN_NAND" 5 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/phytec/pcm052/imximage.cfg,ENV_IS_IN_NAND"
5 CONFIG_BOOTDELAY=3 6 CONFIG_BOOTDELAY=3
6 CONFIG_BOARD_EARLY_INIT_F=y 7 CONFIG_BOARD_EARLY_INIT_F=y
7 CONFIG_HUSH_PARSER=y 8 CONFIG_HUSH_PARSER=y
8 CONFIG_CMD_BOOTZ=y 9 CONFIG_CMD_BOOTZ=y
9 # CONFIG_CMD_IMLS is not set 10 # CONFIG_CMD_IMLS is not set
10 CONFIG_CMD_MEMTEST=y 11 CONFIG_CMD_MEMTEST=y
11 CONFIG_CMD_MMC=y 12 CONFIG_CMD_MMC=y
12 CONFIG_CMD_I2C=y 13 CONFIG_CMD_I2C=y
13 CONFIG_CMD_GPIO=y 14 CONFIG_CMD_GPIO=y
14 CONFIG_CMD_DHCP=y 15 CONFIG_CMD_DHCP=y
15 CONFIG_CMD_MII=y 16 CONFIG_CMD_MII=y
16 CONFIG_CMD_PING=y 17 CONFIG_CMD_PING=y
17 CONFIG_CMD_FAT=y 18 CONFIG_CMD_FAT=y
18 CONFIG_CMD_UBI=y 19 CONFIG_CMD_UBI=y
19 CONFIG_OF_CONTROL=y 20 CONFIG_OF_CONTROL=y
20 CONFIG_DM=y 21 CONFIG_DM=y
21 CONFIG_DM_GPIO=y 22 CONFIG_DM_GPIO=y
22 CONFIG_VYBRID_GPIO=y 23 CONFIG_VYBRID_GPIO=y
23 CONFIG_NAND_VF610_NFC=y 24 CONFIG_NAND_VF610_NFC=y
24 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y 25 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
25 CONFIG_DM_SERIAL=y 26 CONFIG_DM_SERIAL=y
26 CONFIG_FSL_LPUART=y 27 CONFIG_FSL_LPUART=y
27 28
configs/vf610twr_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_ARCH_VF610=y
2 CONFIG_TARGET_VF610TWR=y 3 CONFIG_TARGET_VF610TWR=y
3 CONFIG_DEFAULT_DEVICE_TREE="vf610-twr" 4 CONFIG_DEFAULT_DEVICE_TREE="vf610-twr"
4 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/vf610twr/imximage.cfg,ENV_IS_IN_MMC" 5 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/vf610twr/imximage.cfg,ENV_IS_IN_MMC"
5 CONFIG_BOOTDELAY=3 6 CONFIG_BOOTDELAY=3
6 CONFIG_BOARD_EARLY_INIT_F=y 7 CONFIG_BOARD_EARLY_INIT_F=y
7 CONFIG_HUSH_PARSER=y 8 CONFIG_HUSH_PARSER=y
8 CONFIG_CMD_BOOTZ=y 9 CONFIG_CMD_BOOTZ=y
9 # CONFIG_CMD_IMLS is not set 10 # CONFIG_CMD_IMLS is not set
10 CONFIG_CMD_MEMTEST=y 11 CONFIG_CMD_MEMTEST=y
11 CONFIG_CMD_MMC=y 12 CONFIG_CMD_MMC=y
12 CONFIG_CMD_I2C=y 13 CONFIG_CMD_I2C=y
13 CONFIG_CMD_GPIO=y 14 CONFIG_CMD_GPIO=y
14 # CONFIG_CMD_SETEXPR is not set 15 # CONFIG_CMD_SETEXPR is not set
15 CONFIG_CMD_DHCP=y 16 CONFIG_CMD_DHCP=y
16 CONFIG_CMD_MII=y 17 CONFIG_CMD_MII=y
17 CONFIG_CMD_PING=y 18 CONFIG_CMD_PING=y
18 CONFIG_CMD_FAT=y 19 CONFIG_CMD_FAT=y
19 CONFIG_CMD_UBI=y 20 CONFIG_CMD_UBI=y
20 CONFIG_OF_CONTROL=y 21 CONFIG_OF_CONTROL=y
21 CONFIG_DM=y 22 CONFIG_DM=y
22 CONFIG_DM_GPIO=y 23 CONFIG_DM_GPIO=y
23 CONFIG_VYBRID_GPIO=y 24 CONFIG_VYBRID_GPIO=y
24 CONFIG_NAND_VF610_NFC=y 25 CONFIG_NAND_VF610_NFC=y
25 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y 26 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
26 CONFIG_SPI_FLASH=y 27 CONFIG_SPI_FLASH=y
27 CONFIG_DM_SERIAL=y 28 CONFIG_DM_SERIAL=y
28 CONFIG_FSL_LPUART=y 29 CONFIG_FSL_LPUART=y
29 30
configs/vf610twr_nand_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_ARCH_VF610=y
2 CONFIG_TARGET_VF610TWR=y 3 CONFIG_TARGET_VF610TWR=y
3 CONFIG_DEFAULT_DEVICE_TREE="vf610-twr" 4 CONFIG_DEFAULT_DEVICE_TREE="vf610-twr"
4 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/vf610twr/imximage.cfg,ENV_IS_IN_NAND" 5 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/vf610twr/imximage.cfg,ENV_IS_IN_NAND"
5 CONFIG_BOOTDELAY=3 6 CONFIG_BOOTDELAY=3
6 CONFIG_BOARD_EARLY_INIT_F=y 7 CONFIG_BOARD_EARLY_INIT_F=y
7 CONFIG_HUSH_PARSER=y 8 CONFIG_HUSH_PARSER=y
8 CONFIG_CMD_BOOTZ=y 9 CONFIG_CMD_BOOTZ=y
9 # CONFIG_CMD_IMLS is not set 10 # CONFIG_CMD_IMLS is not set
10 CONFIG_CMD_MEMTEST=y 11 CONFIG_CMD_MEMTEST=y
11 CONFIG_CMD_MMC=y 12 CONFIG_CMD_MMC=y
12 CONFIG_CMD_I2C=y 13 CONFIG_CMD_I2C=y
13 CONFIG_CMD_GPIO=y 14 CONFIG_CMD_GPIO=y
14 # CONFIG_CMD_SETEXPR is not set 15 # CONFIG_CMD_SETEXPR is not set
15 CONFIG_CMD_DHCP=y 16 CONFIG_CMD_DHCP=y
16 CONFIG_CMD_MII=y 17 CONFIG_CMD_MII=y
17 CONFIG_CMD_PING=y 18 CONFIG_CMD_PING=y
18 CONFIG_CMD_FAT=y 19 CONFIG_CMD_FAT=y
19 CONFIG_CMD_UBI=y 20 CONFIG_CMD_UBI=y
20 CONFIG_OF_CONTROL=y 21 CONFIG_OF_CONTROL=y
21 CONFIG_DM=y 22 CONFIG_DM=y
22 CONFIG_DM_GPIO=y 23 CONFIG_DM_GPIO=y
23 CONFIG_VYBRID_GPIO=y 24 CONFIG_VYBRID_GPIO=y
24 CONFIG_NAND_VF610_NFC=y 25 CONFIG_NAND_VF610_NFC=y
25 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y 26 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
26 CONFIG_SPI_FLASH=y 27 CONFIG_SPI_FLASH=y
27 CONFIG_DM_SERIAL=y 28 CONFIG_DM_SERIAL=y
28 CONFIG_FSL_LPUART=y 29 CONFIG_FSL_LPUART=y
29 30
include/configs/colibri_vf.h
1 /* 1 /*
2 * Copyright 2015-2016 Toradex, Inc. 2 * Copyright 2015-2016 Toradex, Inc.
3 * 3 *
4 * Configuration settings for the Toradex VF50/VF61 modules. 4 * Configuration settings for the Toradex VF50/VF61 modules.
5 * 5 *
6 * Based on vf610twr.h: 6 * Based on vf610twr.h:
7 * Copyright 2013 Freescale Semiconductor, Inc. 7 * Copyright 2013 Freescale Semiconductor, Inc.
8 * 8 *
9 * SPDX-License-Identifier: GPL-2.0+ 9 * SPDX-License-Identifier: GPL-2.0+
10 */ 10 */
11 11
12 #ifndef __CONFIG_H 12 #ifndef __CONFIG_H
13 #define __CONFIG_H 13 #define __CONFIG_H
14 14
15 #include <asm/arch/imx-regs.h> 15 #include <asm/arch/imx-regs.h>
16 16
17 #define CONFIG_VF610
18 #define CONFIG_SYS_THUMB_BUILD 17 #define CONFIG_SYS_THUMB_BUILD
19 #define CONFIG_SYS_FSL_CLK 18 #define CONFIG_SYS_FSL_CLK
20 19
21 #define CONFIG_DISPLAY_BOARDINFO_LATE /* Calls show_board_info() */ 20 #define CONFIG_DISPLAY_BOARDINFO_LATE /* Calls show_board_info() */
22 21
23 #define CONFIG_SKIP_LOWLEVEL_INIT 22 #define CONFIG_SKIP_LOWLEVEL_INIT
24 23
25 #define CONFIG_CMD_FUSE 24 #define CONFIG_CMD_FUSE
26 #ifdef CONFIG_CMD_FUSE 25 #ifdef CONFIG_CMD_FUSE
27 #define CONFIG_MXC_OCOTP 26 #define CONFIG_MXC_OCOTP
28 #endif 27 #endif
29 28
30 /* Size of malloc() pool */ 29 /* Size of malloc() pool */
31 #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024) 30 #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024)
32 31
33 /* Allow to overwrite serial and ethaddr */ 32 /* Allow to overwrite serial and ethaddr */
34 #define CONFIG_ENV_OVERWRITE 33 #define CONFIG_ENV_OVERWRITE
35 #define CONFIG_ENV_VARS_UBOOT_CONFIG 34 #define CONFIG_ENV_VARS_UBOOT_CONFIG
36 #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG 35 #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
37 #define CONFIG_BAUDRATE 115200 36 #define CONFIG_BAUDRATE 115200
38 37
39 /* NAND support */ 38 /* NAND support */
40 #define CONFIG_CMD_NAND 39 #define CONFIG_CMD_NAND
41 #define CONFIG_SYS_NAND_ONFI_DETECTION 40 #define CONFIG_SYS_NAND_ONFI_DETECTION
42 #define CONFIG_SYS_MAX_NAND_DEVICE 1 41 #define CONFIG_SYS_MAX_NAND_DEVICE 1
43 #define CONFIG_SYS_NAND_BASE NFC_BASE_ADDR 42 #define CONFIG_SYS_NAND_BASE NFC_BASE_ADDR
44 43
45 /* Dynamic MTD partition support */ 44 /* Dynamic MTD partition support */
46 #define CONFIG_CMD_MTDPARTS /* Enable 'mtdparts' command line support */ 45 #define CONFIG_CMD_MTDPARTS /* Enable 'mtdparts' command line support */
47 #define CONFIG_MTD_PARTITIONS 46 #define CONFIG_MTD_PARTITIONS
48 #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ 47 #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
49 #define MTDIDS_DEFAULT "nand0=vf610_nfc" 48 #define MTDIDS_DEFAULT "nand0=vf610_nfc"
50 #define MTDPARTS_DEFAULT "mtdparts=vf610_nfc:" \ 49 #define MTDPARTS_DEFAULT "mtdparts=vf610_nfc:" \
51 "128k(vf-bcb)ro," \ 50 "128k(vf-bcb)ro," \
52 "1408k(u-boot)ro," \ 51 "1408k(u-boot)ro," \
53 "512k(u-boot-env)," \ 52 "512k(u-boot-env)," \
54 "-(ubi)" 53 "-(ubi)"
55 54
56 #define CONFIG_FSL_ESDHC 55 #define CONFIG_FSL_ESDHC
57 #define CONFIG_SYS_FSL_ESDHC_ADDR 0 56 #define CONFIG_SYS_FSL_ESDHC_ADDR 0
58 #define CONFIG_SYS_FSL_ESDHC_NUM 1 57 #define CONFIG_SYS_FSL_ESDHC_NUM 1
59 58
60 #define CONFIG_RBTREE 59 #define CONFIG_RBTREE
61 #define CONFIG_LZO 60 #define CONFIG_LZO
62 #define CONFIG_CMD_UBIFS /* increases size by almost 60 KB */ 61 #define CONFIG_CMD_UBIFS /* increases size by almost 60 KB */
63 62
64 #define CONFIG_FEC_MXC 63 #define CONFIG_FEC_MXC
65 #define CONFIG_MII 64 #define CONFIG_MII
66 #define IMX_FEC_BASE ENET1_BASE_ADDR 65 #define IMX_FEC_BASE ENET1_BASE_ADDR
67 #define CONFIG_FEC_XCV_TYPE RMII 66 #define CONFIG_FEC_XCV_TYPE RMII
68 #define CONFIG_FEC_MXC_PHYADDR 0 67 #define CONFIG_FEC_MXC_PHYADDR 0
69 #define CONFIG_PHYLIB 68 #define CONFIG_PHYLIB
70 #define CONFIG_PHY_MICREL 69 #define CONFIG_PHY_MICREL
71 70
72 #define CONFIG_IPADDR 192.168.10.2 71 #define CONFIG_IPADDR 192.168.10.2
73 #define CONFIG_NETMASK 255.255.255.0 72 #define CONFIG_NETMASK 255.255.255.0
74 #define CONFIG_SERVERIP 192.168.10.1 73 #define CONFIG_SERVERIP 192.168.10.1
75 74
76 #define CONFIG_LOADADDR 0x80008000 75 #define CONFIG_LOADADDR 0x80008000
77 #define CONFIG_FDTADDR 0x84000000 76 #define CONFIG_FDTADDR 0x84000000
78 77
79 /* We boot from the gfxRAM area of the OCRAM. */ 78 /* We boot from the gfxRAM area of the OCRAM. */
80 #define CONFIG_SYS_TEXT_BASE 0x3f408000 79 #define CONFIG_SYS_TEXT_BASE 0x3f408000
81 #define CONFIG_BOARD_SIZE_LIMIT 524288 80 #define CONFIG_BOARD_SIZE_LIMIT 524288
82 81
83 #define SD_BOOTCMD \ 82 #define SD_BOOTCMD \
84 "sdargs=root=/dev/mmcblk0p2 rw rootwait\0" \ 83 "sdargs=root=/dev/mmcblk0p2 rw rootwait\0" \
85 "sdboot=run setup; setenv bootargs ${defargs} ${sdargs} ${mtdparts} " \ 84 "sdboot=run setup; setenv bootargs ${defargs} ${sdargs} ${mtdparts} " \
86 "${setupargs} ${vidargs}; echo Booting from MMC/SD card...; " \ 85 "${setupargs} ${vidargs}; echo Booting from MMC/SD card...; " \
87 "load mmc 0:2 ${kernel_addr_r} /boot/${kernel_file} && " \ 86 "load mmc 0:2 ${kernel_addr_r} /boot/${kernel_file} && " \
88 "load mmc 0:2 ${fdt_addr_r} /boot/${soc}-colibri-${fdt_board}.dtb && " \ 87 "load mmc 0:2 ${fdt_addr_r} /boot/${soc}-colibri-${fdt_board}.dtb && " \
89 "run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \ 88 "run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \
90 89
91 #define NFS_BOOTCMD \ 90 #define NFS_BOOTCMD \
92 "nfsargs=ip=:::::eth0: root=/dev/nfs\0" \ 91 "nfsargs=ip=:::::eth0: root=/dev/nfs\0" \
93 "nfsboot=run setup; " \ 92 "nfsboot=run setup; " \
94 "setenv bootargs ${defargs} ${nfsargs} ${mtdparts} " \ 93 "setenv bootargs ${defargs} ${nfsargs} ${mtdparts} " \
95 "${setupargs} ${vidargs}; echo Booting from NFS...;" \ 94 "${setupargs} ${vidargs}; echo Booting from NFS...;" \
96 "dhcp ${kernel_addr_r} && " \ 95 "dhcp ${kernel_addr_r} && " \
97 "tftp ${fdt_addr_r} ${soc}-colibri-${fdt_board}.dtb && " \ 96 "tftp ${fdt_addr_r} ${soc}-colibri-${fdt_board}.dtb && " \
98 "run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \ 97 "run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \
99 98
100 #define UBI_BOOTCMD \ 99 #define UBI_BOOTCMD \
101 "ubiargs=ubi.mtd=ubi root=ubi0:rootfs rootfstype=ubifs " \ 100 "ubiargs=ubi.mtd=ubi root=ubi0:rootfs rootfstype=ubifs " \
102 "ubi.fm_autoconvert=1\0" \ 101 "ubi.fm_autoconvert=1\0" \
103 "ubiboot=run setup; " \ 102 "ubiboot=run setup; " \
104 "setenv bootargs ${defargs} ${ubiargs} ${mtdparts} " \ 103 "setenv bootargs ${defargs} ${ubiargs} ${mtdparts} " \
105 "${setupargs} ${vidargs}; echo Booting from NAND...; " \ 104 "${setupargs} ${vidargs}; echo Booting from NAND...; " \
106 "ubi part ubi && " \ 105 "ubi part ubi && " \
107 "ubi read ${kernel_addr_r} kernel && " \ 106 "ubi read ${kernel_addr_r} kernel && " \
108 "ubi read ${fdt_addr_r} dtb && " \ 107 "ubi read ${fdt_addr_r} dtb && " \
109 "run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \ 108 "run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \
110 109
111 #define CONFIG_BOOTCOMMAND "run ubiboot; run sdboot; run nfsboot" 110 #define CONFIG_BOOTCOMMAND "run ubiboot; run sdboot; run nfsboot"
112 111
113 #define DFU_ALT_NAND_INFO "vf-bcb part 0,1;u-boot part 0,2;ubi part 0,4" 112 #define DFU_ALT_NAND_INFO "vf-bcb part 0,1;u-boot part 0,2;ubi part 0,4"
114 113
115 #define CONFIG_EXTRA_ENV_SETTINGS \ 114 #define CONFIG_EXTRA_ENV_SETTINGS \
116 "kernel_addr_r=0x82000000\0" \ 115 "kernel_addr_r=0x82000000\0" \
117 "fdt_addr_r=0x84000000\0" \ 116 "fdt_addr_r=0x84000000\0" \
118 "kernel_file=zImage\0" \ 117 "kernel_file=zImage\0" \
119 "fdt_file=${soc}-colibri-${fdt_board}.dtb\0" \ 118 "fdt_file=${soc}-colibri-${fdt_board}.dtb\0" \
120 "fdt_board=eval-v3\0" \ 119 "fdt_board=eval-v3\0" \
121 "fdt_fixup=;\0" \ 120 "fdt_fixup=;\0" \
122 "defargs=\0" \ 121 "defargs=\0" \
123 "console=ttyLP0\0" \ 122 "console=ttyLP0\0" \
124 "setup=setenv setupargs " \ 123 "setup=setenv setupargs " \
125 "console=tty1 console=${console}" \ 124 "console=tty1 console=${console}" \
126 ",${baudrate}n8 ${memargs}\0" \ 125 ",${baudrate}n8 ${memargs}\0" \
127 "setsdupdate=mmc rescan && set interface mmc && " \ 126 "setsdupdate=mmc rescan && set interface mmc && " \
128 "fatload ${interface} 0:1 ${loadaddr} flash_blk.img && " \ 127 "fatload ${interface} 0:1 ${loadaddr} flash_blk.img && " \
129 "source ${loadaddr}\0" \ 128 "source ${loadaddr}\0" \
130 "setusbupdate=usb start && set interface usb && " \ 129 "setusbupdate=usb start && set interface usb && " \
131 "fatload ${interface} 0:1 ${loadaddr} flash_blk.img && " \ 130 "fatload ${interface} 0:1 ${loadaddr} flash_blk.img && " \
132 "source ${loadaddr}\0" \ 131 "source ${loadaddr}\0" \
133 "setupdate=run setsdupdate || run setusbupdate\0" \ 132 "setupdate=run setsdupdate || run setusbupdate\0" \
134 "mtdparts=" MTDPARTS_DEFAULT "\0" \ 133 "mtdparts=" MTDPARTS_DEFAULT "\0" \
135 "dfu_alt_info=" DFU_ALT_NAND_INFO "\0" \ 134 "dfu_alt_info=" DFU_ALT_NAND_INFO "\0" \
136 SD_BOOTCMD \ 135 SD_BOOTCMD \
137 NFS_BOOTCMD \ 136 NFS_BOOTCMD \
138 UBI_BOOTCMD 137 UBI_BOOTCMD
139 138
140 /* Miscellaneous configurable options */ 139 /* Miscellaneous configurable options */
141 #define CONFIG_SYS_LONGHELP /* undef to save memory */ 140 #define CONFIG_SYS_LONGHELP /* undef to save memory */
142 #undef CONFIG_AUTO_COMPLETE 141 #undef CONFIG_AUTO_COMPLETE
143 #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ 142 #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
144 #define CONFIG_SYS_PBSIZE \ 143 #define CONFIG_SYS_PBSIZE \
145 (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) 144 (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
146 #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ 145 #define CONFIG_SYS_MAXARGS 16 /* max number of command args */
147 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE 146 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
148 147
149 #define CONFIG_SYS_MEMTEST_START 0x80010000 148 #define CONFIG_SYS_MEMTEST_START 0x80010000
150 #define CONFIG_SYS_MEMTEST_END 0x87C00000 149 #define CONFIG_SYS_MEMTEST_END 0x87C00000
151 150
152 #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR 151 #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
153 #define CONFIG_SYS_HZ 1000 152 #define CONFIG_SYS_HZ 1000
154 #define CONFIG_CMDLINE_EDITING 153 #define CONFIG_CMDLINE_EDITING
155 154
156 /* 155 /*
157 * Stack sizes 156 * Stack sizes
158 * The stack sizes are set up in start.S using the settings below 157 * The stack sizes are set up in start.S using the settings below
159 */ 158 */
160 #define CONFIG_STACKSIZE (128 * 1024) /* regular stack */ 159 #define CONFIG_STACKSIZE (128 * 1024) /* regular stack */
161 160
162 /* Physical memory map */ 161 /* Physical memory map */
163 #define CONFIG_NR_DRAM_BANKS 1 162 #define CONFIG_NR_DRAM_BANKS 1
164 #define PHYS_SDRAM (0x80000000) 163 #define PHYS_SDRAM (0x80000000)
165 #define PHYS_SDRAM_SIZE (256 * 1024 * 1024) 164 #define PHYS_SDRAM_SIZE (256 * 1024 * 1024)
166 165
167 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 166 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM
168 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 167 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
169 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 168 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE
170 169
171 #define CONFIG_SYS_INIT_SP_OFFSET \ 170 #define CONFIG_SYS_INIT_SP_OFFSET \
172 (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) 171 (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
173 #define CONFIG_SYS_INIT_SP_ADDR \ 172 #define CONFIG_SYS_INIT_SP_ADDR \
174 (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) 173 (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
175 174
176 /* Environment organization */ 175 /* Environment organization */
177 176
178 #ifdef CONFIG_ENV_IS_IN_MMC 177 #ifdef CONFIG_ENV_IS_IN_MMC
179 #define CONFIG_SYS_MMC_ENV_DEV 0 178 #define CONFIG_SYS_MMC_ENV_DEV 0
180 #define CONFIG_ENV_OFFSET (12 * 64 * 1024) 179 #define CONFIG_ENV_OFFSET (12 * 64 * 1024)
181 #define CONFIG_ENV_SIZE (8 * 1024) 180 #define CONFIG_ENV_SIZE (8 * 1024)
182 #endif 181 #endif
183 182
184 #ifdef CONFIG_ENV_IS_IN_NAND 183 #ifdef CONFIG_ENV_IS_IN_NAND
185 #define CONFIG_ENV_SIZE (64 * 2048) 184 #define CONFIG_ENV_SIZE (64 * 2048)
186 #define CONFIG_ENV_RANGE (4 * 64 * 2048) 185 #define CONFIG_ENV_RANGE (4 * 64 * 2048)
187 #define CONFIG_ENV_OFFSET (12 * 64 * 2048) 186 #define CONFIG_ENV_OFFSET (12 * 64 * 2048)
188 #endif 187 #endif
189 188
190 /* USB Host Support */ 189 /* USB Host Support */
191 #define CONFIG_USB_EHCI 190 #define CONFIG_USB_EHCI
192 #define CONFIG_USB_EHCI_VF 191 #define CONFIG_USB_EHCI_VF
193 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 192 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2
194 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET 193 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
195 194
196 /* USB DFU */ 195 /* USB DFU */
197 #define CONFIG_SYS_DFU_DATA_BUF_SIZE (1024 * 1024) 196 #define CONFIG_SYS_DFU_DATA_BUF_SIZE (1024 * 1024)
198 197
199 /* USB Storage */ 198 /* USB Storage */
200 #define CONFIG_USB_FUNCTION_MASS_STORAGE 199 #define CONFIG_USB_FUNCTION_MASS_STORAGE
201 200
202 #endif /* __CONFIG_H */ 201 #endif /* __CONFIG_H */
203 202
include/configs/pcm052.h
1 /* 1 /*
2 * Copyright 2013 Freescale Semiconductor, Inc. 2 * Copyright 2013 Freescale Semiconductor, Inc.
3 * 3 *
4 * Configuration settings for the phytec PCM-052 SoM. 4 * Configuration settings for the phytec PCM-052 SoM.
5 * 5 *
6 * SPDX-License-Identifier: GPL-2.0+ 6 * SPDX-License-Identifier: GPL-2.0+
7 */ 7 */
8 8
9 #ifndef __CONFIG_H 9 #ifndef __CONFIG_H
10 #define __CONFIG_H 10 #define __CONFIG_H
11 11
12 #include <asm/arch/imx-regs.h> 12 #include <asm/arch/imx-regs.h>
13 13
14 #define CONFIG_VF610
15
16 #define CONFIG_SYS_THUMB_BUILD 14 #define CONFIG_SYS_THUMB_BUILD
17 15
18 #define CONFIG_SKIP_LOWLEVEL_INIT 16 #define CONFIG_SKIP_LOWLEVEL_INIT
19 17
20 /* Enable passing of ATAGs */ 18 /* Enable passing of ATAGs */
21 #define CONFIG_CMDLINE_TAG 19 #define CONFIG_CMDLINE_TAG
22 20
23 /* Size of malloc() pool */ 21 /* Size of malloc() pool */
24 #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024) 22 #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024)
25 23
26 /* Allow to overwrite serial and ethaddr */ 24 /* Allow to overwrite serial and ethaddr */
27 #define CONFIG_ENV_OVERWRITE 25 #define CONFIG_ENV_OVERWRITE
28 #define CONFIG_BAUDRATE 115200 26 #define CONFIG_BAUDRATE 115200
29 27
30 /* NAND support */ 28 /* NAND support */
31 #define CONFIG_CMD_NAND 29 #define CONFIG_CMD_NAND
32 #define CONFIG_CMD_NAND_TRIMFFS 30 #define CONFIG_CMD_NAND_TRIMFFS
33 #define CONFIG_SYS_NAND_ONFI_DETECTION 31 #define CONFIG_SYS_NAND_ONFI_DETECTION
34 32
35 #ifdef CONFIG_CMD_NAND 33 #ifdef CONFIG_CMD_NAND
36 #define CONFIG_SYS_MAX_NAND_DEVICE 1 34 #define CONFIG_SYS_MAX_NAND_DEVICE 1
37 #define CONFIG_SYS_NAND_BASE NFC_BASE_ADDR 35 #define CONFIG_SYS_NAND_BASE NFC_BASE_ADDR
38 36
39 #define CONFIG_JFFS2_NAND 37 #define CONFIG_JFFS2_NAND
40 38
41 /* UBI */ 39 /* UBI */
42 #define CONFIG_CMD_UBIFS 40 #define CONFIG_CMD_UBIFS
43 #define CONFIG_RBTREE 41 #define CONFIG_RBTREE
44 #define CONFIG_LZO 42 #define CONFIG_LZO
45 43
46 /* Dynamic MTD partition support */ 44 /* Dynamic MTD partition support */
47 #define CONFIG_CMD_MTDPARTS 45 #define CONFIG_CMD_MTDPARTS
48 #define CONFIG_MTD_PARTITIONS 46 #define CONFIG_MTD_PARTITIONS
49 #define CONFIG_MTD_DEVICE 47 #define CONFIG_MTD_DEVICE
50 48
51 #ifndef MTDIDS_DEFAULT 49 #ifndef MTDIDS_DEFAULT
52 #define MTDIDS_DEFAULT "nand0=NAND" 50 #define MTDIDS_DEFAULT "nand0=NAND"
53 #endif 51 #endif
54 52
55 #ifndef MTDPARTS_DEFAULT 53 #ifndef MTDPARTS_DEFAULT
56 #define MTDPARTS_DEFAULT "mtdparts=NAND:640k(bootloader)"\ 54 #define MTDPARTS_DEFAULT "mtdparts=NAND:640k(bootloader)"\
57 ",128k(env1)"\ 55 ",128k(env1)"\
58 ",128k(env2)"\ 56 ",128k(env2)"\
59 ",128k(dtb)"\ 57 ",128k(dtb)"\
60 ",6144k(kernel)"\ 58 ",6144k(kernel)"\
61 ",-(root)" 59 ",-(root)"
62 #endif 60 #endif
63 61
64 #endif 62 #endif
65 63
66 #define CONFIG_FSL_ESDHC 64 #define CONFIG_FSL_ESDHC
67 #define CONFIG_SYS_FSL_ESDHC_ADDR 0 65 #define CONFIG_SYS_FSL_ESDHC_ADDR 0
68 #define CONFIG_SYS_FSL_ESDHC_NUM 1 66 #define CONFIG_SYS_FSL_ESDHC_NUM 1
69 67
70 /*#define CONFIG_ESDHC_DETECT_USE_EXTERN_IRQ1*/ 68 /*#define CONFIG_ESDHC_DETECT_USE_EXTERN_IRQ1*/
71 69
72 #define CONFIG_FEC_MXC 70 #define CONFIG_FEC_MXC
73 #define CONFIG_MII 71 #define CONFIG_MII
74 #define IMX_FEC_BASE ENET_BASE_ADDR 72 #define IMX_FEC_BASE ENET_BASE_ADDR
75 #define CONFIG_FEC_XCV_TYPE RMII 73 #define CONFIG_FEC_XCV_TYPE RMII
76 #define CONFIG_FEC_MXC_PHYADDR 0 74 #define CONFIG_FEC_MXC_PHYADDR 0
77 #define CONFIG_PHYLIB 75 #define CONFIG_PHYLIB
78 #define CONFIG_PHY_MICREL 76 #define CONFIG_PHY_MICREL
79 77
80 /* QSPI Configs*/ 78 /* QSPI Configs*/
81 79
82 #ifdef CONFIG_FSL_QSPI 80 #ifdef CONFIG_FSL_QSPI
83 #define FSL_QSPI_FLASH_SIZE (1 << 24) 81 #define FSL_QSPI_FLASH_SIZE (1 << 24)
84 #define FSL_QSPI_FLASH_NUM 2 82 #define FSL_QSPI_FLASH_NUM 2
85 #define CONFIG_SYS_FSL_QSPI_LE 83 #define CONFIG_SYS_FSL_QSPI_LE
86 #endif 84 #endif
87 85
88 /* I2C Configs */ 86 /* I2C Configs */
89 #define CONFIG_SYS_I2C 87 #define CONFIG_SYS_I2C
90 #define CONFIG_SYS_I2C_MXC_I2C3 88 #define CONFIG_SYS_I2C_MXC_I2C3
91 #define CONFIG_SYS_I2C_MXC 89 #define CONFIG_SYS_I2C_MXC
92 90
93 /* RTC (actually an RV-4162 but M41T62-compatible) */ 91 /* RTC (actually an RV-4162 but M41T62-compatible) */
94 #define CONFIG_CMD_DATE 92 #define CONFIG_CMD_DATE
95 #define CONFIG_RTC_M41T62 93 #define CONFIG_RTC_M41T62
96 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 94 #define CONFIG_SYS_I2C_RTC_ADDR 0x68
97 #define CONFIG_SYS_RTC_BUS_NUM 2 95 #define CONFIG_SYS_RTC_BUS_NUM 2
98 96
99 /* EEPROM (24FC256) */ 97 /* EEPROM (24FC256) */
100 #define CONFIG_CMD_EEPROM 98 #define CONFIG_CMD_EEPROM
101 #define CONFIG_SYS_I2C_EEPROM_ADDR 0x50 99 #define CONFIG_SYS_I2C_EEPROM_ADDR 0x50
102 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2 100 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2
103 #define CONFIG_SYS_I2C_EEPROM_BUS 2 101 #define CONFIG_SYS_I2C_EEPROM_BUS 2
104 102
105 103
106 #define CONFIG_LOADADDR 0x82000000 104 #define CONFIG_LOADADDR 0x82000000
107 105
108 /* We boot from the gfxRAM area of the OCRAM. */ 106 /* We boot from the gfxRAM area of the OCRAM. */
109 #define CONFIG_SYS_TEXT_BASE 0x3f408000 107 #define CONFIG_SYS_TEXT_BASE 0x3f408000
110 #define CONFIG_BOARD_SIZE_LIMIT 524288 108 #define CONFIG_BOARD_SIZE_LIMIT 524288
111 109
112 /* if no target-specific extra environment settings were defined by the 110 /* if no target-specific extra environment settings were defined by the
113 target, define an empty one */ 111 target, define an empty one */
114 #ifndef PCM052_EXTRA_ENV_SETTINGS 112 #ifndef PCM052_EXTRA_ENV_SETTINGS
115 #define PCM052_EXTRA_ENV_SETTINGS 113 #define PCM052_EXTRA_ENV_SETTINGS
116 #endif 114 #endif
117 115
118 /* if no target-specific boot command was defined by the target, 116 /* if no target-specific boot command was defined by the target,
119 define an empty one */ 117 define an empty one */
120 #ifndef PCM052_BOOTCOMMAND 118 #ifndef PCM052_BOOTCOMMAND
121 #define PCM052_BOOTCOMMAND 119 #define PCM052_BOOTCOMMAND
122 #endif 120 #endif
123 121
124 /* if no target-specific extra environment settings were defined by the 122 /* if no target-specific extra environment settings were defined by the
125 target, define an empty one */ 123 target, define an empty one */
126 #ifndef PCM052_NET_INIT 124 #ifndef PCM052_NET_INIT
127 #define PCM052_NET_INIT 125 #define PCM052_NET_INIT
128 #endif 126 #endif
129 127
130 /* boot command, including the target-defined one if any */ 128 /* boot command, including the target-defined one if any */
131 #define CONFIG_BOOTCOMMAND PCM052_BOOTCOMMAND "run bootcmd_nand" 129 #define CONFIG_BOOTCOMMAND PCM052_BOOTCOMMAND "run bootcmd_nand"
132 130
133 /* Extra env settings (including the target-defined ones if any) */ 131 /* Extra env settings (including the target-defined ones if any) */
134 #define CONFIG_EXTRA_ENV_SETTINGS \ 132 #define CONFIG_EXTRA_ENV_SETTINGS \
135 PCM052_EXTRA_ENV_SETTINGS \ 133 PCM052_EXTRA_ENV_SETTINGS \
136 "autoload=no\0" \ 134 "autoload=no\0" \
137 "fdt_high=0xffffffff\0" \ 135 "fdt_high=0xffffffff\0" \
138 "initrd_high=0xffffffff\0" \ 136 "initrd_high=0xffffffff\0" \
139 "blimg_file=u-boot.vyb\0" \ 137 "blimg_file=u-boot.vyb\0" \
140 "blimg_addr=0x81000000\0" \ 138 "blimg_addr=0x81000000\0" \
141 "kernel_file=zImage\0" \ 139 "kernel_file=zImage\0" \
142 "kernel_addr=0x82000000\0" \ 140 "kernel_addr=0x82000000\0" \
143 "fdt_file=zImage.dtb\0" \ 141 "fdt_file=zImage.dtb\0" \
144 "fdt_addr=0x81000000\0" \ 142 "fdt_addr=0x81000000\0" \
145 "ram_file=uRamdisk\0" \ 143 "ram_file=uRamdisk\0" \
146 "ram_addr=0x83000000\0" \ 144 "ram_addr=0x83000000\0" \
147 "filesys=rootfs.ubifs\0" \ 145 "filesys=rootfs.ubifs\0" \
148 "sys_addr=0x81000000\0" \ 146 "sys_addr=0x81000000\0" \
149 "tftploc=/path/to/tftp/directory/\0" \ 147 "tftploc=/path/to/tftp/directory/\0" \
150 "nfs_root=/path/to/nfs/root\0" \ 148 "nfs_root=/path/to/nfs/root\0" \
151 "tftptimeout=1000\0" \ 149 "tftptimeout=1000\0" \
152 "tftptimeoutcountmax=1000000\0" \ 150 "tftptimeoutcountmax=1000000\0" \
153 "mtdparts=" MTDPARTS_DEFAULT "\0" \ 151 "mtdparts=" MTDPARTS_DEFAULT "\0" \
154 "bootargs_base=setenv bootargs rw " \ 152 "bootargs_base=setenv bootargs rw " \
155 " mem=" __stringify(CONFIG_PCM052_DDR_SIZE) "M " \ 153 " mem=" __stringify(CONFIG_PCM052_DDR_SIZE) "M " \
156 "console=ttyLP1,115200n8\0" \ 154 "console=ttyLP1,115200n8\0" \
157 "bootargs_sd=setenv bootargs ${bootargs} " \ 155 "bootargs_sd=setenv bootargs ${bootargs} " \
158 "root=/dev/mmcblk0p2 rootwait\0" \ 156 "root=/dev/mmcblk0p2 rootwait\0" \
159 "bootargs_net=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp " \ 157 "bootargs_net=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp " \
160 "nfsroot=${serverip}:${nfs_root},v3,tcp\0" \ 158 "nfsroot=${serverip}:${nfs_root},v3,tcp\0" \
161 "bootargs_nand=setenv bootargs ${bootargs} " \ 159 "bootargs_nand=setenv bootargs ${bootargs} " \
162 "ubi.mtd=5 rootfstype=ubifs root=ubi0:rootfs\0" \ 160 "ubi.mtd=5 rootfstype=ubifs root=ubi0:rootfs\0" \
163 "bootargs_ram=setenv bootargs ${bootargs} " \ 161 "bootargs_ram=setenv bootargs ${bootargs} " \
164 "root=/dev/ram rw initrd=${ram_addr}\0" \ 162 "root=/dev/ram rw initrd=${ram_addr}\0" \
165 "bootargs_mtd=setenv bootargs ${bootargs} ${mtdparts}\0" \ 163 "bootargs_mtd=setenv bootargs ${bootargs} ${mtdparts}\0" \
166 "bootcmd_sd=run bootargs_base bootargs_sd bootargs_mtd; " \ 164 "bootcmd_sd=run bootargs_base bootargs_sd bootargs_mtd; " \
167 "fatload mmc 0:1 ${kernel_addr} ${kernel_file}; " \ 165 "fatload mmc 0:1 ${kernel_addr} ${kernel_file}; " \
168 "fatload mmc 0:1 ${fdt_addr} ${fdt_file}; " \ 166 "fatload mmc 0:1 ${fdt_addr} ${fdt_file}; " \
169 "bootz ${kernel_addr} - ${fdt_addr}\0" \ 167 "bootz ${kernel_addr} - ${fdt_addr}\0" \
170 "bootcmd_net=run bootargs_base bootargs_net bootargs_mtd; " \ 168 "bootcmd_net=run bootargs_base bootargs_net bootargs_mtd; " \
171 "tftpboot ${kernel_addr} ${tftpdir}${kernel_file}; " \ 169 "tftpboot ${kernel_addr} ${tftpdir}${kernel_file}; " \
172 "tftpboot ${fdt_addr} ${tftpdir}${fdt_file}; " \ 170 "tftpboot ${fdt_addr} ${tftpdir}${fdt_file}; " \
173 "bootz ${kernel_addr} - ${fdt_addr}\0" \ 171 "bootz ${kernel_addr} - ${fdt_addr}\0" \
174 "bootcmd_nand=run bootargs_base bootargs_nand bootargs_mtd; " \ 172 "bootcmd_nand=run bootargs_base bootargs_nand bootargs_mtd; " \
175 "nand read ${fdt_addr} dtb; " \ 173 "nand read ${fdt_addr} dtb; " \
176 "nand read ${kernel_addr} kernel; " \ 174 "nand read ${kernel_addr} kernel; " \
177 "bootz ${kernel_addr} - ${fdt_addr}\0" \ 175 "bootz ${kernel_addr} - ${fdt_addr}\0" \
178 "bootcmd_ram=run bootargs_base bootargs_ram bootargs_mtd; " \ 176 "bootcmd_ram=run bootargs_base bootargs_ram bootargs_mtd; " \
179 "nand read ${fdt_addr} dtb; " \ 177 "nand read ${fdt_addr} dtb; " \
180 "nand read ${kernel_addr} kernel; " \ 178 "nand read ${kernel_addr} kernel; " \
181 "nand read ${ram_addr} root; " \ 179 "nand read ${ram_addr} root; " \
182 "bootz ${kernel_addr} ${ram_addr} ${fdt_addr}\0" \ 180 "bootz ${kernel_addr} ${ram_addr} ${fdt_addr}\0" \
183 "update_bootloader_from_tftp=" PCM052_NET_INIT \ 181 "update_bootloader_from_tftp=" PCM052_NET_INIT \
184 "if tftp ${blimg_addr} "\ 182 "if tftp ${blimg_addr} "\
185 "${tftpdir}${blimg_file}; then " \ 183 "${tftpdir}${blimg_file}; then " \
186 "mtdparts default; " \ 184 "mtdparts default; " \
187 "nand erase.part bootloader; " \ 185 "nand erase.part bootloader; " \
188 "nand write ${blimg_addr} bootloader ${filesize}; fi\0" \ 186 "nand write ${blimg_addr} bootloader ${filesize}; fi\0" \
189 "update_kernel_from_sd=if fatload mmc 0:2 ${kernel_addr} " \ 187 "update_kernel_from_sd=if fatload mmc 0:2 ${kernel_addr} " \
190 "${kernel_file}; " \ 188 "${kernel_file}; " \
191 "then mtdparts default; " \ 189 "then mtdparts default; " \
192 "nand erase.part kernel; " \ 190 "nand erase.part kernel; " \
193 "nand write ${kernel_addr} kernel ${filesize}; " \ 191 "nand write ${kernel_addr} kernel ${filesize}; " \
194 "if fatload mmc 0:2 ${fdt_addr} ${fdt_file}; then " \ 192 "if fatload mmc 0:2 ${fdt_addr} ${fdt_file}; then " \
195 "nand erase.part dtb; " \ 193 "nand erase.part dtb; " \
196 "nand write ${fdt_addr} dtb ${filesize}; fi\0" \ 194 "nand write ${fdt_addr} dtb ${filesize}; fi\0" \
197 "update_kernel_from_tftp=" PCM052_NET_INIT \ 195 "update_kernel_from_tftp=" PCM052_NET_INIT \
198 "if tftp ${fdt_addr} ${tftpdir}${fdt_file}; " \ 196 "if tftp ${fdt_addr} ${tftpdir}${fdt_file}; " \
199 "then setenv fdtsize ${filesize}; " \ 197 "then setenv fdtsize ${filesize}; " \
200 "if tftp ${kernel_addr} ${tftpdir}${kernel_file}; then " \ 198 "if tftp ${kernel_addr} ${tftpdir}${kernel_file}; then " \
201 "mtdparts default; " \ 199 "mtdparts default; " \
202 "nand erase.part dtb; " \ 200 "nand erase.part dtb; " \
203 "nand write ${fdt_addr} dtb ${fdtsize}; " \ 201 "nand write ${fdt_addr} dtb ${fdtsize}; " \
204 "nand erase.part kernel; " \ 202 "nand erase.part kernel; " \
205 "nand write ${kernel_addr} kernel ${filesize}; fi; fi\0" \ 203 "nand write ${kernel_addr} kernel ${filesize}; fi; fi\0" \
206 "update_rootfs_from_tftp=" PCM052_NET_INIT \ 204 "update_rootfs_from_tftp=" PCM052_NET_INIT \
207 "if tftp ${sys_addr} ${tftpdir}${filesys}; " \ 205 "if tftp ${sys_addr} ${tftpdir}${filesys}; " \
208 "then mtdparts default; " \ 206 "then mtdparts default; " \
209 "nand erase.part root; " \ 207 "nand erase.part root; " \
210 "ubi part root; " \ 208 "ubi part root; " \
211 "ubi create rootfs; " \ 209 "ubi create rootfs; " \
212 "ubi write ${sys_addr} rootfs ${filesize}; fi\0" \ 210 "ubi write ${sys_addr} rootfs ${filesize}; fi\0" \
213 "update_ramdisk_from_tftp=" PCM052_NET_INIT \ 211 "update_ramdisk_from_tftp=" PCM052_NET_INIT \
214 "if tftp ${ram_addr} ${tftpdir}${ram_file}; " \ 212 "if tftp ${ram_addr} ${tftpdir}${ram_file}; " \
215 "then mtdparts default; " \ 213 "then mtdparts default; " \
216 "nand erase.part root; " \ 214 "nand erase.part root; " \
217 "nand write ${ram_addr} root ${filesize}; fi\0" 215 "nand write ${ram_addr} root ${filesize}; fi\0"
218 216
219 /* Miscellaneous configurable options */ 217 /* Miscellaneous configurable options */
220 #define CONFIG_SYS_LONGHELP /* undef to save memory */ 218 #define CONFIG_SYS_LONGHELP /* undef to save memory */
221 #define CONFIG_AUTO_COMPLETE 219 #define CONFIG_AUTO_COMPLETE
222 #define CONFIG_CMDLINE_EDITING 220 #define CONFIG_CMDLINE_EDITING
223 #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ 221 #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */
224 #define CONFIG_SYS_PBSIZE \ 222 #define CONFIG_SYS_PBSIZE \
225 (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) 223 (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
226 #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ 224 #define CONFIG_SYS_MAXARGS 16 /* max number of command args */
227 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE 225 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
228 226
229 #define CONFIG_SYS_MEMTEST_START 0x80010000 227 #define CONFIG_SYS_MEMTEST_START 0x80010000
230 #define CONFIG_SYS_MEMTEST_END 0x87C00000 228 #define CONFIG_SYS_MEMTEST_END 0x87C00000
231 229
232 #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR 230 #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
233 231
234 /* 232 /*
235 * Stack sizes 233 * Stack sizes
236 * The stack sizes are set up in start.S using the settings below 234 * The stack sizes are set up in start.S using the settings below
237 */ 235 */
238 #define CONFIG_STACKSIZE (128 * 1024) /* regular stack */ 236 #define CONFIG_STACKSIZE (128 * 1024) /* regular stack */
239 237
240 /* Physical memory map */ 238 /* Physical memory map */
241 #define CONFIG_NR_DRAM_BANKS 1 239 #define CONFIG_NR_DRAM_BANKS 1
242 #define PHYS_SDRAM (0x80000000) 240 #define PHYS_SDRAM (0x80000000)
243 #define PHYS_SDRAM_SIZE (CONFIG_PCM052_DDR_SIZE * 1024 * 1024) 241 #define PHYS_SDRAM_SIZE (CONFIG_PCM052_DDR_SIZE * 1024 * 1024)
244 242
245 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 243 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM
246 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 244 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
247 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 245 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE
248 246
249 #define CONFIG_SYS_INIT_SP_OFFSET \ 247 #define CONFIG_SYS_INIT_SP_OFFSET \
250 (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) 248 (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
251 #define CONFIG_SYS_INIT_SP_ADDR \ 249 #define CONFIG_SYS_INIT_SP_ADDR \
252 (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) 250 (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
253 251
254 /* environment organization */ 252 /* environment organization */
255 #ifdef CONFIG_ENV_IS_IN_MMC 253 #ifdef CONFIG_ENV_IS_IN_MMC
256 #define CONFIG_ENV_SIZE (8 * 1024) 254 #define CONFIG_ENV_SIZE (8 * 1024)
257 255
258 #define CONFIG_ENV_OFFSET (12 * 64 * 1024) 256 #define CONFIG_ENV_OFFSET (12 * 64 * 1024)
259 #define CONFIG_SYS_MMC_ENV_DEV 0 257 #define CONFIG_SYS_MMC_ENV_DEV 0
260 #endif 258 #endif
261 259
262 #ifdef CONFIG_ENV_IS_IN_NAND 260 #ifdef CONFIG_ENV_IS_IN_NAND
263 #define CONFIG_ENV_SECT_SIZE (128 * 1024) 261 #define CONFIG_ENV_SECT_SIZE (128 * 1024)
264 #define CONFIG_ENV_SIZE (8 * 1024) 262 #define CONFIG_ENV_SIZE (8 * 1024)
265 #define CONFIG_ENV_OFFSET 0xA0000 263 #define CONFIG_ENV_OFFSET 0xA0000
266 #define CONFIG_ENV_SIZE_REDUND (8 * 1024) 264 #define CONFIG_ENV_SIZE_REDUND (8 * 1024)
267 #define CONFIG_ENV_OFFSET_REDUND 0xC0000 265 #define CONFIG_ENV_OFFSET_REDUND 0xC0000
268 #endif 266 #endif
269 267
270 #endif 268 #endif
271 269
include/configs/vf610twr.h
1 /* 1 /*
2 * Copyright 2013 Freescale Semiconductor, Inc. 2 * Copyright 2013 Freescale Semiconductor, Inc.
3 * 3 *
4 * Configuration settings for the Freescale Vybrid vf610twr board. 4 * Configuration settings for the Freescale Vybrid vf610twr board.
5 * 5 *
6 * SPDX-License-Identifier: GPL-2.0+ 6 * SPDX-License-Identifier: GPL-2.0+
7 */ 7 */
8 8
9 #ifndef __CONFIG_H 9 #ifndef __CONFIG_H
10 #define __CONFIG_H 10 #define __CONFIG_H
11 11
12 #include <asm/arch/imx-regs.h> 12 #include <asm/arch/imx-regs.h>
13 13
14 #define CONFIG_VF610
15
16 #define CONFIG_SYS_FSL_CLK 14 #define CONFIG_SYS_FSL_CLK
17 15
18 #define CONFIG_MACH_TYPE 4146 16 #define CONFIG_MACH_TYPE 4146
19 17
20 #define CONFIG_SKIP_LOWLEVEL_INIT 18 #define CONFIG_SKIP_LOWLEVEL_INIT
21 19
22 /* Enable passing of ATAGs */ 20 /* Enable passing of ATAGs */
23 #define CONFIG_CMDLINE_TAG 21 #define CONFIG_CMDLINE_TAG
24 22
25 #define CONFIG_CMD_FUSE 23 #define CONFIG_CMD_FUSE
26 #ifdef CONFIG_CMD_FUSE 24 #ifdef CONFIG_CMD_FUSE
27 #define CONFIG_MXC_OCOTP 25 #define CONFIG_MXC_OCOTP
28 #endif 26 #endif
29 27
30 /* Size of malloc() pool */ 28 /* Size of malloc() pool */
31 #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024) 29 #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024)
32 30
33 /* Allow to overwrite serial and ethaddr */ 31 /* Allow to overwrite serial and ethaddr */
34 #define CONFIG_ENV_OVERWRITE 32 #define CONFIG_ENV_OVERWRITE
35 #define CONFIG_BAUDRATE 115200 33 #define CONFIG_BAUDRATE 115200
36 34
37 /* NAND support */ 35 /* NAND support */
38 #define CONFIG_CMD_NAND 36 #define CONFIG_CMD_NAND
39 #define CONFIG_CMD_NAND_TRIMFFS 37 #define CONFIG_CMD_NAND_TRIMFFS
40 #define CONFIG_SYS_NAND_ONFI_DETECTION 38 #define CONFIG_SYS_NAND_ONFI_DETECTION
41 39
42 #ifdef CONFIG_CMD_NAND 40 #ifdef CONFIG_CMD_NAND
43 #define CONFIG_SYS_MAX_NAND_DEVICE 1 41 #define CONFIG_SYS_MAX_NAND_DEVICE 1
44 #define CONFIG_SYS_NAND_BASE NFC_BASE_ADDR 42 #define CONFIG_SYS_NAND_BASE NFC_BASE_ADDR
45 43
46 /* UBI */ 44 /* UBI */
47 #define CONFIG_CMD_UBIFS 45 #define CONFIG_CMD_UBIFS
48 #define CONFIG_RBTREE 46 #define CONFIG_RBTREE
49 #define CONFIG_LZO 47 #define CONFIG_LZO
50 48
51 /* Dynamic MTD partition support */ 49 /* Dynamic MTD partition support */
52 #define CONFIG_CMD_MTDPARTS 50 #define CONFIG_CMD_MTDPARTS
53 #define CONFIG_MTD_PARTITIONS 51 #define CONFIG_MTD_PARTITIONS
54 #define CONFIG_MTD_DEVICE 52 #define CONFIG_MTD_DEVICE
55 #define MTDIDS_DEFAULT "nand0=fsl_nfc" 53 #define MTDIDS_DEFAULT "nand0=fsl_nfc"
56 #define MTDPARTS_DEFAULT "mtdparts=fsl_nfc:" \ 54 #define MTDPARTS_DEFAULT "mtdparts=fsl_nfc:" \
57 "128k(vf-bcb)ro," \ 55 "128k(vf-bcb)ro," \
58 "1408k(u-boot)ro," \ 56 "1408k(u-boot)ro," \
59 "512k(u-boot-env)," \ 57 "512k(u-boot-env)," \
60 "4m(kernel)," \ 58 "4m(kernel)," \
61 "512k(fdt)," \ 59 "512k(fdt)," \
62 "-(rootfs)" 60 "-(rootfs)"
63 #endif 61 #endif
64 62
65 #define CONFIG_FSL_ESDHC 63 #define CONFIG_FSL_ESDHC
66 #define CONFIG_SYS_FSL_ESDHC_ADDR 0 64 #define CONFIG_SYS_FSL_ESDHC_ADDR 0
67 #define CONFIG_SYS_FSL_ESDHC_NUM 1 65 #define CONFIG_SYS_FSL_ESDHC_NUM 1
68 66
69 #define CONFIG_FEC_MXC 67 #define CONFIG_FEC_MXC
70 #define CONFIG_MII 68 #define CONFIG_MII
71 #define IMX_FEC_BASE ENET_BASE_ADDR 69 #define IMX_FEC_BASE ENET_BASE_ADDR
72 #define CONFIG_FEC_XCV_TYPE RMII 70 #define CONFIG_FEC_XCV_TYPE RMII
73 #define CONFIG_FEC_MXC_PHYADDR 0 71 #define CONFIG_FEC_MXC_PHYADDR 0
74 #define CONFIG_PHYLIB 72 #define CONFIG_PHYLIB
75 #define CONFIG_PHY_MICREL 73 #define CONFIG_PHY_MICREL
76 74
77 /* QSPI Configs*/ 75 /* QSPI Configs*/
78 76
79 #ifdef CONFIG_FSL_QSPI 77 #ifdef CONFIG_FSL_QSPI
80 #define FSL_QSPI_FLASH_SIZE (1 << 24) 78 #define FSL_QSPI_FLASH_SIZE (1 << 24)
81 #define FSL_QSPI_FLASH_NUM 2 79 #define FSL_QSPI_FLASH_NUM 2
82 #define CONFIG_SYS_FSL_QSPI_LE 80 #define CONFIG_SYS_FSL_QSPI_LE
83 #endif 81 #endif
84 82
85 /* I2C Configs */ 83 /* I2C Configs */
86 #define CONFIG_SYS_I2C 84 #define CONFIG_SYS_I2C
87 #define CONFIG_SYS_I2C_MXC 85 #define CONFIG_SYS_I2C_MXC
88 #define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 1 */ 86 #define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 1 */
89 #define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */ 87 #define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */
90 #define CONFIG_SYS_SPD_BUS_NUM 0 88 #define CONFIG_SYS_SPD_BUS_NUM 0
91 89
92 90
93 #define CONFIG_SYS_LOAD_ADDR 0x82000000 91 #define CONFIG_SYS_LOAD_ADDR 0x82000000
94 92
95 /* We boot from the gfxRAM area of the OCRAM. */ 93 /* We boot from the gfxRAM area of the OCRAM. */
96 #define CONFIG_SYS_TEXT_BASE 0x3f408000 94 #define CONFIG_SYS_TEXT_BASE 0x3f408000
97 #define CONFIG_BOARD_SIZE_LIMIT 524288 95 #define CONFIG_BOARD_SIZE_LIMIT 524288
98 96
99 /* 97 /*
100 * We do have 128MB of memory on the Vybrid Tower board. Leave the last 98 * We do have 128MB of memory on the Vybrid Tower board. Leave the last
101 * 16MB alone to avoid conflicts with Cortex-M4 firmwares running from 99 * 16MB alone to avoid conflicts with Cortex-M4 firmwares running from
102 * DDR3. Hence, limit the memory range for image processing to 112MB 100 * DDR3. Hence, limit the memory range for image processing to 112MB
103 * using bootm_size. All of the following must be within this range. 101 * using bootm_size. All of the following must be within this range.
104 * We have the default load at 32MB into DDR (for the kernel), FDT at 102 * We have the default load at 32MB into DDR (for the kernel), FDT at
105 * 64MB and the ramdisk 512KB above that (allowing for hopefully never 103 * 64MB and the ramdisk 512KB above that (allowing for hopefully never
106 * seen large trees). This allows a reasonable split between ramdisk 104 * seen large trees). This allows a reasonable split between ramdisk
107 * and kernel size, where the ram disk can be a bit larger. 105 * and kernel size, where the ram disk can be a bit larger.
108 */ 106 */
109 #define MEM_LAYOUT_ENV_SETTINGS \ 107 #define MEM_LAYOUT_ENV_SETTINGS \
110 "bootm_size=0x07000000\0" \ 108 "bootm_size=0x07000000\0" \
111 "loadaddr=0x82000000\0" \ 109 "loadaddr=0x82000000\0" \
112 "kernel_addr_r=0x82000000\0" \ 110 "kernel_addr_r=0x82000000\0" \
113 "fdt_addr=0x84000000\0" \ 111 "fdt_addr=0x84000000\0" \
114 "fdt_addr_r=0x84000000\0" \ 112 "fdt_addr_r=0x84000000\0" \
115 "rdaddr=0x84080000\0" \ 113 "rdaddr=0x84080000\0" \
116 "ramdisk_addr_r=0x84080000\0" 114 "ramdisk_addr_r=0x84080000\0"
117 115
118 #define CONFIG_EXTRA_ENV_SETTINGS \ 116 #define CONFIG_EXTRA_ENV_SETTINGS \
119 MEM_LAYOUT_ENV_SETTINGS \ 117 MEM_LAYOUT_ENV_SETTINGS \
120 "script=boot.scr\0" \ 118 "script=boot.scr\0" \
121 "image=zImage\0" \ 119 "image=zImage\0" \
122 "console=ttyLP1\0" \ 120 "console=ttyLP1\0" \
123 "fdt_file=vf610-twr.dtb\0" \ 121 "fdt_file=vf610-twr.dtb\0" \
124 "boot_fdt=try\0" \ 122 "boot_fdt=try\0" \
125 "ip_dyn=yes\0" \ 123 "ip_dyn=yes\0" \
126 "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \ 124 "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
127 "mmcpart=1\0" \ 125 "mmcpart=1\0" \
128 "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \ 126 "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
129 "update_sd_firmware_filename=u-boot.imx\0" \ 127 "update_sd_firmware_filename=u-boot.imx\0" \
130 "update_sd_firmware=" \ 128 "update_sd_firmware=" \
131 "if test ${ip_dyn} = yes; then " \ 129 "if test ${ip_dyn} = yes; then " \
132 "setenv get_cmd dhcp; " \ 130 "setenv get_cmd dhcp; " \
133 "else " \ 131 "else " \
134 "setenv get_cmd tftp; " \ 132 "setenv get_cmd tftp; " \
135 "fi; " \ 133 "fi; " \
136 "if mmc dev ${mmcdev}; then " \ 134 "if mmc dev ${mmcdev}; then " \
137 "if ${get_cmd} ${update_sd_firmware_filename}; then " \ 135 "if ${get_cmd} ${update_sd_firmware_filename}; then " \
138 "setexpr fw_sz ${filesize} / 0x200; " \ 136 "setexpr fw_sz ${filesize} / 0x200; " \
139 "setexpr fw_sz ${fw_sz} + 1; " \ 137 "setexpr fw_sz ${fw_sz} + 1; " \
140 "mmc write ${loadaddr} 0x2 ${fw_sz}; " \ 138 "mmc write ${loadaddr} 0x2 ${fw_sz}; " \
141 "fi; " \ 139 "fi; " \
142 "fi\0" \ 140 "fi\0" \
143 "mmcargs=setenv bootargs console=${console},${baudrate} " \ 141 "mmcargs=setenv bootargs console=${console},${baudrate} " \
144 "root=${mmcroot}\0" \ 142 "root=${mmcroot}\0" \
145 "loadbootscript=" \ 143 "loadbootscript=" \
146 "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ 144 "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
147 "bootscript=echo Running bootscript from mmc ...; " \ 145 "bootscript=echo Running bootscript from mmc ...; " \
148 "source\0" \ 146 "source\0" \
149 "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \ 147 "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
150 "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \ 148 "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
151 "mmcboot=echo Booting from mmc ...; " \ 149 "mmcboot=echo Booting from mmc ...; " \
152 "run mmcargs; " \ 150 "run mmcargs; " \
153 "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ 151 "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
154 "if run loadfdt; then " \ 152 "if run loadfdt; then " \
155 "bootz ${loadaddr} - ${fdt_addr}; " \ 153 "bootz ${loadaddr} - ${fdt_addr}; " \
156 "else " \ 154 "else " \
157 "if test ${boot_fdt} = try; then " \ 155 "if test ${boot_fdt} = try; then " \
158 "bootz; " \ 156 "bootz; " \
159 "else " \ 157 "else " \
160 "echo WARN: Cannot load the DT; " \ 158 "echo WARN: Cannot load the DT; " \
161 "fi; " \ 159 "fi; " \
162 "fi; " \ 160 "fi; " \
163 "else " \ 161 "else " \
164 "bootz; " \ 162 "bootz; " \
165 "fi;\0" \ 163 "fi;\0" \
166 "netargs=setenv bootargs console=${console},${baudrate} " \ 164 "netargs=setenv bootargs console=${console},${baudrate} " \
167 "root=/dev/nfs " \ 165 "root=/dev/nfs " \
168 "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \ 166 "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \
169 "netboot=echo Booting from net ...; " \ 167 "netboot=echo Booting from net ...; " \
170 "run netargs; " \ 168 "run netargs; " \
171 "if test ${ip_dyn} = yes; then " \ 169 "if test ${ip_dyn} = yes; then " \
172 "setenv get_cmd dhcp; " \ 170 "setenv get_cmd dhcp; " \
173 "else " \ 171 "else " \
174 "setenv get_cmd tftp; " \ 172 "setenv get_cmd tftp; " \
175 "fi; " \ 173 "fi; " \
176 "${get_cmd} ${image}; " \ 174 "${get_cmd} ${image}; " \
177 "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ 175 "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
178 "if ${get_cmd} ${fdt_addr} ${fdt_file}; then " \ 176 "if ${get_cmd} ${fdt_addr} ${fdt_file}; then " \
179 "bootz ${loadaddr} - ${fdt_addr}; " \ 177 "bootz ${loadaddr} - ${fdt_addr}; " \
180 "else " \ 178 "else " \
181 "if test ${boot_fdt} = try; then " \ 179 "if test ${boot_fdt} = try; then " \
182 "bootz; " \ 180 "bootz; " \
183 "else " \ 181 "else " \
184 "echo WARN: Cannot load the DT; " \ 182 "echo WARN: Cannot load the DT; " \
185 "fi; " \ 183 "fi; " \
186 "fi; " \ 184 "fi; " \
187 "else " \ 185 "else " \
188 "bootz; " \ 186 "bootz; " \
189 "fi;\0" 187 "fi;\0"
190 188
191 #define CONFIG_BOOTCOMMAND \ 189 #define CONFIG_BOOTCOMMAND \
192 "mmc dev ${mmcdev}; if mmc rescan; then " \ 190 "mmc dev ${mmcdev}; if mmc rescan; then " \
193 "if run loadbootscript; then " \ 191 "if run loadbootscript; then " \
194 "run bootscript; " \ 192 "run bootscript; " \
195 "else " \ 193 "else " \
196 "if run loadimage; then " \ 194 "if run loadimage; then " \
197 "run mmcboot; " \ 195 "run mmcboot; " \
198 "else run netboot; " \ 196 "else run netboot; " \
199 "fi; " \ 197 "fi; " \
200 "fi; " \ 198 "fi; " \
201 "else run netboot; fi" 199 "else run netboot; fi"
202 200
203 /* Miscellaneous configurable options */ 201 /* Miscellaneous configurable options */
204 #define CONFIG_SYS_LONGHELP /* undef to save memory */ 202 #define CONFIG_SYS_LONGHELP /* undef to save memory */
205 #undef CONFIG_AUTO_COMPLETE 203 #undef CONFIG_AUTO_COMPLETE
206 #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ 204 #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */
207 #define CONFIG_SYS_PBSIZE \ 205 #define CONFIG_SYS_PBSIZE \
208 (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) 206 (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
209 #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ 207 #define CONFIG_SYS_MAXARGS 16 /* max number of command args */
210 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE 208 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
211 209
212 #define CONFIG_SYS_MEMTEST_START 0x80010000 210 #define CONFIG_SYS_MEMTEST_START 0x80010000
213 #define CONFIG_SYS_MEMTEST_END 0x87C00000 211 #define CONFIG_SYS_MEMTEST_END 0x87C00000
214 212
215 /* 213 /*
216 * Stack sizes 214 * Stack sizes
217 * The stack sizes are set up in start.S using the settings below 215 * The stack sizes are set up in start.S using the settings below
218 */ 216 */
219 #define CONFIG_STACKSIZE (128 * 1024) /* regular stack */ 217 #define CONFIG_STACKSIZE (128 * 1024) /* regular stack */
220 218
221 /* Physical memory map */ 219 /* Physical memory map */
222 #define CONFIG_NR_DRAM_BANKS 1 220 #define CONFIG_NR_DRAM_BANKS 1
223 #define PHYS_SDRAM (0x80000000) 221 #define PHYS_SDRAM (0x80000000)
224 #define PHYS_SDRAM_SIZE (128 * 1024 * 1024) 222 #define PHYS_SDRAM_SIZE (128 * 1024 * 1024)
225 223
226 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 224 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM
227 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 225 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
228 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 226 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE
229 227
230 #define CONFIG_SYS_INIT_SP_OFFSET \ 228 #define CONFIG_SYS_INIT_SP_OFFSET \
231 (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) 229 (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
232 #define CONFIG_SYS_INIT_SP_ADDR \ 230 #define CONFIG_SYS_INIT_SP_ADDR \
233 (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) 231 (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
234 232
235 #ifdef CONFIG_ENV_IS_IN_MMC 233 #ifdef CONFIG_ENV_IS_IN_MMC
236 #define CONFIG_ENV_SIZE (8 * 1024) 234 #define CONFIG_ENV_SIZE (8 * 1024)
237 235
238 #define CONFIG_ENV_OFFSET (12 * 64 * 1024) 236 #define CONFIG_ENV_OFFSET (12 * 64 * 1024)
239 #define CONFIG_SYS_MMC_ENV_DEV 0 237 #define CONFIG_SYS_MMC_ENV_DEV 0
240 #endif 238 #endif
241 239
242 #ifdef CONFIG_ENV_IS_IN_NAND 240 #ifdef CONFIG_ENV_IS_IN_NAND
243 #define CONFIG_ENV_SIZE (64 * 2048) 241 #define CONFIG_ENV_SIZE (64 * 2048)
244 #define CONFIG_ENV_SECT_SIZE (64 * 2048) 242 #define CONFIG_ENV_SECT_SIZE (64 * 2048)
245 #define CONFIG_ENV_RANGE (512 * 1024) 243 #define CONFIG_ENV_RANGE (512 * 1024)
246 #define CONFIG_ENV_OFFSET 0x180000 244 #define CONFIG_ENV_OFFSET 0x180000
247 #endif 245 #endif
248 246
249 #endif 247 #endif
250 248