blob: a7618f9ff226c1f9987314097e2ff9178cbd7899 [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "ARM architecture"
2 depends on ARM
3
4config SYS_ARCH
Masahiro Yamadadd840582014-07-30 14:08:14 +09005 default "arm"
6
Masahiro Yamada016a9542014-09-14 03:01:51 +09007config ARM64
8 bool
Masahiro Yamadabb6b1422016-07-25 19:56:03 +09009 select PHYS_64BIT
Tom Rini067716b2016-08-22 08:22:17 -040010 select SYS_CACHE_SHIFT_6
Masahiro Yamada016a9542014-09-14 03:01:51 +090011
Stephen Warren49e93872017-11-02 18:11:27 -060012if ARM64
13config POSITION_INDEPENDENT
14 bool "Generate position-independent pre-relocation code"
15 help
16 U-Boot expects to be linked to a specific hard-coded address, and to
17 be loaded to and run from that address. This option lifts that
18 restriction, thus allowing the code to be loaded to and executed
19 from almost any address. This logic relies on the relocation
20 information that is embedded into the binary to support U-Boot
21 relocating itself to the top-of-RAM later during execution.
Stephen Warrene6c90442017-12-19 18:30:36 -070022
23config SYS_INIT_SP_BSS_OFFSET
24 int
25 help
26 U-Boot typically uses a hard-coded value for the stack pointer
27 before relocation. Define this option to instead calculate the
28 initial SP at run-time. This is useful to avoid hard-coding addresses
29 into U-Boot, so that can be loaded and executed at arbitrary
30 addresses and thus avoid using arbitrary addresses at runtime. This
31 option's value is the offset added to &_bss_start in order to
32 calculate the stack pointer. This offset should be large enough so
33 that the early malloc region, global data (gd), and early stack usage
34 do not overlap any appended DTB.
Stephen Warren8163faf2018-01-03 14:31:51 -070035
36config LINUX_KERNEL_IMAGE_HEADER
37 bool
38 help
39 Place a Linux kernel image header at the start of the U-Boot binary.
40 The format of the header is described in the Linux kernel source at
41 Documentation/arm64/booting.txt. This feature is useful since the
42 image header reports the amount of memory (BSS and similar) that
43 U-Boot needs to use, but which isn't part of the binary.
44
45if LINUX_KERNEL_IMAGE_HEADER
46config LNX_KRNL_IMG_TEXT_OFFSET_BASE
47 hex
48 help
49 The value subtracted from CONFIG_SYS_TEXT_BASE to calculate the
50 TEXT_OFFSET value written in to the Linux kernel image header.
51endif
Stephen Warren49e93872017-11-02 18:11:27 -060052endif
53
54config STATIC_RELA
55 bool
56 default y if ARM64 && !POSITION_INDEPENDENT
57
Lokesh Vutla37217f02016-03-24 16:02:00 +053058config DMA_ADDR_T_64BIT
59 bool
60 default y if ARM64
61
Georges Savoundararadj2e07c242014-10-28 23:16:09 +010062config HAS_VBAR
Tom Rinie009bfa2016-08-22 08:22:18 -040063 bool
Georges Savoundararadj2e07c242014-10-28 23:16:09 +010064
Albert ARIBAUD62e92072015-10-23 18:06:40 +020065config HAS_THUMB2
Tom Rinie009bfa2016-08-22 08:22:18 -040066 bool
Albert ARIBAUD62e92072015-10-23 18:06:40 +020067
Phil Edworthy111a6af2017-06-01 07:33:28 +010068# Used for compatibility with asm files copied from the kernel
69config ARM_ASM_UNIFIED
70 bool
71 default y
72
73# Used for compatibility with asm files copied from the kernel
74config THUMB2_KERNEL
75 bool
76
Lokesh Vutlaf4bcd762018-04-26 18:21:28 +053077config SYS_ARM_CACHE_CP15
78 bool "CP15 based cache enabling support"
79 help
80 Select this if your processor suports enabling caches by using
81 CP15 registers.
82
Lokesh Vutla7240b802018-04-26 18:21:27 +053083config SYS_ARM_MMU
84 bool "MMU-based Paged Memory Management Support"
Lokesh Vutlaf4bcd762018-04-26 18:21:28 +053085 select SYS_ARM_CACHE_CP15
Lokesh Vutla7240b802018-04-26 18:21:27 +053086 help
87 Select if you want MMU-based virtualised addressing space
88 support by paged memory management.
89
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +053090config SYS_ARM_MPU
91 bool 'Use the ARM v7 PMSA Compliant MPU'
92 help
93 Some ARM systems without an MMU have instead a Memory Protection
94 Unit (MPU) that defines the type and permissions for regions of
95 memory.
96 If your CPU has an MPU then you should choose 'y' here unless you
97 know that you do not want to use the MPU.
98
Tom Rini8dda2e22017-03-07 07:13:42 -050099# If set, the workarounds for these ARM errata are applied early during U-Boot
100# startup. Note that in general these options force the workarounds to be
101# applied; no CPU-type/version detection exists, unlike the similar options in
102# the Linux kernel. Do not set these options unless they apply! Also note that
103# the following can be machine specific errata. These do have ability to
104# provide rudimentary version and machine specific checks, but expect no
105# product checks:
106# CONFIG_ARM_ERRATA_430973
107# CONFIG_ARM_ERRATA_454179
108# CONFIG_ARM_ERRATA_621766
109# CONFIG_ARM_ERRATA_798870
110# CONFIG_ARM_ERRATA_801819
111config ARM_ERRATA_430973
112 bool
113
114config ARM_ERRATA_454179
115 bool
116
117config ARM_ERRATA_621766
118 bool
119
120config ARM_ERRATA_716044
121 bool
122
Siarhei Siamashka19a75b82017-03-06 03:16:53 +0200123config ARM_ERRATA_725233
124 bool
125
Tom Rini8dda2e22017-03-07 07:13:42 -0500126config ARM_ERRATA_742230
127 bool
128
129config ARM_ERRATA_743622
130 bool
131
132config ARM_ERRATA_751472
133 bool
134
135config ARM_ERRATA_761320
136 bool
137
138config ARM_ERRATA_773022
139 bool
140
141config ARM_ERRATA_774769
142 bool
143
144config ARM_ERRATA_794072
145 bool
146
147config ARM_ERRATA_798870
148 bool
149
150config ARM_ERRATA_801819
151 bool
152
153config ARM_ERRATA_826974
154 bool
155
156config ARM_ERRATA_828024
157 bool
158
159config ARM_ERRATA_829520
160 bool
161
162config ARM_ERRATA_833069
163 bool
164
165config ARM_ERRATA_833471
166 bool
167
Peng Fan11d94312017-08-08 13:34:52 +0800168config ARM_ERRATA_845369
169 bool
170
Nisal Menuka87763502017-04-26 16:18:01 -0500171config ARM_ERRATA_852421
172 bool
173
174config ARM_ERRATA_852423
175 bool
176
Alison Wangab0ab542017-12-28 13:00:55 +0800177config ARM_ERRATA_855873
178 bool
179
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100180config CPU_ARM720T
Tom Rinie009bfa2016-08-22 08:22:18 -0400181 bool
Tom Rini067716b2016-08-22 08:22:17 -0400182 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530183 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100184
185config CPU_ARM920T
Tom Rinie009bfa2016-08-22 08:22:18 -0400186 bool
Tom Rini067716b2016-08-22 08:22:17 -0400187 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530188 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100189
190config CPU_ARM926EJS
Tom Rinie009bfa2016-08-22 08:22:18 -0400191 bool
Tom Rini067716b2016-08-22 08:22:17 -0400192 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530193 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100194
195config CPU_ARM946ES
Tom Rinie009bfa2016-08-22 08:22:18 -0400196 bool
Tom Rini067716b2016-08-22 08:22:17 -0400197 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530198 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100199
200config CPU_ARM1136
Tom Rinie009bfa2016-08-22 08:22:18 -0400201 bool
Tom Rini067716b2016-08-22 08:22:17 -0400202 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530203 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100204
205config CPU_ARM1176
Tom Rinie009bfa2016-08-22 08:22:18 -0400206 bool
207 select HAS_VBAR
Tom Rini067716b2016-08-22 08:22:17 -0400208 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530209 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100210
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530211config CPU_V7A
Tom Rinie009bfa2016-08-22 08:22:18 -0400212 bool
213 select HAS_VBAR
214 select HAS_THUMB2
Tom Rini067716b2016-08-22 08:22:17 -0400215 select SYS_CACHE_SHIFT_6
Lokesh Vutla7240b802018-04-26 18:21:27 +0530216 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100217
rev13@wp.pl12d8a722015-03-01 12:44:39 +0100218config CPU_V7M
219 bool
Tom Rinie009bfa2016-08-22 08:22:18 -0400220 select HAS_THUMB2
Phil Edworthy111a6af2017-06-01 07:33:28 +0100221 select THUMB2_KERNEL
Tom Rini067716b2016-08-22 08:22:17 -0400222 select SYS_CACHE_SHIFT_5
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530223 select SYS_ARM_MPU
rev13@wp.pl12d8a722015-03-01 12:44:39 +0100224
Michal Simek4bbd6b12018-04-26 18:21:29 +0530225config CPU_V7R
226 bool
227 select HAS_THUMB2
228 select SYS_CACHE_SHIFT_6
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530229 select SYS_ARM_MPU
230 select SYS_ARM_CACHE_CP15
Michal Simek4bbd6b12018-04-26 18:21:29 +0530231
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100232config CPU_PXA
Tom Rinie009bfa2016-08-22 08:22:18 -0400233 bool
Tom Rini067716b2016-08-22 08:22:17 -0400234 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530235 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100236
237config CPU_SA1100
Tom Rinie009bfa2016-08-22 08:22:18 -0400238 bool
Tom Rini067716b2016-08-22 08:22:17 -0400239 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530240 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100241
242config SYS_CPU
Tom Rinie009bfa2016-08-22 08:22:18 -0400243 default "arm720t" if CPU_ARM720T
244 default "arm920t" if CPU_ARM920T
245 default "arm926ejs" if CPU_ARM926EJS
246 default "arm946es" if CPU_ARM946ES
247 default "arm1136" if CPU_ARM1136
248 default "arm1176" if CPU_ARM1176
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530249 default "armv7" if CPU_V7A
Michal Simek4bbd6b12018-04-26 18:21:29 +0530250 default "armv7" if CPU_V7R
Tom Rinie009bfa2016-08-22 08:22:18 -0400251 default "armv7m" if CPU_V7M
252 default "pxa" if CPU_PXA
253 default "sa1100" if CPU_SA1100
Masahiro Yamada01541ee2014-11-06 11:39:27 +0900254 default "armv8" if ARM64
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100255
Marek Vasut66020a62016-05-26 18:01:36 +0200256config SYS_ARM_ARCH
257 int
258 default 4 if CPU_ARM720T
259 default 4 if CPU_ARM920T
260 default 5 if CPU_ARM926EJS
261 default 5 if CPU_ARM946ES
262 default 6 if CPU_ARM1136
263 default 6 if CPU_ARM1176
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530264 default 7 if CPU_V7A
Marek Vasut66020a62016-05-26 18:01:36 +0200265 default 7 if CPU_V7M
Michal Simek4bbd6b12018-04-26 18:21:29 +0530266 default 7 if CPU_V7R
Marek Vasut66020a62016-05-26 18:01:36 +0200267 default 5 if CPU_PXA
268 default 4 if CPU_SA1100
269 default 8 if ARM64
270
Tom Rini067716b2016-08-22 08:22:17 -0400271config SYS_CACHE_SHIFT_5
272 bool
273
274config SYS_CACHE_SHIFT_6
275 bool
276
277config SYS_CACHE_SHIFT_7
278 bool
279
280config SYS_CACHELINE_SIZE
281 int
282 default 128 if SYS_CACHE_SHIFT_7
283 default 64 if SYS_CACHE_SHIFT_6
284 default 32 if SYS_CACHE_SHIFT_5
285
Andre Przywara7842b6a2018-04-12 04:24:46 +0300286config SYS_ARCH_TIMER
287 bool "ARM Generic Timer support"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530288 depends on CPU_V7A || ARM64
Andre Przywara7842b6a2018-04-12 04:24:46 +0300289 default y if ARM64
290 help
291 The ARM Generic Timer (aka arch-timer) provides an architected
292 interface to a timer source on an SoC.
293 It is mandantory for ARMv8 implementation and widely available
294 on ARMv7 systems.
295
Masahiro Yamadac54bcf62017-04-14 11:10:23 +0900296config ARM_SMCCC
297 bool "Support for ARM SMC Calling Convention (SMCCC)"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530298 depends on CPU_V7A || ARM64
Masahiro Yamada573a3812017-04-14 11:10:24 +0900299 select ARM_PSCI_FW
Masahiro Yamadac54bcf62017-04-14 11:10:23 +0900300 help
301 Say Y here if you want to enable ARM SMC Calling Convention.
302 This should be enabled if U-Boot needs to communicate with system
303 firmware (for example, PSCI) according to SMCCC.
304
Linus Walleijf91afc42015-01-23 11:50:53 +0100305config SEMIHOSTING
306 bool "support boot from semihosting"
307 help
308 In emulated environments, semihosting is a way for
309 the hosted environment to call out to the emulator to
310 retrieve files from the host machine.
311
Tom Rini3a649402017-03-18 09:01:44 -0400312config SYS_THUMB_BUILD
313 bool "Build U-Boot using the Thumb instruction set"
314 depends on !ARM64
315 help
316 Use this flag to build U-Boot using the Thumb instruction set for
317 ARM architectures. Thumb instruction set provides better code
318 density. For ARM architectures that support Thumb2 this flag will
319 result in Thumb2 code generated by GCC.
320
321config SPL_SYS_THUMB_BUILD
322 bool "Build SPL using the Thumb instruction set"
323 default y if SYS_THUMB_BUILD
324 depends on !ARM64
325 help
326 Use this flag to build SPL using the Thumb instruction set for
327 ARM architectures. Thumb instruction set provides better code
328 density. For ARM architectures that support Thumb2 this flag will
329 result in Thumb2 code generated by GCC.
330
Peng Fanf3e9bec2015-08-19 15:48:57 +0800331config SYS_L2CACHE_OFF
332 bool "L2cache off"
333 help
334 If SoC does not support L2CACHE or one do not want to enable
335 L2CACHE, choose this option.
336
Andre Przywaracdaa6332016-05-31 10:45:06 -0700337config ENABLE_ARM_SOC_BOOT0_HOOK
338 bool "prepare BOOT0 header"
339 help
340 If the SoC's BOOT0 requires a header area filled with (magic)
Simon Goldschmidt7d531e82018-02-13 13:18:00 +0100341 values, then choose this option, and create a file included as
342 <asm/arch/boot0.h> which contains the required assembler code.
Andre Przywaracdaa6332016-05-31 10:45:06 -0700343
Andre Przywara85db5832017-02-16 01:20:21 +0000344config ARM_CORTEX_CPU_IS_UP
345 bool
346 default n
347
Fabio Estevambe725912016-12-15 19:30:40 -0200348config USE_ARCH_MEMCPY
349 bool "Use an assembly optimized implementation of memcpy"
Tom Rini40d55342017-01-12 13:16:02 -0500350 default y
351 depends on !ARM64
352 help
353 Enable the generation of an optimized version of memcpy.
354 Such implementation may be faster under some conditions
355 but may increase the binary size.
356
357config SPL_USE_ARCH_MEMCPY
Andy Yanf8136e62017-06-28 16:27:37 +0800358 bool "Use an assembly optimized implementation of memcpy for SPL"
Tom Rini40d55342017-01-12 13:16:02 -0500359 default y if USE_ARCH_MEMCPY
Masahiro Yamada085be482016-12-19 19:31:02 +0900360 depends on !ARM64
Fabio Estevambe725912016-12-15 19:30:40 -0200361 help
362 Enable the generation of an optimized version of memcpy.
363 Such implementation may be faster under some conditions
364 but may increase the binary size.
365
366config USE_ARCH_MEMSET
367 bool "Use an assembly optimized implementation of memset"
Tom Rini40d55342017-01-12 13:16:02 -0500368 default y
369 depends on !ARM64
370 help
371 Enable the generation of an optimized version of memset.
372 Such implementation may be faster under some conditions
373 but may increase the binary size.
374
375config SPL_USE_ARCH_MEMSET
Andy Yanf8136e62017-06-28 16:27:37 +0800376 bool "Use an assembly optimized implementation of memset for SPL"
Tom Rini40d55342017-01-12 13:16:02 -0500377 default y if USE_ARCH_MEMSET
Masahiro Yamada085be482016-12-19 19:31:02 +0900378 depends on !ARM64
Fabio Estevambe725912016-12-15 19:30:40 -0200379 help
380 Enable the generation of an optimized version of memset.
381 Such implementation may be faster under some conditions
382 but may increase the binary size.
383
Alison Wangec6617c2016-11-10 10:49:03 +0800384config ARM64_SUPPORT_AARCH32
385 bool "ARM64 system support AArch32 execution state"
386 default y if ARM64 && !TARGET_THUNDERX_88XX
387 help
388 This ARM64 system supports AArch32 execution state.
389
Masahiro Yamadadd840582014-07-30 14:08:14 +0900390choice
391 prompt "Target select"
Simon Glassb928e652015-08-30 19:19:30 -0600392 default TARGET_HIKEY
Masahiro Yamadadd840582014-07-30 14:08:14 +0900393
Masahiro Yamada4614b892015-02-20 17:04:01 +0900394config ARCH_AT91
395 bool "Atmel AT91"
Ley Foon Tan0680f1b2017-05-03 17:13:32 +0800396 select SPL_BOARD_INIT if SPL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900397
398config TARGET_EDB93XX
399 bool "Support edb93xx"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100400 select CPU_ARM920T
Alexander Graf884f9012018-01-25 12:05:50 +0100401 select PL010_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900402
Masahiro Yamadadd840582014-07-30 14:08:14 +0900403config TARGET_ASPENITE
404 bool "Support aspenite"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100405 select CPU_ARM926EJS
Masahiro Yamadadd840582014-07-30 14:08:14 +0900406
407config TARGET_GPLUGD
408 bool "Support gplugd"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100409 select CPU_ARM926EJS
Masahiro Yamadadd840582014-07-30 14:08:14 +0900410
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900411config ARCH_DAVINCI
412 bool "TI DaVinci"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100413 select CPU_ARM926EJS
Simon Glass15dc63d2017-08-04 16:34:43 -0600414 imply CMD_SAVES
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900415 help
416 Support for TI's DaVinci platform.
Masahiro Yamadadd840582014-07-30 14:08:14 +0900417
Masahiro Yamada47539e22014-08-31 07:10:59 +0900418config KIRKWOOD
419 bool "Marvell Kirkwood"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100420 select CPU_ARM926EJS
Simon Glassa5d67542017-01-23 13:31:20 -0700421 select BOARD_EARLY_INIT_F
Simon Glass45856012017-01-23 13:31:21 -0700422 select ARCH_MISC_INIT
Masahiro Yamadadd840582014-07-30 14:08:14 +0900423
Stefan Roesec3d89142015-08-25 13:18:38 +0200424config ARCH_MVEBU
Stefan Roese21b29fc2016-05-25 08:13:45 +0200425 bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
Stefan Roese9cffb232015-09-01 11:27:52 +0200426 select OF_CONTROL
427 select OF_SEPARATE
428 select DM
Stefan Roesee3b9c982015-11-19 07:46:15 +0100429 select DM_ETH
Stefan Roese1d51ea12015-09-02 08:41:41 +0200430 select DM_SERIAL
Stefan Roese09a54c02015-11-20 13:51:57 +0100431 select DM_SPI
432 select DM_SPI_FLASH
Adam Fordf1b1f772018-04-15 13:51:26 -0400433 select SPI
Stefan Roesea4884832014-10-22 12:13:19 +0200434
Masahiro Yamadadd840582014-07-30 14:08:14 +0900435config TARGET_DEVKIT3250
436 bool "Support devkit3250"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100437 select CPU_ARM926EJS
Vladimir Zapolskiye9b3ce32015-07-18 01:47:11 +0300438 select SUPPORT_SPL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900439
Albert ARIBAUD \(3ADEV\)412ae532015-03-31 11:40:51 +0200440config TARGET_WORK_92105
441 bool "Support work_92105"
442 select CPU_ARM926EJS
443 select SUPPORT_SPL
444
Masahiro Yamadadd840582014-07-30 14:08:14 +0900445config TARGET_APF27
446 bool "Support apf27"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100447 select CPU_ARM926EJS
Masahiro Yamada02627352014-10-20 17:45:56 +0900448 select SUPPORT_SPL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900449
Masahiro Yamada22f2be72014-08-31 07:11:06 +0900450config ORION5X
451 bool "Marvell Orion"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100452 select CPU_ARM926EJS
Masahiro Yamadadd840582014-07-30 14:08:14 +0900453
Masahiro Yamadadd840582014-07-30 14:08:14 +0900454config TARGET_SPEAR300
455 bool "Support spear300"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100456 select CPU_ARM926EJS
Simon Glassa5d67542017-01-23 13:31:20 -0700457 select BOARD_EARLY_INIT_F
Simon Glass15dc63d2017-08-04 16:34:43 -0600458 imply CMD_SAVES
Alexander Grafd10fc502018-01-25 12:05:51 +0100459 select PL011_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900460
461config TARGET_SPEAR310
462 bool "Support spear310"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100463 select CPU_ARM926EJS
Simon Glassa5d67542017-01-23 13:31:20 -0700464 select BOARD_EARLY_INIT_F
Simon Glass15dc63d2017-08-04 16:34:43 -0600465 imply CMD_SAVES
Alexander Grafd10fc502018-01-25 12:05:51 +0100466 select PL011_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900467
468config TARGET_SPEAR320
469 bool "Support spear320"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100470 select CPU_ARM926EJS
Simon Glassa5d67542017-01-23 13:31:20 -0700471 select BOARD_EARLY_INIT_F
Simon Glass15dc63d2017-08-04 16:34:43 -0600472 imply CMD_SAVES
Alexander Grafd10fc502018-01-25 12:05:51 +0100473 select PL011_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900474
475config TARGET_SPEAR600
476 bool "Support spear600"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100477 select CPU_ARM926EJS
Simon Glassa5d67542017-01-23 13:31:20 -0700478 select BOARD_EARLY_INIT_F
Simon Glass15dc63d2017-08-04 16:34:43 -0600479 imply CMD_SAVES
Alexander Grafd10fc502018-01-25 12:05:51 +0100480 select PL011_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900481
Vikas Manocha9fa32b12014-11-18 10:42:22 -0800482config TARGET_STV0991
483 bool "Support stv0991"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530484 select CPU_V7A
Masahiro Yamadacac0ca72015-03-31 12:48:01 +0900485 select DM
486 select DM_SERIAL
Vikas Manochae67abca2015-07-02 18:29:41 -0700487 select DM_SPI
488 select DM_SPI_FLASH
Adam Fordf1b1f772018-04-15 13:51:26 -0400489 select SPI
Vikas Manochae67abca2015-07-02 18:29:41 -0700490 select SPI_FLASH
Alexander Grafcf2c7782018-01-25 12:05:52 +0100491 select PL01X_SERIAL
Vikas Manocha9fa32b12014-11-18 10:42:22 -0800492
Masahiro Yamadadd840582014-07-30 14:08:14 +0900493config TARGET_X600
494 bool "Support x600"
Tom Rinie5ec4812017-01-22 19:43:11 -0500495 select BOARD_LATE_INIT
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100496 select CPU_ARM926EJS
Masahiro Yamada02627352014-10-20 17:45:56 +0900497 select SUPPORT_SPL
Alexander Grafd10fc502018-01-25 12:05:51 +0100498 select PL011_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900499
Masahiro Yamadadd840582014-07-30 14:08:14 +0900500config TARGET_MX31PDK
501 bool "Support mx31pdk"
Tom Rinie5ec4812017-01-22 19:43:11 -0500502 select BOARD_LATE_INIT
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100503 select CPU_ARM1136
Masahiro Yamada02627352014-10-20 17:45:56 +0900504 select SUPPORT_SPL
Simon Glassa5d67542017-01-23 13:31:20 -0700505 select BOARD_EARLY_INIT_F
Masahiro Yamadadd840582014-07-30 14:08:14 +0900506
Masahiro Yamadadd840582014-07-30 14:08:14 +0900507config TARGET_WOODBURN
508 bool "Support woodburn"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100509 select CPU_ARM1136
Masahiro Yamadadd840582014-07-30 14:08:14 +0900510
511config TARGET_WOODBURN_SD
512 bool "Support woodburn_sd"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100513 select CPU_ARM1136
Masahiro Yamada02627352014-10-20 17:45:56 +0900514 select SUPPORT_SPL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900515
516config TARGET_FLEA3
517 bool "Support flea3"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100518 select CPU_ARM1136
Masahiro Yamadadd840582014-07-30 14:08:14 +0900519
520config TARGET_MX35PDK
521 bool "Support mx35pdk"
Tom Rinie5ec4812017-01-22 19:43:11 -0500522 select BOARD_LATE_INIT
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100523 select CPU_ARM1136
Masahiro Yamadadd840582014-07-30 14:08:14 +0900524
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +0900525config ARCH_BCM283X
526 bool "Broadcom BCM283X family"
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900527 select DM
528 select DM_SERIAL
529 select DM_GPIO
Fabian Vogt76709092016-09-26 14:26:51 +0200530 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +0100531 select PL01X_SERIAL
Alexander Grafae5326a2018-01-29 13:57:20 +0100532 select SERIAL_SEARCH_ALL
Tom Rini91d27a12017-06-02 11:03:50 -0400533 imply FAT_WRITE
Stephen Warren46414292015-02-16 12:16:15 -0700534
Masahiro Yamadadd840582014-07-30 14:08:14 +0900535config TARGET_VEXPRESS_CA15_TC2
536 bool "Support vexpress_ca15_tc2"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530537 select CPU_V7A
Hans de Goedeea624e12014-11-14 09:34:30 +0100538 select CPU_V7_HAS_NONSEC
539 select CPU_V7_HAS_VIRT
Alexander Grafd10fc502018-01-25 12:05:51 +0100540 select PL011_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900541
542config TARGET_VEXPRESS_CA5X2
543 bool "Support vexpress_ca5x2"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530544 select CPU_V7A
Alexander Grafd10fc502018-01-25 12:05:51 +0100545 select PL011_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900546
547config TARGET_VEXPRESS_CA9X4
548 bool "Support vexpress_ca9x4"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530549 select CPU_V7A
Alexander Grafd10fc502018-01-25 12:05:51 +0100550 select PL011_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900551
Steve Rae43486e42016-06-02 15:10:56 -0700552config TARGET_BCM23550_W1D
553 bool "Support bcm23550_w1d"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530554 select CPU_V7A
Daniel Thompson221a9492017-05-19 17:26:58 +0100555 imply CRC32_VERIFY
Tom Rini91d27a12017-06-02 11:03:50 -0400556 imply FAT_WRITE
Steve Rae43486e42016-06-02 15:10:56 -0700557
Masahiro Yamadadd840582014-07-30 14:08:14 +0900558config TARGET_BCM28155_AP
559 bool "Support bcm28155_ap"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530560 select CPU_V7A
Daniel Thompson221a9492017-05-19 17:26:58 +0100561 imply CRC32_VERIFY
Tom Rini91d27a12017-06-02 11:03:50 -0400562 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900563
Steve Raeabb16782014-11-11 11:32:18 -0800564config TARGET_BCMCYGNUS
565 bool "Support bcmcygnus"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530566 select CPU_V7A
Daniel Thompson221a9492017-05-19 17:26:58 +0100567 imply CRC32_VERIFY
Simon Glass551c3932017-05-17 03:25:25 -0600568 imply CMD_HASH
Tom Rini91d27a12017-06-02 11:03:50 -0400569 imply FAT_WRITE
Daniel Thompson221a9492017-05-19 17:26:58 +0100570 imply HASH_VERIFY
Suji Velupillaic89782d2017-07-10 14:05:41 -0700571 imply NETDEVICES
572 imply BCM_SF2_ETH
573 imply BCM_SF2_ETH_GMAC
Steve Rae9dec5272014-08-11 13:58:26 -0700574
Steve Raeabb16782014-11-11 11:32:18 -0800575config TARGET_BCMNSP
576 bool "Support bcmnsp"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530577 select CPU_V7A
Steve Rae9dec5272014-08-11 13:58:26 -0700578
Jon Mason274bced2017-03-17 12:12:14 -0400579config TARGET_BCMNS2
580 bool "Support Broadcom Northstar2"
581 select ARM64
582 help
583 Support for Broadcom Northstar 2 SoCs. NS2 is a quad-core 64-bit
584 ARMv8 Cortex-A57 processors targeting a broad range of networking
585 applications
586
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900587config ARCH_EXYNOS
588 bool "Samsung EXYNOS"
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900589 select DM
Simon Glassfc47cf92016-11-23 06:34:40 -0700590 select DM_I2C
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900591 select DM_SPI_FLASH
592 select DM_SERIAL
593 select DM_SPI
594 select DM_GPIO
Simon Glass1fa4bfd2015-10-18 21:17:17 -0600595 select DM_KEYBOARD
Adam Fordf1b1f772018-04-15 13:51:26 -0400596 select SPI
Tom Rini91d27a12017-06-02 11:03:50 -0400597 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900598
Simon Glass311757b2014-10-07 22:01:50 -0600599config ARCH_S5PC1XX
600 bool "Samsung S5PC1XX"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530601 select CPU_V7A
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900602 select DM
603 select DM_SERIAL
604 select DM_GPIO
Simon Glass08848e92016-11-23 06:34:41 -0700605 select DM_I2C
Simon Glass311757b2014-10-07 22:01:50 -0600606
Masahiro Yamadaef2b6942014-08-31 07:11:07 +0900607config ARCH_HIGHBANK
608 bool "Calxeda Highbank"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530609 select CPU_V7A
Alexander Grafd10fc502018-01-25 12:05:51 +0100610 select PL011_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900611
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +0900612config ARCH_INTEGRATOR
613 bool "ARM Ltd. Integrator family"
Linus Walleij3f394e72015-07-27 11:22:48 +0200614 select DM
615 select DM_SERIAL
Alexander Grafcf2c7782018-01-25 12:05:52 +0100616 select PL01X_SERIAL
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +0900617
Masahiro Yamadac338f092014-08-31 07:11:05 +0900618config ARCH_KEYSTONE
619 bool "TI Keystone"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530620 select CPU_V7A
Masahiro Yamada02627352014-10-20 17:45:56 +0900621 select SUPPORT_SPL
Tom Rini3a649402017-03-18 09:01:44 -0400622 select SYS_THUMB_BUILD
Tom Rini534bc702016-03-16 09:19:43 -0400623 select CMD_POWEROFF
Andre Przywara7842b6a2018-04-12 04:24:46 +0300624 select SYS_ARCH_TIMER
Tom Rinid56b4b12017-07-22 18:36:16 -0400625 imply CMD_MTDPARTS
Andrew F. Davis46f9ef12017-04-21 10:01:28 -0500626 imply FIT
Simon Glass15dc63d2017-08-04 16:34:43 -0600627 imply CMD_SAVES
Masahiro Yamadadd840582014-07-30 14:08:14 +0900628
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900629config ARCH_OMAP2PLUS
630 bool "TI OMAP2+"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530631 select CPU_V7A
Ley Foon Tan0680f1b2017-05-03 17:13:32 +0800632 select SPL_BOARD_INIT if SPL
Tom Riniff6c3122017-09-17 11:44:49 -0400633 select SPL_STACK_R if SPL
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900634 select SUPPORT_SPL
635 imply FIT
636
Beniamino Galvanibfcef282016-05-08 08:30:16 +0200637config ARCH_MESON
638 bool "Amlogic Meson"
Masahiro Yamada7325f6c2018-04-25 18:47:52 +0900639 imply DISTRO_DEFAULTS
Beniamino Galvanibfcef282016-05-08 08:30:16 +0200640 help
641 Support for the Meson SoC family developed by Amlogic Inc.,
642 targeted at media players and tablet computers. We currently
643 support the S905 (GXBaby) 64-bit SoC.
644
Peng Fan7a7391f2018-01-10 13:20:19 +0800645config ARCH_MX8M
646 bool "NXP i.MX8M platform"
647 select ARM64
648 select DM
649 select SUPPORT_SPL
650
Stefan Agnerc5343d42018-02-06 09:44:34 +0100651config ARCH_MX23
652 bool "NXP i.MX23 family"
653 select CPU_ARM926EJS
654 select PL011_SERIAL
655 select SUPPORT_SPL
656
Fabio Estevam07df6972017-11-03 13:40:08 -0200657config ARCH_MX25
658 bool "NXP MX25"
659 select CPU_ARM926EJS
Adam Ford8bbff6a2018-02-04 09:32:43 -0600660 imply MXC_GPIO
Fabio Estevam07df6972017-11-03 13:40:08 -0200661
Stefan Agner25c5b4e2018-02-06 09:44:35 +0100662config ARCH_MX28
663 bool "NXP i.MX28 family"
664 select CPU_ARM926EJS
665 select PL011_SERIAL
666 select SUPPORT_SPL
667
Peng Fane90a08d2017-02-22 16:21:39 +0800668config ARCH_MX7ULP
669 bool "NXP MX7ULP"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530670 select CPU_V7A
Peng Fane90a08d2017-02-22 16:21:39 +0800671 select ROM_UNIFIED_SECTIONS
Adam Ford8bbff6a2018-02-04 09:32:43 -0600672 imply MXC_GPIO
Peng Fane90a08d2017-02-22 16:21:39 +0800673
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500674config ARCH_MX7
675 bool "Freescale MX7"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530676 select CPU_V7A
York Sun2c2e2c92016-12-28 08:43:30 -0800677 select SYS_FSL_HAS_SEC if SECURE_BOOT
678 select SYS_FSL_SEC_COMPAT_4
York Sun90b80382016-12-28 08:43:31 -0800679 select SYS_FSL_SEC_LE
Simon Glassa5d67542017-01-23 13:31:20 -0700680 select BOARD_EARLY_INIT_F
Simon Glass45856012017-01-23 13:31:21 -0700681 select ARCH_MISC_INIT
Adam Ford8bbff6a2018-02-04 09:32:43 -0600682 imply MXC_GPIO
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500683
Boris BREZILLON89ebc822015-03-04 13:13:03 +0100684config ARCH_MX6
685 bool "Freescale MX6"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530686 select CPU_V7A
York Sun2c2e2c92016-12-28 08:43:30 -0800687 select SYS_FSL_HAS_SEC if SECURE_BOOT
688 select SYS_FSL_SEC_COMPAT_4
York Sun90b80382016-12-28 08:43:31 -0800689 select SYS_FSL_SEC_LE
Tom Rini3a649402017-03-18 09:01:44 -0400690 select SYS_THUMB_BUILD if SPL
Adam Ford8bbff6a2018-02-04 09:32:43 -0600691 imply MXC_GPIO
Boris BREZILLON89ebc822015-03-04 13:13:03 +0100692
Philipp Tomsichb5299932017-08-03 23:23:55 +0200693if ARCH_MX6
694config SPL_LDSCRIPT
695 default "arch/arm/mach-omap2/u-boot-spl.lds"
696endif
697
Andrej Rosano424ee3d2015-04-08 18:56:29 +0200698config ARCH_MX5
699 bool "Freescale MX5"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530700 select CPU_V7A
Simon Glassa5d67542017-01-23 13:31:20 -0700701 select BOARD_EARLY_INIT_F
Adam Ford8bbff6a2018-02-04 09:32:43 -0600702 imply MXC_GPIO
Andrej Rosano424ee3d2015-04-08 18:56:29 +0200703
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +0300704config ARCH_QEMU
705 bool "QEMU Virtual Platform"
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +0300706 select DM
707 select DM_SERIAL
708 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +0100709 select PL01X_SERIAL
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +0300710
Nobuhiro Iwamatsu1cc95f62015-10-10 05:58:28 +0900711config ARCH_RMOBILE
Masahiro Yamadaf40b9892014-08-31 07:10:57 +0900712 bool "Renesas ARM SoCs"
Nobuhiro Iwamatsu1cc95f62015-10-10 05:58:28 +0900713 select DM
714 select DM_SERIAL
Simon Glassa5d67542017-01-23 13:31:20 -0700715 select BOARD_EARLY_INIT_F
Tom Rini91d27a12017-06-02 11:03:50 -0400716 imply FAT_WRITE
Tom Rini3a649402017-03-18 09:01:44 -0400717 imply SYS_THUMB_BUILD
Masahiro Yamadadd840582014-07-30 14:08:14 +0900718
Eddy Petrișor9702ec02016-06-05 03:43:00 +0300719config TARGET_S32V234EVB
720 bool "Support s32v234evb"
721 select ARM64
York Sunc01e4a12016-12-28 08:43:42 -0800722 select SYS_FSL_ERRATUM_ESDHC111
Eddy Petrișor9702ec02016-06-05 03:43:00 +0300723
Mateusz Kulikowski08592132016-03-31 23:12:32 +0200724config ARCH_SNAPDRAGON
725 bool "Qualcomm Snapdragon SoCs"
726 select ARM64
727 select DM
728 select DM_GPIO
729 select DM_SERIAL
730 select SPMI
731 select OF_CONTROL
732 select OF_SEPARATE
733
Masahiro Yamada7865f4b2015-04-21 20:38:20 +0900734config ARCH_SOCFPGA
735 bool "Altera SOCFPGA family"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530736 select CPU_V7A
Masahiro Yamada02627352014-10-20 17:45:56 +0900737 select SUPPORT_SPL
Marek Vasutdfd3dff2015-08-19 23:23:52 +0200738 select OF_CONTROL
739 select SPL_OF_CONTROL
Masahiro Yamada1d9aa3e2015-03-31 12:47:59 +0900740 select DM
Marek Vasutbeee6a32016-11-16 17:20:23 +0100741 select ENABLE_ARM_SOC_BOOT0_HOOK
Simon Glassa4211922017-01-23 13:31:19 -0700742 select ARCH_EARLY_INIT_R
Simon Glass45856012017-01-23 13:31:21 -0700743 select ARCH_MISC_INIT
Tom Rini3a649402017-03-18 09:01:44 -0400744 select SYS_THUMB_BUILD
Tom Rinid56b4b12017-07-22 18:36:16 -0400745 imply CMD_MTDPARTS
Daniel Thompson221a9492017-05-19 17:26:58 +0100746 imply CRC32_VERIFY
Simon Goldschmidtfef4a542018-02-13 06:34:14 +0100747 imply DM_SPI
748 imply DM_SPI_FLASH
Tom Rini91d27a12017-06-02 11:03:50 -0400749 imply FAT_WRITE
Simon Goldschmidtfef4a542018-02-13 06:34:14 +0100750 imply HW_WATCHDOG
751 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
Masahiro Yamadadd840582014-07-30 14:08:14 +0900752
Ian Campbell2c7e3b92014-10-24 21:20:44 +0100753config ARCH_SUNXI
754 bool "Support sunxi (Allwinner) SoCs"
Masahiro Yamadad6a0c782017-10-17 13:42:44 +0900755 select BINMAN
Hans de Goede88bb8002016-04-03 09:41:44 +0200756 select CMD_GPIO
Hans de Goede0878a8a2016-05-15 13:51:58 +0200757 select CMD_MMC if MMC
Yann E. MORIN2997ee52016-10-31 22:33:40 +0100758 select CMD_USB if DISTRO_DEFAULTS
Hans de Goedeb6006ba2015-04-15 20:46:48 +0200759 select DM
Tom Rini45368822015-06-30 16:51:15 -0400760 select DM_ETH
Hans de Goede211d57a2015-12-21 20:22:00 +0100761 select DM_GPIO
762 select DM_KEYBOARD
Tom Rini45368822015-06-30 16:51:15 -0400763 select DM_SERIAL
Yann E. MORIN2997ee52016-10-31 22:33:40 +0100764 select DM_USB if DISTRO_DEFAULTS
Hans de Goeded75111a2016-03-22 22:51:52 +0100765 select OF_BOARD_SETUP
Hans de Goedeb6006ba2015-04-15 20:46:48 +0200766 select OF_CONTROL
767 select OF_SEPARATE
Tom Rini6f6b7cf2018-03-06 19:02:27 -0500768 select SPECIFY_CONSOLE_INDEX
Tom Riniab43de82017-06-21 07:54:46 -0400769 select SPL_STACK_R if SPL
770 select SPL_SYS_MALLOC_SIMPLE if SPL
Hans de Goede6edf6a22015-12-10 11:10:17 +0100771 select SYS_NS16550
Tom Rini3a649402017-03-18 09:01:44 -0400772 select SPL_SYS_THUMB_BUILD if !ARM64
Maxime Ripardce2e44d2017-10-19 11:49:29 +0200773 select SYS_THUMB_BUILD if !ARM64
Yann E. MORIN2997ee52016-10-31 22:33:40 +0100774 select USB if DISTRO_DEFAULTS
775 select USB_STORAGE if DISTRO_DEFAULTS
776 select USB_KEYBOARD if DISTRO_DEFAULTS
Hans de Goede8c7d2292016-06-10 12:19:40 +0200777 select USE_TINY_PRINTF
Maxime Riparda12fb0e2017-08-24 11:54:03 +0200778 imply CMD_GPT
Masahiro Yamada7325f6c2018-04-25 18:47:52 +0900779 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -0400780 imply FAT_WRITE
Andre Heidereff264d2018-01-16 09:44:22 +0100781 imply OF_LIBFDT_OVERLAY
Masahiro Yamadaaf83a602017-04-28 19:42:19 +0900782 imply PRE_CONSOLE_BUFFER
783 imply SPL_GPIO_SUPPORT
784 imply SPL_LIBCOMMON_SUPPORT
785 imply SPL_LIBDISK_SUPPORT
786 imply SPL_LIBGENERIC_SUPPORT
Masahiro Yamada4aa2ba32017-05-09 20:31:39 +0900787 imply SPL_MMC_SUPPORT if MMC
Masahiro Yamadaaf83a602017-04-28 19:42:19 +0900788 imply SPL_POWER_SUPPORT
789 imply SPL_SERIAL_SUPPORT
Maxime Ripard654b02b2017-09-07 10:46:24 +0200790 imply USB_GADGET
Chen-Yu Tsai8ebe4f42014-10-22 16:47:44 +0800791
Stefan Agner7966b432017-03-13 18:41:36 -0700792config ARCH_VF610
793 bool "Freescale Vybrid"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530794 select CPU_V7A
York Sunc01e4a12016-12-28 08:43:42 -0800795 select SYS_FSL_ERRATUM_ESDHC111
Tom Rinid56b4b12017-07-22 18:36:16 -0400796 imply CMD_MTDPARTS
Adam Ford5bbc2652017-08-07 17:37:18 -0400797 imply NAND
Masahiro Yamadadd840582014-07-30 14:08:14 +0900798
Masahiro Yamada5ca269a2015-03-16 16:43:24 +0900799config ARCH_ZYNQ
Michal Simekb8d44972017-11-23 08:25:41 +0100800 bool "Xilinx Zynq based platform"
Tom Rinie5ec4812017-01-22 19:43:11 -0500801 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530802 select CPU_V7A
Masahiro Yamada02627352014-10-20 17:45:56 +0900803 select SUPPORT_SPL
Jagan Tekid065cfd2015-06-29 14:17:32 +0530804 select OF_CONTROL
Ley Foon Tan0680f1b2017-05-03 17:13:32 +0800805 select SPL_BOARD_INIT if SPL
Michal Simeke6cc3b22018-02-21 17:04:28 +0100806 select BOARD_EARLY_INIT_F if WDT
Michal Simekeb04ab32016-01-13 14:32:43 +0100807 select SPL_OF_CONTROL if SPL
Masahiro Yamada8981f052015-03-31 12:47:55 +0900808 select DM
Michal Simekc4a142f2018-01-09 14:49:28 +0100809 select DM_ETH if NET
Michal Simekeb04ab32016-01-13 14:32:43 +0100810 select SPL_DM if SPL
Michal Simekc4a142f2018-01-09 14:49:28 +0100811 select DM_MMC if MMC
Jagan Teki9f7a4502015-06-27 00:51:32 +0530812 select DM_SPI
Simon Glass42800ff2015-10-17 19:41:27 -0600813 select DM_SERIAL
Jagan Teki9f7a4502015-06-27 00:51:32 +0530814 select DM_SPI_FLASH
Michal Simekeb04ab32016-01-13 14:32:43 +0100815 select SPL_SEPARATE_BSS if SPL
Simon Glassdec49e82016-07-05 17:10:14 -0600816 select DM_USB if USB
Stefan Herbrechtsmeier781745b2017-01-17 16:27:30 +0100817 select CLK
Ezequiel Garcia578d95e2018-01-12 12:33:24 -0300818 select SPL_CLK if SPL
Stefan Herbrechtsmeier781745b2017-01-17 16:27:30 +0100819 select CLK_ZYNQ
Adam Fordf1b1f772018-04-15 13:51:26 -0400820 select SPI
Simon Glassd3156282017-04-26 22:28:02 -0600821 imply CMD_CLK
Tom Rini91d27a12017-06-02 11:03:50 -0400822 imply FAT_WRITE
Simon Glass72c30332017-08-04 16:34:48 -0600823 imply CMD_SPL
Michal Simek4aba5fb2018-01-17 10:56:22 -0300824 imply ARCH_EARLY_INIT_R
Masahiro Yamadadd840582014-07-30 14:08:14 +0900825
Siva Durga Prasad Paladugu0b54a9d2015-06-10 15:50:57 +0530826config ARCH_ZYNQMP
Michal Simekb8d44972017-11-23 08:25:41 +0100827 bool "Xilinx ZynqMP based platform"
Michal Simek84c72042015-01-15 10:01:51 +0100828 select ARM64
Tom Rinie5ec4812017-01-22 19:43:11 -0500829 select BOARD_LATE_INIT
Michal Simekc2490bf2015-10-17 19:41:25 -0600830 select DM
831 select OF_CONTROL
832 select DM_SERIAL
Michal Simeke6a9ed02015-11-20 13:17:22 +0100833 select SUPPORT_SPL
Michal Simek1f297382016-07-14 15:07:54 +0200834 select CLK
Ley Foon Tan0680f1b2017-05-03 17:13:32 +0800835 select SPL_BOARD_INIT if SPL
Michal Simek2f039682017-12-01 15:13:36 +0100836 select SPL_CLK if SPL
Simon Glassdec49e82016-07-05 17:10:14 -0600837 select DM_USB if USB
Tom Rini91d27a12017-06-02 11:03:50 -0400838 imply FAT_WRITE
Michal Simek84c72042015-01-15 10:01:51 +0100839
Masahiro Yamadaddd960e2014-08-31 07:10:56 +0900840config TEGRA
841 bool "NVIDIA Tegra"
Masahiro Yamada7325f6c2018-04-25 18:47:52 +0900842 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -0400843 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900844
Linus Walleijf91afc42015-01-23 11:50:53 +0100845config TARGET_VEXPRESS64_AEMV8A
Masahiro Yamadadd840582014-07-30 14:08:14 +0900846 bool "Support vexpress_aemv8a"
Masahiro Yamada016a9542014-09-14 03:01:51 +0900847 select ARM64
Alexander Grafcf2c7782018-01-25 12:05:52 +0100848 select PL01X_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900849
Linus Walleijf91afc42015-01-23 11:50:53 +0100850config TARGET_VEXPRESS64_BASE_FVP
851 bool "Support Versatile Express ARMv8a FVP BASE model"
852 select ARM64
853 select SEMIHOSTING
Alexander Grafcf2c7782018-01-25 12:05:52 +0100854 select PL01X_SERIAL
Linus Walleijf91afc42015-01-23 11:50:53 +0100855
Ryan Harkinfc04b922015-10-09 17:18:02 +0100856config TARGET_VEXPRESS64_BASE_FVP_DRAM
857 bool "Support Versatile Express ARMv8a FVP BASE model booting from DRAM"
858 select ARM64
Alexander Grafcf2c7782018-01-25 12:05:52 +0100859 select PL01X_SERIAL
Ryan Harkinfc04b922015-10-09 17:18:02 +0100860 help
861 This target is derived from TARGET_VEXPRESS64_BASE_FVP and over-rides
862 the default config to allow the user to load the images directly into
863 DRAM using model parameters rather than by using semi-hosting to load
864 the files from the host filesystem.
865
Linus Walleijffc10372015-01-23 14:41:10 +0100866config TARGET_VEXPRESS64_JUNO
867 bool "Support Versatile Express Juno Development Platform"
868 select ARM64
Alexander Grafcf2c7782018-01-25 12:05:52 +0100869 select PL01X_SERIAL
Linus Walleijffc10372015-01-23 14:41:10 +0100870
Prabhakar Kushwaha44937212015-11-09 16:42:07 +0530871config TARGET_LS2080A_EMU
872 bool "Support ls2080a_emu"
York Sunfb2bf8c2016-10-04 14:31:48 -0700873 select ARCH_LS2080A
Masahiro Yamada016a9542014-09-14 03:01:51 +0900874 select ARM64
Linus Walleij23b58772015-03-09 10:53:21 +0100875 select ARMV8_MULTIENTRY
Simon Glass45856012017-01-23 13:31:21 -0700876 select ARCH_MISC_INIT
York Sun7288c2c2015-03-20 19:28:23 -0700877 help
Prabhakar Kushwaha44937212015-11-09 16:42:07 +0530878 Support for Freescale LS2080A_EMU platform
879 The LS2080A Development System (EMULATOR) is a pre silicon
880 development platform that supports the QorIQ LS2080A
York Sun7288c2c2015-03-20 19:28:23 -0700881 Layerscape Architecture processor.
882
Prabhakar Kushwaha44937212015-11-09 16:42:07 +0530883config TARGET_LS2080A_SIMU
884 bool "Support ls2080a_simu"
York Sunfb2bf8c2016-10-04 14:31:48 -0700885 select ARCH_LS2080A
Prabhakar Kushwaha44937212015-11-09 16:42:07 +0530886 select ARM64
887 select ARMV8_MULTIENTRY
Simon Glass45856012017-01-23 13:31:21 -0700888 select ARCH_MISC_INIT
Prabhakar Kushwaha44937212015-11-09 16:42:07 +0530889 help
890 Support for Freescale LS2080A_SIMU platform
891 The LS2080A Development System (QDS) is a pre silicon
892 development platform that supports the QorIQ LS2080A
893 Layerscape Architecture processor.
894
Ashish Kumar77697762017-08-31 16:12:55 +0530895config TARGET_LS1088AQDS
896 bool "Support ls1088aqds"
897 select ARCH_LS1088A
898 select ARM64
899 select ARMV8_MULTIENTRY
900 select ARCH_MISC_INIT
901 select BOARD_LATE_INIT
Ashish Kumar91fded62017-11-06 13:18:44 +0530902 select SUPPORT_SPL
Ashish Kumar77697762017-08-31 16:12:55 +0530903 help
904 Support for NXP LS1088AQDS platform
905 The LS1088A Development System (QDS) is a high-performance
906 development platform that supports the QorIQ LS1088A
907 Layerscape Architecture processor.
908
Prabhakar Kushwaha44937212015-11-09 16:42:07 +0530909config TARGET_LS2080AQDS
910 bool "Support ls2080aqds"
York Sunfb2bf8c2016-10-04 14:31:48 -0700911 select ARCH_LS2080A
York Sune2b65ea2015-03-20 19:28:24 -0700912 select ARM64
913 select ARMV8_MULTIENTRY
Tom Rinie5ec4812017-01-22 19:43:11 -0500914 select BOARD_LATE_INIT
Scott Wood32eda7c2015-03-24 13:25:03 -0700915 select SUPPORT_SPL
Simon Glass45856012017-01-23 13:31:21 -0700916 select ARCH_MISC_INIT
Simon Glassfedb4282017-06-14 21:28:21 -0600917 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +0200918 imply SCSI_AHCI
York Sune2b65ea2015-03-20 19:28:24 -0700919 help
Prabhakar Kushwaha44937212015-11-09 16:42:07 +0530920 Support for Freescale LS2080AQDS platform
921 The LS2080A Development System (QDS) is a high-performance
922 development platform that supports the QorIQ LS2080A
923 Layerscape Architecture processor.
924
925config TARGET_LS2080ARDB
926 bool "Support ls2080ardb"
York Sunfb2bf8c2016-10-04 14:31:48 -0700927 select ARCH_LS2080A
Prabhakar Kushwaha44937212015-11-09 16:42:07 +0530928 select ARM64
929 select ARMV8_MULTIENTRY
Tom Rinie5ec4812017-01-22 19:43:11 -0500930 select BOARD_LATE_INIT
Prabhakar Kushwaha44937212015-11-09 16:42:07 +0530931 select SUPPORT_SPL
Simon Glass45856012017-01-23 13:31:21 -0700932 select ARCH_MISC_INIT
Simon Glassfedb4282017-06-14 21:28:21 -0600933 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +0200934 imply SCSI_AHCI
Prabhakar Kushwaha44937212015-11-09 16:42:07 +0530935 help
936 Support for Freescale LS2080ARDB platform.
937 The LS2080A Reference design board (RDB) is a high-performance
938 development platform that supports the QorIQ LS2080A
York Sune2b65ea2015-03-20 19:28:24 -0700939 Layerscape Architecture processor.
940
Priyanka Jain3049a582017-04-27 15:08:07 +0530941config TARGET_LS2081ARDB
942 bool "Support ls2081ardb"
943 select ARCH_LS2080A
944 select ARM64
945 select ARMV8_MULTIENTRY
946 select BOARD_LATE_INIT
947 select SUPPORT_SPL
948 select ARCH_MISC_INIT
949 help
950 Support for Freescale LS2081ARDB platform.
951 The LS2081A Reference design board (RDB) is a high-performance
952 development platform that supports the QorIQ LS2081A/LS2041A
953 Layerscape Architecture processor.
954
Peter Griffin11ac2362015-07-30 18:55:23 +0100955config TARGET_HIKEY
956 bool "Support HiKey 96boards Consumer Edition Platform"
957 select ARM64
Peter Griffinefd7b602015-09-10 21:55:16 +0100958 select DM
959 select DM_GPIO
Peter Griffin9c71bcd2015-09-10 21:55:17 +0100960 select DM_SERIAL
Peter Griffincd593ed2016-04-20 17:13:59 +0100961 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +0100962 select PL01X_SERIAL
Tom Rini6f6b7cf2018-03-06 19:02:27 -0500963 select SPECIFY_CONSOLE_INDEX
Peter Griffin11ac2362015-07-30 18:55:23 +0100964 help
965 Support for HiKey 96boards platform. It features a HI6220
966 SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
967
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +0200968config TARGET_POPLAR
969 bool "Support Poplar 96boards Enterprise Edition Platform"
970 select ARM64
971 select DM
972 select OF_CONTROL
973 select DM_SERIAL
974 select DM_USB
Alexander Grafcf2c7782018-01-25 12:05:52 +0100975 select PL01X_SERIAL
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +0200976 help
977 Support for Poplar 96boards EE platform. It features a HI3798cv200
978 SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
979 making it capable of running any commercial set-top solution based on
980 Linux or Android.
981
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +0530982config TARGET_LS1012AQDS
983 bool "Support ls1012aqds"
York Sun9533acf2016-09-26 08:09:26 -0700984 select ARCH_LS1012A
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +0530985 select ARM64
Tom Rinie5ec4812017-01-22 19:43:11 -0500986 select BOARD_LATE_INIT
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +0530987 help
988 Support for Freescale LS1012AQDS platform.
989 The LS1012A Development System (QDS) is a high-performance
990 development platform that supports the QorIQ LS1012A
991 Layerscape Architecture processor.
992
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +0530993config TARGET_LS1012ARDB
994 bool "Support ls1012ardb"
York Sun9533acf2016-09-26 08:09:26 -0700995 select ARCH_LS1012A
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +0530996 select ARM64
Tom Rinie5ec4812017-01-22 19:43:11 -0500997 select BOARD_LATE_INIT
Simon Glassfedb4282017-06-14 21:28:21 -0600998 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +0200999 imply SCSI_AHCI
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301000 help
1001 Support for Freescale LS1012ARDB platform.
1002 The LS1012A Reference design board (RDB) is a high-performance
1003 development platform that supports the QorIQ LS1012A
1004 Layerscape Architecture processor.
1005
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301006config TARGET_LS1012A2G5RDB
1007 bool "Support ls1012a2g5rdb"
1008 select ARCH_LS1012A
1009 select ARM64
1010 select BOARD_LATE_INIT
1011 imply SCSI
1012 help
1013 Support for Freescale LS1012A2G5RDB platform.
1014 The LS1012A 2G5 Reference design board (RDB) is a high-performance
1015 development platform that supports the QorIQ LS1012A
1016 Layerscape Architecture processor.
1017
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301018config TARGET_LS1012AFRDM
1019 bool "Support ls1012afrdm"
York Sun9533acf2016-09-26 08:09:26 -07001020 select ARCH_LS1012A
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301021 select ARM64
1022 help
1023 Support for Freescale LS1012AFRDM platform.
1024 The LS1012A Freedom board (FRDM) is a high-performance
1025 development platform that supports the QorIQ LS1012A
1026 Layerscape Architecture processor.
1027
Ashish Kumare84a3242017-08-31 16:12:54 +05301028config TARGET_LS1088ARDB
1029 bool "Support ls1088ardb"
1030 select ARCH_LS1088A
1031 select ARM64
1032 select ARMV8_MULTIENTRY
1033 select ARCH_MISC_INIT
1034 select BOARD_LATE_INIT
Ashish Kumar099f4092017-11-06 13:18:43 +05301035 select SUPPORT_SPL
Ashish Kumare84a3242017-08-31 16:12:54 +05301036 help
1037 Support for NXP LS1088ARDB platform.
1038 The LS1088A Reference design board (RDB) is a high-performance
1039 development platform that supports the QorIQ LS1088A
1040 Layerscape Architecture processor.
1041
Wang Huan550e3dc2014-09-05 13:52:44 +08001042config TARGET_LS1021AQDS
Alison Wang0de15702014-12-03 16:18:09 +08001043 bool "Support ls1021aqds"
Tom Rinie5ec4812017-01-22 19:43:11 -05001044 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301045 select CPU_V7A
Hongbo Zhangadee1d42016-09-21 18:31:04 +08001046 select CPU_V7_HAS_NONSEC
1047 select CPU_V7_HAS_VIRT
Alison Wang50f0c662014-12-03 15:00:45 +08001048 select SUPPORT_SPL
York Sun0a37cf82016-09-26 08:09:27 -07001049 select ARCH_LS1021A
Masahiro Yamada217f92b2016-08-30 16:22:22 +09001050 select ARCH_SUPPORT_PSCI
York Sun5e8bd7e2016-09-26 08:09:29 -07001051 select LS1_DEEP_SLEEP
York Sund26e34c2016-12-28 08:43:40 -08001052 select SYS_FSL_DDR
Simon Glassa5d67542017-01-23 13:31:20 -07001053 select BOARD_EARLY_INIT_F
Simon Glassfedb4282017-06-14 21:28:21 -06001054 imply SCSI
Masahiro Yamada217f92b2016-08-30 16:22:22 +09001055
Wang Huanc8a7d9d2014-09-05 13:52:45 +08001056config TARGET_LS1021ATWR
Alison Wang0de15702014-12-03 16:18:09 +08001057 bool "Support ls1021atwr"
Tom Rinie5ec4812017-01-22 19:43:11 -05001058 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301059 select CPU_V7A
Hongbo Zhangadee1d42016-09-21 18:31:04 +08001060 select CPU_V7_HAS_NONSEC
1061 select CPU_V7_HAS_VIRT
Alison Wang50f0c662014-12-03 15:00:45 +08001062 select SUPPORT_SPL
York Sun0a37cf82016-09-26 08:09:27 -07001063 select ARCH_LS1021A
Masahiro Yamada217f92b2016-08-30 16:22:22 +09001064 select ARCH_SUPPORT_PSCI
York Sun5e8bd7e2016-09-26 08:09:29 -07001065 select LS1_DEEP_SLEEP
Simon Glassa5d67542017-01-23 13:31:20 -07001066 select BOARD_EARLY_INIT_F
Simon Glassfedb4282017-06-14 21:28:21 -06001067 imply SCSI
Wang Huanc8a7d9d2014-09-05 13:52:45 +08001068
Feng Li20c700f2016-11-03 14:15:17 +08001069config TARGET_LS1021AIOT
1070 bool "Support ls1021aiot"
Tom Rinie5ec4812017-01-22 19:43:11 -05001071 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301072 select CPU_V7A
Feng Li20c700f2016-11-03 14:15:17 +08001073 select CPU_V7_HAS_NONSEC
1074 select CPU_V7_HAS_VIRT
1075 select SUPPORT_SPL
1076 select ARCH_LS1021A
1077 select ARCH_SUPPORT_PSCI
Simon Glassfedb4282017-06-14 21:28:21 -06001078 imply SCSI
Feng Li20c700f2016-11-03 14:15:17 +08001079 help
1080 Support for Freescale LS1021AIOT platform.
1081 The LS1021A Freescale board (IOT) is a high-performance
1082 development platform that supports the QorIQ LS1021A
1083 Layerscape Architecture processor.
1084
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001085config TARGET_LS1043AQDS
1086 bool "Support ls1043aqds"
York Sun0a37cf82016-09-26 08:09:27 -07001087 select ARCH_LS1043A
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001088 select ARM64
1089 select ARMV8_MULTIENTRY
Tom Rinie5ec4812017-01-22 19:43:11 -05001090 select BOARD_LATE_INIT
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001091 select SUPPORT_SPL
Simon Glassa5d67542017-01-23 13:31:20 -07001092 select BOARD_EARLY_INIT_F
Simon Glassfedb4282017-06-14 21:28:21 -06001093 imply SCSI
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001094 help
1095 Support for Freescale LS1043AQDS platform.
1096
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001097config TARGET_LS1043ARDB
1098 bool "Support ls1043ardb"
York Sun0a37cf82016-09-26 08:09:27 -07001099 select ARCH_LS1043A
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001100 select ARM64
Hou Zhiqiang831c0682015-10-26 19:47:57 +08001101 select ARMV8_MULTIENTRY
Tom Rinie5ec4812017-01-22 19:43:11 -05001102 select BOARD_LATE_INIT
Gong Qianyu3ad44722015-10-26 19:47:53 +08001103 select SUPPORT_SPL
Simon Glassa5d67542017-01-23 13:31:20 -07001104 select BOARD_EARLY_INIT_F
Simon Glassfedb4282017-06-14 21:28:21 -06001105 imply SCSI
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001106 help
1107 Support for Freescale LS1043ARDB platform.
1108
Shaohui Xie126fe702016-09-07 17:56:14 +08001109config TARGET_LS1046AQDS
1110 bool "Support ls1046aqds"
York Sunda28e582016-09-26 08:09:24 -07001111 select ARCH_LS1046A
Shaohui Xie126fe702016-09-07 17:56:14 +08001112 select ARM64
1113 select ARMV8_MULTIENTRY
Tom Rinie5ec4812017-01-22 19:43:11 -05001114 select BOARD_LATE_INIT
Shaohui Xie126fe702016-09-07 17:56:14 +08001115 select SUPPORT_SPL
1116 select DM_SPI_FLASH if DM_SPI
Simon Glassa5d67542017-01-23 13:31:20 -07001117 select BOARD_EARLY_INIT_F
Simon Glassfedb4282017-06-14 21:28:21 -06001118 imply SCSI
Shaohui Xie126fe702016-09-07 17:56:14 +08001119 help
1120 Support for Freescale LS1046AQDS platform.
1121 The LS1046A Development System (QDS) is a high-performance
1122 development platform that supports the QorIQ LS1046A
1123 Layerscape Architecture processor.
1124
Mingkai Hudd029362016-09-07 18:47:28 +08001125config TARGET_LS1046ARDB
1126 bool "Support ls1046ardb"
York Sunda28e582016-09-26 08:09:24 -07001127 select ARCH_LS1046A
Mingkai Hudd029362016-09-07 18:47:28 +08001128 select ARM64
1129 select ARMV8_MULTIENTRY
Tom Rinie5ec4812017-01-22 19:43:11 -05001130 select BOARD_LATE_INIT
Mingkai Hudd029362016-09-07 18:47:28 +08001131 select SUPPORT_SPL
1132 select DM_SPI_FLASH if DM_SPI
Hou Zhiqiangdccef2e2016-12-09 16:09:01 +08001133 select POWER_MC34VR500
Simon Glassa5d67542017-01-23 13:31:20 -07001134 select BOARD_EARLY_INIT_F
Simon Glassfedb4282017-06-14 21:28:21 -06001135 imply SCSI
Mingkai Hudd029362016-09-07 18:47:28 +08001136 help
1137 Support for Freescale LS1046ARDB platform.
1138 The LS1046A Reference Design Board (RDB) is a high-performance
1139 development platform that supports the QorIQ LS1046A
1140 Layerscape Architecture processor.
1141
Masahiro Yamadadd840582014-07-30 14:08:14 +09001142config TARGET_H2200
1143 bool "Support h2200"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +01001144 select CPU_PXA
Masahiro Yamadadd840582014-07-30 14:08:14 +09001145
Vasily Khoruzhickf19eb152016-03-20 18:37:00 -07001146config TARGET_ZIPITZ2
1147 bool "Support zipitz2"
1148 select CPU_PXA
1149
Masahiro Yamadadd840582014-07-30 14:08:14 +09001150config TARGET_COLIBRI_PXA270
1151 bool "Support colibri_pxa270"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +01001152 select CPU_PXA
Masahiro Yamadadd840582014-07-30 14:08:14 +09001153
Masahiro Yamada66cba042014-10-03 19:21:07 +09001154config ARCH_UNIPHIER
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +09001155 bool "Socionext UniPhier SoCs"
Tom Rinie5ec4812017-01-22 19:43:11 -05001156 select BOARD_LATE_INIT
Masahiro Yamada4e819952015-03-31 12:47:54 +09001157 select DM
Masahiro Yamadab800cbd2016-02-16 17:03:50 +09001158 select DM_GPIO
Masahiro Yamada4e819952015-03-31 12:47:54 +09001159 select DM_I2C
Masahiro Yamada4aceb3f2016-02-18 19:52:49 +09001160 select DM_MMC
Masahiro Yamada4fb96c42016-10-08 13:25:31 +09001161 select DM_RESET
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001162 select DM_SERIAL
Masahiro Yamada47a79f62016-09-14 01:06:00 +09001163 select DM_USB
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001164 select OF_CONTROL
1165 select OF_LIBFDT
Masahiro Yamada27350c92016-09-17 03:33:01 +09001166 select PINCTRL
Ley Foon Tan0680f1b2017-05-03 17:13:32 +08001167 select SPL_BOARD_INIT if SPL
Masahiro Yamada561ca642017-01-21 18:05:22 +09001168 select SPL_DM if SPL
1169 select SPL_LIBCOMMON_SUPPORT if SPL
1170 select SPL_LIBGENERIC_SUPPORT if SPL
1171 select SPL_OF_CONTROL if SPL
1172 select SPL_PINCTRL if SPL
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001173 select SUPPORT_SPL
Tom Rini91d27a12017-06-02 11:03:50 -04001174 imply FAT_WRITE
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +09001175 help
1176 Support for UniPhier SoC family developed by Socionext Inc.
1177 (formerly, System LSI Business Division of Panasonic Corporation)
Masahiro Yamada66cba042014-10-03 19:21:07 +09001178
Vikas Manocha0a61ee82016-01-15 17:49:06 -08001179config STM32
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001180 bool "Support STMicroelectronics STM32 MCU with cortex M"
rev13@wp.pled09a552015-03-01 12:44:42 +01001181 select CPU_V7M
Kamil Lulko66562412015-12-01 09:08:19 +01001182 select DM
1183 select DM_SERIAL
Tom Rini3a649402017-03-18 09:01:44 -04001184 select SYS_THUMB_BUILD
rev13@wp.pled09a552015-03-01 12:44:42 +01001185
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001186config ARCH_STI
1187 bool "Support STMicrolectronics SoCs"
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301188 select CPU_V7A
Patrice Chotard214a17e2017-02-21 13:37:07 +01001189 select DM
1190 select DM_SERIAL
Patrice Chotardeee20f82017-02-21 13:37:09 +01001191 select BLK
1192 select DM_MMC
Patrice Chotard584861f2017-03-22 10:54:03 +01001193 select DM_RESET
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001194 help
1195 Support for STMicroelectronics STiH407/10 SoC family.
1196 This SoC is used on Linaro 96Board STiH410-B2260
1197
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001198config ARCH_STM32MP
1199 bool "Support STMicroelectronics STM32MP Socs with cortex A"
Patrick Delaunay08772f62018-03-20 10:54:53 +01001200 select ARCH_MISC_INIT
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001201 select BOARD_LATE_INIT
1202 select CLK
1203 select DM
1204 select DM_GPIO
1205 select DM_RESET
1206 select DM_SERIAL
1207 select OF_CONTROL
1208 select OF_LIBFDT
1209 select PINCTRL
1210 select REGMAP
1211 select SUPPORT_SPL
1212 select SYSCON
Patrick Delaunay86634a92018-03-20 14:15:06 +01001213 select SYSRESET
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001214 select SYS_THUMB_BUILD
1215 help
1216 Support for STM32MP SoC family developed by STMicroelectronics,
1217 MPUs based on ARM cortex A core
1218 U-BOOT is running in DDR and SPL support is the unsecure First Stage
1219 BootLoader (FSBL)
1220
Simon Glass2444dae2015-08-30 16:55:38 -06001221config ARCH_ROCKCHIP
1222 bool "Support Rockchip SoCs"
Simon Glass2444dae2015-08-30 16:55:38 -06001223 select OF_CONTROL
Simon Glassaa150382016-06-12 23:30:14 -06001224 select BLK
Simon Glass2444dae2015-08-30 16:55:38 -06001225 select DM
Kever Yanga381bcf2016-07-19 21:16:59 +08001226 select SPL_DM if SPL
Simon Glassaa150382016-06-12 23:30:14 -06001227 select SYS_MALLOC_F
Tom Rini3a649402017-03-18 09:01:44 -04001228 select SYS_THUMB_BUILD if !ARM64
Kever Yanga381bcf2016-07-19 21:16:59 +08001229 select SPL_SYS_MALLOC_SIMPLE if SPL
Simon Glassaa150382016-06-12 23:30:14 -06001230 select DM_GPIO
1231 select DM_I2C
1232 select DM_MMC
1233 select DM_SERIAL
1234 select DM_SPI
1235 select DM_SPI_FLASH
MengDongyang892742d2016-08-24 12:02:18 +08001236 select DM_USB if USB
Kever Yang8d29e3a2016-09-23 15:57:21 +08001237 select DM_PWM
1238 select DM_REGULATOR
Philipp Tomsich14ad6eb2017-10-10 16:21:03 +02001239 select ENABLE_ARM_SOC_BOOT0_HOOK
Adam Fordf1b1f772018-04-15 13:51:26 -04001240 select SPI
Tom Rini48f62322017-08-25 17:50:27 -04001241 imply CMD_FASTBOOT
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001242 imply DISTRO_DEFAULTS
Tom Rini48f62322017-08-25 17:50:27 -04001243 imply FASTBOOT
Tom Rini91d27a12017-06-02 11:03:50 -04001244 imply FAT_WRITE
Tom Rini48f62322017-08-25 17:50:27 -04001245 imply USB_FUNCTION_FASTBOOT
Kever Yang0532cee2017-09-08 11:00:54 +08001246 imply SPL_SYSRESET
Kever Yange19fa892017-09-13 09:39:06 +08001247 imply TPL_SYSRESET
Philipp Tomsich8e8bccc2017-09-20 13:50:13 +02001248 imply ADC
1249 imply SARADC_ROCKCHIP
Kever Yangc3c03312018-04-19 11:37:09 +08001250 imply SYS_NS16550
Simon Glass2444dae2015-08-30 16:55:38 -06001251
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07001252config TARGET_THUNDERX_88XX
1253 bool "Support ThunderX 88xx"
Marek Vasutb4ba1692016-06-01 02:33:53 +02001254 select ARM64
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07001255 select OF_CONTROL
Tom Rini067716b2016-08-22 08:22:17 -04001256 select SYS_CACHE_SHIFT_7
Alexander Grafcf2c7782018-01-25 12:05:52 +01001257 select PL01X_SERIAL
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07001258
maxims@google.com4697abe2017-01-18 13:44:55 -08001259config ARCH_ASPEED
1260 bool "Support Aspeed SoCs"
1261 select OF_CONTROL
1262 select DM
1263
Masahiro Yamadadd840582014-07-30 14:08:14 +09001264endchoice
1265
Andrew F. Davis5fbed8f2018-02-14 11:53:37 -06001266config TI_SECURE_DEVICE
1267 bool "HS Device Type Support"
1268 depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS
1269 help
1270 If a high secure (HS) device type is being used, this config
1271 must be set. This option impacts various aspects of the
1272 build system (to create signed boot images that can be
1273 authenticated) and the code. See the doc/README.ti-secure
1274 file for further details.
1275
maxims@google.com4697abe2017-01-18 13:44:55 -08001276source "arch/arm/mach-aspeed/Kconfig"
1277
Masahiro Yamada4614b892015-02-20 17:04:01 +09001278source "arch/arm/mach-at91/Kconfig"
1279
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +09001280source "arch/arm/mach-bcm283x/Kconfig"
Masahiro Yamada3491ba62014-08-31 07:11:01 +09001281
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +09001282source "arch/arm/mach-davinci/Kconfig"
Simon Glass34e609c2015-02-05 21:41:39 -07001283
Thomas Abraham77b55e82015-08-03 17:58:00 +05301284source "arch/arm/mach-exynos/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +09001285
Masahiro Yamada72a8ff42015-02-20 17:04:08 +09001286source "arch/arm/mach-highbank/Kconfig"
Masahiro Yamadaef2b6942014-08-31 07:11:07 +09001287
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +09001288source "arch/arm/mach-integrator/Kconfig"
1289
Masahiro Yamada39a72342015-02-20 17:04:11 +09001290source "arch/arm/mach-keystone/Kconfig"
Masahiro Yamadac338f092014-08-31 07:11:05 +09001291
Masahiro Yamada56f86e32015-02-20 17:04:06 +09001292source "arch/arm/mach-kirkwood/Kconfig"
Masahiro Yamada47539e22014-08-31 07:10:59 +09001293
Stefan Roesec3d89142015-08-25 13:18:38 +02001294source "arch/arm/mach-mvebu/Kconfig"
1295
York Sun0a37cf82016-09-26 08:09:27 -07001296source "arch/arm/cpu/armv7/ls102xa/Kconfig"
1297
Fabio Estevam07df6972017-11-03 13:40:08 -02001298source "arch/arm/mach-imx/mx2/Kconfig"
1299
Peng Fan7a7391f2018-01-10 13:20:19 +08001300source "arch/arm/mach-imx/mx5/Kconfig"
Adrian Alonso1a8150d2015-09-03 11:49:28 -05001301
Stefano Babic552a8482017-06-29 10:16:06 +02001302source "arch/arm/mach-imx/mx6/Kconfig"
Boris BREZILLON89ebc822015-03-04 13:13:03 +01001303
Peng Fan7a7391f2018-01-10 13:20:19 +08001304source "arch/arm/mach-imx/mx7/Kconfig"
1305
1306source "arch/arm/mach-imx/mx7ulp/Kconfig"
1307
1308source "arch/arm/mach-imx/mx8m/Kconfig"
Andrej Rosano424ee3d2015-04-08 18:56:29 +02001309
Stefan Agnerc5343d42018-02-06 09:44:34 +01001310source "arch/arm/mach-imx/mxs/Kconfig"
1311
Tom Rini983e3702016-11-07 21:34:54 -05001312source "arch/arm/mach-omap2/Kconfig"
Madan Srinivas63847262016-05-19 19:10:43 -05001313
York Sunda28e582016-09-26 08:09:24 -07001314source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
1315
Masahiro Yamada3e93b4e2015-02-20 17:04:09 +09001316source "arch/arm/mach-orion5x/Kconfig"
Masahiro Yamada22f2be72014-08-31 07:11:06 +09001317
Nobuhiro Iwamatsubadbb632015-10-09 16:40:09 +09001318source "arch/arm/mach-rmobile/Kconfig"
Masahiro Yamadaf40b9892014-08-31 07:10:57 +09001319
Beniamino Galvanibfcef282016-05-08 08:30:16 +02001320source "arch/arm/mach-meson/Kconfig"
1321
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03001322source "arch/arm/mach-qemu/Kconfig"
1323
Simon Glass2444dae2015-08-30 16:55:38 -06001324source "arch/arm/mach-rockchip/Kconfig"
1325
Minkyu Kang225f5ee2015-11-20 15:24:57 +09001326source "arch/arm/mach-s5pc1xx/Kconfig"
Simon Glass311757b2014-10-07 22:01:50 -06001327
Mateusz Kulikowski08592132016-03-31 23:12:32 +02001328source "arch/arm/mach-snapdragon/Kconfig"
1329
Masahiro Yamada7865f4b2015-04-21 20:38:20 +09001330source "arch/arm/mach-socfpga/Kconfig"
1331
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001332source "arch/arm/mach-sti/Kconfig"
1333
Vikas Manocha0a61ee82016-01-15 17:49:06 -08001334source "arch/arm/mach-stm32/Kconfig"
1335
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001336source "arch/arm/mach-stm32mp/Kconfig"
1337
Masahiro Yamada3abfd882017-04-28 19:42:18 +09001338source "arch/arm/mach-sunxi/Kconfig"
1339
Masahiro Yamada09f455d2015-02-20 17:04:04 +09001340source "arch/arm/mach-tegra/Kconfig"
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09001341
Masahiro Yamada4c425572015-02-27 02:26:42 +09001342source "arch/arm/mach-uniphier/Kconfig"
Masahiro Yamada66cba042014-10-03 19:21:07 +09001343
Stefan Agner7966b432017-03-13 18:41:36 -07001344source "arch/arm/cpu/armv7/vf610/Kconfig"
1345
Masahiro Yamada0107f242015-03-16 16:43:22 +09001346source "arch/arm/mach-zynq/Kconfig"
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09001347
Hans de Goedeea624e12014-11-14 09:34:30 +01001348source "arch/arm/cpu/armv7/Kconfig"
1349
Siva Durga Prasad Paladugu75580002015-06-10 15:50:56 +05301350source "arch/arm/cpu/armv8/zynqmp/Kconfig"
1351
Linus Walleij23b58772015-03-09 10:53:21 +01001352source "arch/arm/cpu/armv8/Kconfig"
1353
Stefano Babic552a8482017-06-29 10:16:06 +02001354source "arch/arm/mach-imx/Kconfig"
Boris BREZILLONa05a6042015-03-04 13:13:04 +01001355
Heiko Schocherd8ccbe92016-06-07 08:31:25 +02001356source "board/bosch/shc/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001357source "board/CarMediaLab/flea3/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001358source "board/Marvell/aspenite/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001359source "board/Marvell/gplugd/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001360source "board/armadeus/apf27/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001361source "board/armltd/vexpress/Kconfig"
1362source "board/armltd/vexpress64/Kconfig"
Steve Rae43486e42016-06-02 15:10:56 -07001363source "board/broadcom/bcm23550_w1d/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001364source "board/broadcom/bcm28155_ap/Kconfig"
Steve Raeabb16782014-11-11 11:32:18 -08001365source "board/broadcom/bcmcygnus/Kconfig"
1366source "board/broadcom/bcmnsp/Kconfig"
Jon Mason274bced2017-03-17 12:12:14 -04001367source "board/broadcom/bcmns2/Kconfig"
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07001368source "board/cavium/thunderx/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001369source "board/cirrus/edb93xx/Kconfig"
Felix Brack85ab0452018-01-23 18:27:22 +01001370source "board/eets/pdu001/Kconfig"
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301371source "board/freescale/ls2080a/Kconfig"
1372source "board/freescale/ls2080aqds/Kconfig"
1373source "board/freescale/ls2080ardb/Kconfig"
Ashish Kumare84a3242017-08-31 16:12:54 +05301374source "board/freescale/ls1088a/Kconfig"
Wang Huan550e3dc2014-09-05 13:52:44 +08001375source "board/freescale/ls1021aqds/Kconfig"
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001376source "board/freescale/ls1043aqds/Kconfig"
Wang Huanc8a7d9d2014-09-05 13:52:45 +08001377source "board/freescale/ls1021atwr/Kconfig"
Feng Li20c700f2016-11-03 14:15:17 +08001378source "board/freescale/ls1021aiot/Kconfig"
Shaohui Xie126fe702016-09-07 17:56:14 +08001379source "board/freescale/ls1046aqds/Kconfig"
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001380source "board/freescale/ls1043ardb/Kconfig"
Mingkai Hudd029362016-09-07 18:47:28 +08001381source "board/freescale/ls1046ardb/Kconfig"
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301382source "board/freescale/ls1012aqds/Kconfig"
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301383source "board/freescale/ls1012ardb/Kconfig"
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301384source "board/freescale/ls1012afrdm/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001385source "board/freescale/mx31pdk/Kconfig"
1386source "board/freescale/mx35pdk/Kconfig"
Eddy Petrișor9702ec02016-06-05 03:43:00 +03001387source "board/freescale/s32v234evb/Kconfig"
Dirk Eibach60083262017-02-22 16:07:23 +01001388source "board/gdsys/a38x/Kconfig"
Marcin Niestrojab38bf62017-01-25 09:53:08 +01001389source "board/grinn/chiliboard/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001390source "board/gumstix/pepper/Kconfig"
1391source "board/h2200/Kconfig"
Tom Rini345243e2015-09-02 15:32:20 -04001392source "board/hisilicon/hikey/Kconfig"
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001393source "board/hisilicon/poplar/Kconfig"
Ladislav Michla96c08f2017-04-01 17:17:16 +02001394source "board/isee/igep003x/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001395source "board/phytec/pcm051/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001396source "board/silica/pengwyn/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001397source "board/spear/spear300/Kconfig"
1398source "board/spear/spear310/Kconfig"
1399source "board/spear/spear320/Kconfig"
1400source "board/spear/spear600/Kconfig"
1401source "board/spear/x600/Kconfig"
Vikas Manocha9fa32b12014-11-18 10:42:22 -08001402source "board/st/stv0991/Kconfig"
Enric Balletbò i Serra9d1b2982015-09-07 07:43:20 +02001403source "board/tcl/sl50/Kconfig"
Gilles Gameiroa2bc4322015-02-10 01:36:01 -08001404source "board/birdland/bav335x/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001405source "board/timll/devkit3250/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001406source "board/toradex/colibri_pxa270/Kconfig"
Yegor Yefremov6ce89322015-05-29 19:27:29 +02001407source "board/vscom/baltos/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001408source "board/woodburn/Kconfig"
Albert ARIBAUD \(3ADEV\)412ae532015-03-31 11:40:51 +02001409source "board/work-microwave/work_92105/Kconfig"
Siva Durga Prasad Paladuguc436bf92018-02-28 13:26:53 +05301410source "board/xilinx/zynqmp/Kconfig"
Vasily Khoruzhickf19eb152016-03-20 18:37:00 -07001411source "board/zipitz2/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001412
Masahiro Yamada51b17d42014-09-01 11:06:34 +09001413source "arch/arm/Kconfig.debug"
1414
Masahiro Yamadadd840582014-07-30 14:08:14 +09001415endmenu
Philipp Tomsichb5299932017-08-03 23:23:55 +02001416
1417config SPL_LDSCRIPT
Mans Rullgard07a8f792018-04-21 16:11:10 +01001418 default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if (ARCH_MX23 || ARCH_MX28) && !SPL_FRAMEWORK
Philipp Tomsichb5299932017-08-03 23:23:55 +02001419 default "arch/arm/cpu/arm1136/u-boot-spl.lds" if CPU_ARM1136
1420 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64
1421
1422