blob: f056e03c3f23f3bd7df62495930d126c0eb76b47 [file] [log] [blame]
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001menu "ARM architecture"
2 depends on ARM
3
4config SYS_ARCH
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09005 default "arm"
6
Masahiro Yamada0d46c342014-09-14 03:01:51 +09007config ARM64
8 bool
Masahiro Yamada653e9fe2016-07-25 19:56:03 +09009 select PHYS_64BIT
Tom Rini84f9b612016-08-22 08:22:17 -040010 select SYS_CACHE_SHIFT_6
Masahiro Yamada0d46c342014-09-14 03:01:51 +090011
Stephen Warren81c21372017-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 Warrenb80fe6d2017-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 Warren80a93652018-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 Warren81c21372017-11-02 18:11:27 -060052endif
53
54config STATIC_RELA
55 bool
56 default y if ARM64 && !POSITION_INDEPENDENT
57
Lokesh Vutlaf94277d2016-03-24 16:02:00 +053058config DMA_ADDR_T_64BIT
59 bool
60 default y if ARM64
61
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +010062config HAS_VBAR
Tom Rinibca01962016-08-22 08:22:18 -040063 bool
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +010064
Albert ARIBAUDa3823222015-10-23 18:06:40 +020065config HAS_THUMB2
Tom Rinibca01962016-08-22 08:22:18 -040066 bool
Albert ARIBAUDa3823222015-10-23 18:06:40 +020067
Phil Edworthy3b8f16a2017-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 Vutla5a5bb6c2018-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 Vutlab2d00d62018-04-26 18:21:27 +053083config SYS_ARM_MMU
84 bool "MMU-based Paged Memory Management Support"
Lokesh Vutla5a5bb6c2018-04-26 18:21:28 +053085 select SYS_ARM_CACHE_CP15
Lokesh Vutlab2d00d62018-04-26 18:21:27 +053086 help
87 Select if you want MMU-based virtualised addressing space
88 support by paged memory management.
89
Tom Rinibacb52c2017-03-07 07:13:42 -050090# If set, the workarounds for these ARM errata are applied early during U-Boot
91# startup. Note that in general these options force the workarounds to be
92# applied; no CPU-type/version detection exists, unlike the similar options in
93# the Linux kernel. Do not set these options unless they apply! Also note that
94# the following can be machine specific errata. These do have ability to
95# provide rudimentary version and machine specific checks, but expect no
96# product checks:
97# CONFIG_ARM_ERRATA_430973
98# CONFIG_ARM_ERRATA_454179
99# CONFIG_ARM_ERRATA_621766
100# CONFIG_ARM_ERRATA_798870
101# CONFIG_ARM_ERRATA_801819
102config ARM_ERRATA_430973
103 bool
104
105config ARM_ERRATA_454179
106 bool
107
108config ARM_ERRATA_621766
109 bool
110
111config ARM_ERRATA_716044
112 bool
113
Siarhei Siamashkafe038a72017-03-06 03:16:53 +0200114config ARM_ERRATA_725233
115 bool
116
Tom Rinibacb52c2017-03-07 07:13:42 -0500117config ARM_ERRATA_742230
118 bool
119
120config ARM_ERRATA_743622
121 bool
122
123config ARM_ERRATA_751472
124 bool
125
126config ARM_ERRATA_761320
127 bool
128
129config ARM_ERRATA_773022
130 bool
131
132config ARM_ERRATA_774769
133 bool
134
135config ARM_ERRATA_794072
136 bool
137
138config ARM_ERRATA_798870
139 bool
140
141config ARM_ERRATA_801819
142 bool
143
144config ARM_ERRATA_826974
145 bool
146
147config ARM_ERRATA_828024
148 bool
149
150config ARM_ERRATA_829520
151 bool
152
153config ARM_ERRATA_833069
154 bool
155
156config ARM_ERRATA_833471
157 bool
158
Peng Fan5ac341f2017-08-08 13:34:52 +0800159config ARM_ERRATA_845369
160 bool
161
Nisal Menukafaa993a2017-04-26 16:18:01 -0500162config ARM_ERRATA_852421
163 bool
164
165config ARM_ERRATA_852423
166 bool
167
Alison Wangc1293872017-12-28 13:00:55 +0800168config ARM_ERRATA_855873
169 bool
170
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100171config CPU_ARM720T
Tom Rinibca01962016-08-22 08:22:18 -0400172 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400173 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530174 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100175
176config CPU_ARM920T
Tom Rinibca01962016-08-22 08:22:18 -0400177 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400178 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530179 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100180
181config CPU_ARM926EJS
Tom Rinibca01962016-08-22 08:22:18 -0400182 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400183 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530184 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100185
186config CPU_ARM946ES
Tom Rinibca01962016-08-22 08:22:18 -0400187 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400188 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530189 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100190
191config CPU_ARM1136
Tom Rinibca01962016-08-22 08:22:18 -0400192 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400193 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530194 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100195
196config CPU_ARM1176
Tom Rinibca01962016-08-22 08:22:18 -0400197 bool
198 select HAS_VBAR
Tom Rini84f9b612016-08-22 08:22:17 -0400199 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530200 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100201
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530202config CPU_V7A
Tom Rinibca01962016-08-22 08:22:18 -0400203 bool
204 select HAS_VBAR
205 select HAS_THUMB2
Tom Rini84f9b612016-08-22 08:22:17 -0400206 select SYS_CACHE_SHIFT_6
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530207 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100208
rev13@wp.plb3b57e82015-03-01 12:44:39 +0100209config CPU_V7M
210 bool
Tom Rinibca01962016-08-22 08:22:18 -0400211 select HAS_THUMB2
Phil Edworthy3b8f16a2017-06-01 07:33:28 +0100212 select THUMB2_KERNEL
Tom Rini84f9b612016-08-22 08:22:17 -0400213 select SYS_CACHE_SHIFT_5
rev13@wp.plb3b57e82015-03-01 12:44:39 +0100214
Michal Simekf4359382018-04-26 18:21:29 +0530215config CPU_V7R
216 bool
217 select HAS_THUMB2
218 select SYS_CACHE_SHIFT_6
219
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100220config CPU_PXA
Tom Rinibca01962016-08-22 08:22:18 -0400221 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400222 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530223 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100224
225config CPU_SA1100
Tom Rinibca01962016-08-22 08:22:18 -0400226 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400227 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530228 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100229
230config SYS_CPU
Tom Rinibca01962016-08-22 08:22:18 -0400231 default "arm720t" if CPU_ARM720T
232 default "arm920t" if CPU_ARM920T
233 default "arm926ejs" if CPU_ARM926EJS
234 default "arm946es" if CPU_ARM946ES
235 default "arm1136" if CPU_ARM1136
236 default "arm1176" if CPU_ARM1176
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530237 default "armv7" if CPU_V7A
Michal Simekf4359382018-04-26 18:21:29 +0530238 default "armv7" if CPU_V7R
Tom Rinibca01962016-08-22 08:22:18 -0400239 default "armv7m" if CPU_V7M
240 default "pxa" if CPU_PXA
241 default "sa1100" if CPU_SA1100
Masahiro Yamadadade3b02014-11-06 11:39:27 +0900242 default "armv8" if ARM64
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100243
Marek Vasutb06c9542016-05-26 18:01:36 +0200244config SYS_ARM_ARCH
245 int
246 default 4 if CPU_ARM720T
247 default 4 if CPU_ARM920T
248 default 5 if CPU_ARM926EJS
249 default 5 if CPU_ARM946ES
250 default 6 if CPU_ARM1136
251 default 6 if CPU_ARM1176
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530252 default 7 if CPU_V7A
Marek Vasutb06c9542016-05-26 18:01:36 +0200253 default 7 if CPU_V7M
Michal Simekf4359382018-04-26 18:21:29 +0530254 default 7 if CPU_V7R
Marek Vasutb06c9542016-05-26 18:01:36 +0200255 default 5 if CPU_PXA
256 default 4 if CPU_SA1100
257 default 8 if ARM64
258
Tom Rini84f9b612016-08-22 08:22:17 -0400259config SYS_CACHE_SHIFT_5
260 bool
261
262config SYS_CACHE_SHIFT_6
263 bool
264
265config SYS_CACHE_SHIFT_7
266 bool
267
268config SYS_CACHELINE_SIZE
269 int
270 default 128 if SYS_CACHE_SHIFT_7
271 default 64 if SYS_CACHE_SHIFT_6
272 default 32 if SYS_CACHE_SHIFT_5
273
Andre Przywara7b169252018-04-12 04:24:46 +0300274config SYS_ARCH_TIMER
275 bool "ARM Generic Timer support"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530276 depends on CPU_V7A || ARM64
Andre Przywara7b169252018-04-12 04:24:46 +0300277 default y if ARM64
278 help
279 The ARM Generic Timer (aka arch-timer) provides an architected
280 interface to a timer source on an SoC.
281 It is mandantory for ARMv8 implementation and widely available
282 on ARMv7 systems.
283
Masahiro Yamadae8ead732017-04-14 11:10:23 +0900284config ARM_SMCCC
285 bool "Support for ARM SMC Calling Convention (SMCCC)"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530286 depends on CPU_V7A || ARM64
Masahiro Yamada836c55d2017-04-14 11:10:24 +0900287 select ARM_PSCI_FW
Masahiro Yamadae8ead732017-04-14 11:10:23 +0900288 help
289 Say Y here if you want to enable ARM SMC Calling Convention.
290 This should be enabled if U-Boot needs to communicate with system
291 firmware (for example, PSCI) according to SMCCC.
292
Linus Walleij800d6fd2015-01-23 11:50:53 +0100293config SEMIHOSTING
294 bool "support boot from semihosting"
295 help
296 In emulated environments, semihosting is a way for
297 the hosted environment to call out to the emulator to
298 retrieve files from the host machine.
299
Tom Rini1c640a62017-03-18 09:01:44 -0400300config SYS_THUMB_BUILD
301 bool "Build U-Boot using the Thumb instruction set"
302 depends on !ARM64
303 help
304 Use this flag to build U-Boot using the Thumb instruction set for
305 ARM architectures. Thumb instruction set provides better code
306 density. For ARM architectures that support Thumb2 this flag will
307 result in Thumb2 code generated by GCC.
308
309config SPL_SYS_THUMB_BUILD
310 bool "Build SPL using the Thumb instruction set"
311 default y if SYS_THUMB_BUILD
312 depends on !ARM64
313 help
314 Use this flag to build SPL using the Thumb instruction set for
315 ARM architectures. Thumb instruction set provides better code
316 density. For ARM architectures that support Thumb2 this flag will
317 result in Thumb2 code generated by GCC.
318
Peng Fan10ddab42015-08-19 15:48:57 +0800319config SYS_L2CACHE_OFF
320 bool "L2cache off"
321 help
322 If SoC does not support L2CACHE or one do not want to enable
323 L2CACHE, choose this option.
324
Andre Przywara48321ba2016-05-31 10:45:06 -0700325config ENABLE_ARM_SOC_BOOT0_HOOK
326 bool "prepare BOOT0 header"
327 help
328 If the SoC's BOOT0 requires a header area filled with (magic)
Simon Goldschmidt387218a2018-02-13 13:18:00 +0100329 values, then choose this option, and create a file included as
330 <asm/arch/boot0.h> which contains the required assembler code.
Andre Przywara48321ba2016-05-31 10:45:06 -0700331
Andre Przywara4330eb92017-02-16 01:20:21 +0000332config ARM_CORTEX_CPU_IS_UP
333 bool
334 default n
335
Fabio Estevam988f5052016-12-15 19:30:40 -0200336config USE_ARCH_MEMCPY
337 bool "Use an assembly optimized implementation of memcpy"
Tom Rini443b5162017-01-12 13:16:02 -0500338 default y
Masahiro Yamadae55f1462016-12-19 19:31:02 +0900339 depends on !ARM64
Fabio Estevam988f5052016-12-15 19:30:40 -0200340 help
341 Enable the generation of an optimized version of memcpy.
342 Such implementation may be faster under some conditions
343 but may increase the binary size.
344
Tom Rini443b5162017-01-12 13:16:02 -0500345config SPL_USE_ARCH_MEMCPY
Andy Yan524f3ce2017-06-28 16:27:37 +0800346 bool "Use an assembly optimized implementation of memcpy for SPL"
Tom Rini443b5162017-01-12 13:16:02 -0500347 default y if USE_ARCH_MEMCPY
348 depends on !ARM64
349 help
350 Enable the generation of an optimized version of memcpy.
351 Such implementation may be faster under some conditions
352 but may increase the binary size.
353
Fabio Estevam988f5052016-12-15 19:30:40 -0200354config USE_ARCH_MEMSET
355 bool "Use an assembly optimized implementation of memset"
Tom Rini443b5162017-01-12 13:16:02 -0500356 default y
357 depends on !ARM64
358 help
359 Enable the generation of an optimized version of memset.
360 Such implementation may be faster under some conditions
361 but may increase the binary size.
362
363config SPL_USE_ARCH_MEMSET
Andy Yan524f3ce2017-06-28 16:27:37 +0800364 bool "Use an assembly optimized implementation of memset for SPL"
Tom Rini443b5162017-01-12 13:16:02 -0500365 default y if USE_ARCH_MEMSET
Masahiro Yamadae55f1462016-12-19 19:31:02 +0900366 depends on !ARM64
Fabio Estevam988f5052016-12-15 19:30:40 -0200367 help
368 Enable the generation of an optimized version of memset.
369 Such implementation may be faster under some conditions
370 but may increase the binary size.
371
Alison Wang73818d52016-11-10 10:49:03 +0800372config ARM64_SUPPORT_AARCH32
373 bool "ARM64 system support AArch32 execution state"
374 default y if ARM64 && !TARGET_THUNDERX_88XX
375 help
376 This ARM64 system supports AArch32 execution state.
377
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900378choice
379 prompt "Target select"
Simon Glassdfd904a2015-08-30 19:19:30 -0600380 default TARGET_HIKEY
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900381
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900382config ARCH_AT91
383 bool "Atmel AT91"
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +0800384 select SPL_BOARD_INIT if SPL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900385
386config TARGET_EDB93XX
387 bool "Support edb93xx"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100388 select CPU_ARM920T
Alexander Graf2184ccd2018-01-25 12:05:50 +0100389 select PL010_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900390
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900391config TARGET_ASPENITE
392 bool "Support aspenite"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100393 select CPU_ARM926EJS
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900394
395config TARGET_GPLUGD
396 bool "Support gplugd"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100397 select CPU_ARM926EJS
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900398
Masahiro Yamadae604ef92014-08-31 07:11:01 +0900399config ARCH_DAVINCI
400 bool "TI DaVinci"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100401 select CPU_ARM926EJS
Simon Glassd09f3772017-08-04 16:34:43 -0600402 imply CMD_SAVES
Masahiro Yamadae604ef92014-08-31 07:11:01 +0900403 help
404 Support for TI's DaVinci platform.
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900405
Masahiro Yamadad7570852014-08-31 07:10:59 +0900406config KIRKWOOD
407 bool "Marvell Kirkwood"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100408 select CPU_ARM926EJS
Simon Glass7a99a872017-01-23 13:31:20 -0700409 select BOARD_EARLY_INIT_F
Simon Glass95d31412017-01-23 13:31:21 -0700410 select ARCH_MISC_INIT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900411
Stefan Roese383e0c12015-08-25 13:18:38 +0200412config ARCH_MVEBU
Stefan Roesecb410332016-05-25 08:13:45 +0200413 bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
Stefan Roese096de4f2015-09-01 11:27:52 +0200414 select OF_CONTROL
415 select OF_SEPARATE
416 select DM
Stefan Roese05b38c12015-11-19 07:46:15 +0100417 select DM_ETH
Stefan Roese7f9f8e32015-09-02 08:41:41 +0200418 select DM_SERIAL
Stefan Roese49e7d772015-11-20 13:51:57 +0100419 select DM_SPI
420 select DM_SPI_FLASH
Adam Ford4e96ff82018-04-15 13:51:26 -0400421 select SPI
Stefan Roese9b1e2312014-10-22 12:13:19 +0200422
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900423config TARGET_DEVKIT3250
424 bool "Support devkit3250"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100425 select CPU_ARM926EJS
Vladimir Zapolskiy89f86a22015-07-18 01:47:11 +0300426 select SUPPORT_SPL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900427
Albert ARIBAUD \(3ADEV\)ee69a392015-03-31 11:40:51 +0200428config TARGET_WORK_92105
429 bool "Support work_92105"
430 select CPU_ARM926EJS
431 select SUPPORT_SPL
432
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900433config TARGET_APF27
434 bool "Support apf27"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100435 select CPU_ARM926EJS
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900436 select SUPPORT_SPL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900437
Masahiro Yamada04ffbc12014-08-31 07:11:06 +0900438config ORION5X
439 bool "Marvell Orion"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100440 select CPU_ARM926EJS
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900441
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900442config TARGET_SPEAR300
443 bool "Support spear300"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100444 select CPU_ARM926EJS
Simon Glass7a99a872017-01-23 13:31:20 -0700445 select BOARD_EARLY_INIT_F
Simon Glassd09f3772017-08-04 16:34:43 -0600446 imply CMD_SAVES
Alexander Graf65bfb422018-01-25 12:05:51 +0100447 select PL011_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900448
449config TARGET_SPEAR310
450 bool "Support spear310"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100451 select CPU_ARM926EJS
Simon Glass7a99a872017-01-23 13:31:20 -0700452 select BOARD_EARLY_INIT_F
Simon Glassd09f3772017-08-04 16:34:43 -0600453 imply CMD_SAVES
Alexander Graf65bfb422018-01-25 12:05:51 +0100454 select PL011_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900455
456config TARGET_SPEAR320
457 bool "Support spear320"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100458 select CPU_ARM926EJS
Simon Glass7a99a872017-01-23 13:31:20 -0700459 select BOARD_EARLY_INIT_F
Simon Glassd09f3772017-08-04 16:34:43 -0600460 imply CMD_SAVES
Alexander Graf65bfb422018-01-25 12:05:51 +0100461 select PL011_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900462
463config TARGET_SPEAR600
464 bool "Support spear600"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100465 select CPU_ARM926EJS
Simon Glass7a99a872017-01-23 13:31:20 -0700466 select BOARD_EARLY_INIT_F
Simon Glassd09f3772017-08-04 16:34:43 -0600467 imply CMD_SAVES
Alexander Graf65bfb422018-01-25 12:05:51 +0100468 select PL011_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900469
Vikas Manocha33913c52014-11-18 10:42:22 -0800470config TARGET_STV0991
471 bool "Support stv0991"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530472 select CPU_V7A
Masahiro Yamada0906a822015-03-31 12:48:01 +0900473 select DM
474 select DM_SERIAL
Vikas Manocha8cc062f2015-07-02 18:29:41 -0700475 select DM_SPI
476 select DM_SPI_FLASH
Adam Ford4e96ff82018-04-15 13:51:26 -0400477 select SPI
Vikas Manocha8cc062f2015-07-02 18:29:41 -0700478 select SPI_FLASH
Alexander Graf633ef892018-01-25 12:05:52 +0100479 select PL01X_SERIAL
Vikas Manocha33913c52014-11-18 10:42:22 -0800480
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900481config TARGET_X600
482 bool "Support x600"
Tom Rini22d567e2017-01-22 19:43:11 -0500483 select BOARD_LATE_INIT
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100484 select CPU_ARM926EJS
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900485 select SUPPORT_SPL
Alexander Graf65bfb422018-01-25 12:05:51 +0100486 select PL011_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900487
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900488config TARGET_MX31PDK
489 bool "Support mx31pdk"
Tom Rini22d567e2017-01-22 19:43:11 -0500490 select BOARD_LATE_INIT
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100491 select CPU_ARM1136
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900492 select SUPPORT_SPL
Simon Glass7a99a872017-01-23 13:31:20 -0700493 select BOARD_EARLY_INIT_F
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900494
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900495config TARGET_WOODBURN
496 bool "Support woodburn"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100497 select CPU_ARM1136
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900498
499config TARGET_WOODBURN_SD
500 bool "Support woodburn_sd"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100501 select CPU_ARM1136
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900502 select SUPPORT_SPL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900503
504config TARGET_FLEA3
505 bool "Support flea3"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100506 select CPU_ARM1136
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900507
508config TARGET_MX35PDK
509 bool "Support mx35pdk"
Tom Rini22d567e2017-01-22 19:43:11 -0500510 select BOARD_LATE_INIT
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100511 select CPU_ARM1136
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900512
Masahiro Yamadaed22cc72015-03-19 19:42:56 +0900513config ARCH_BCM283X
514 bool "Broadcom BCM283X family"
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900515 select DM
516 select DM_SERIAL
517 select DM_GPIO
Fabian Vogtf9e3ed52016-09-26 14:26:51 +0200518 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +0100519 select PL01X_SERIAL
Alexander Grafc8bda542018-01-29 13:57:20 +0100520 select SERIAL_SEARCH_ALL
Tom Rinid8532af2017-06-02 11:03:50 -0400521 imply FAT_WRITE
Stephen Warrendc7ea682015-02-16 12:16:15 -0700522
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900523config TARGET_VEXPRESS_CA15_TC2
524 bool "Support vexpress_ca15_tc2"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530525 select CPU_V7A
Hans de Goede85437352014-11-14 09:34:30 +0100526 select CPU_V7_HAS_NONSEC
527 select CPU_V7_HAS_VIRT
Alexander Graf65bfb422018-01-25 12:05:51 +0100528 select PL011_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900529
530config TARGET_VEXPRESS_CA5X2
531 bool "Support vexpress_ca5x2"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530532 select CPU_V7A
Alexander Graf65bfb422018-01-25 12:05:51 +0100533 select PL011_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900534
535config TARGET_VEXPRESS_CA9X4
536 bool "Support vexpress_ca9x4"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530537 select CPU_V7A
Alexander Graf65bfb422018-01-25 12:05:51 +0100538 select PL011_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900539
Steve Rae45f2c702016-06-02 15:10:56 -0700540config TARGET_BCM23550_W1D
541 bool "Support bcm23550_w1d"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530542 select CPU_V7A
Daniel Thompsona9e2c672017-05-19 17:26:58 +0100543 imply CRC32_VERIFY
Tom Rinid8532af2017-06-02 11:03:50 -0400544 imply FAT_WRITE
Steve Rae45f2c702016-06-02 15:10:56 -0700545
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900546config TARGET_BCM28155_AP
547 bool "Support bcm28155_ap"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530548 select CPU_V7A
Daniel Thompsona9e2c672017-05-19 17:26:58 +0100549 imply CRC32_VERIFY
Tom Rinid8532af2017-06-02 11:03:50 -0400550 imply FAT_WRITE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900551
Steve Rae1c5f31c2014-11-11 11:32:18 -0800552config TARGET_BCMCYGNUS
553 bool "Support bcmcygnus"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530554 select CPU_V7A
Daniel Thompsona9e2c672017-05-19 17:26:58 +0100555 imply CRC32_VERIFY
Simon Glass027608e2017-05-17 03:25:25 -0600556 imply CMD_HASH
Tom Rinid8532af2017-06-02 11:03:50 -0400557 imply FAT_WRITE
Daniel Thompsona9e2c672017-05-19 17:26:58 +0100558 imply HASH_VERIFY
Suji Velupillaid2f677a2017-07-10 14:05:41 -0700559 imply NETDEVICES
560 imply BCM_SF2_ETH
561 imply BCM_SF2_ETH_GMAC
Steve Rae729da8b2014-08-11 13:58:26 -0700562
Steve Rae1c5f31c2014-11-11 11:32:18 -0800563config TARGET_BCMNSP
564 bool "Support bcmnsp"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530565 select CPU_V7A
Steve Rae729da8b2014-08-11 13:58:26 -0700566
Jon Masond59b5862017-03-17 12:12:14 -0400567config TARGET_BCMNS2
568 bool "Support Broadcom Northstar2"
569 select ARM64
570 help
571 Support for Broadcom Northstar 2 SoCs. NS2 is a quad-core 64-bit
572 ARMv8 Cortex-A57 processors targeting a broad range of networking
573 applications
574
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900575config ARCH_EXYNOS
576 bool "Samsung EXYNOS"
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900577 select DM
Simon Glass7bbb7d92016-11-23 06:34:40 -0700578 select DM_I2C
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900579 select DM_SPI_FLASH
580 select DM_SERIAL
581 select DM_SPI
582 select DM_GPIO
Simon Glassaa8484f2015-10-18 21:17:17 -0600583 select DM_KEYBOARD
Adam Ford4e96ff82018-04-15 13:51:26 -0400584 select SPI
Tom Rinid8532af2017-06-02 11:03:50 -0400585 imply FAT_WRITE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900586
Simon Glass96aa0722014-10-07 22:01:50 -0600587config ARCH_S5PC1XX
588 bool "Samsung S5PC1XX"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530589 select CPU_V7A
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900590 select DM
591 select DM_SERIAL
592 select DM_GPIO
Simon Glassc6aa9702016-11-23 06:34:41 -0700593 select DM_I2C
Simon Glass96aa0722014-10-07 22:01:50 -0600594
Masahiro Yamada52ece9c2014-08-31 07:11:07 +0900595config ARCH_HIGHBANK
596 bool "Calxeda Highbank"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530597 select CPU_V7A
Alexander Graf65bfb422018-01-25 12:05:51 +0100598 select PL011_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900599
Masahiro Yamadacad44162015-04-21 21:59:36 +0900600config ARCH_INTEGRATOR
601 bool "ARM Ltd. Integrator family"
Linus Walleij616d9a02015-07-27 11:22:48 +0200602 select DM
603 select DM_SERIAL
Alexander Graf633ef892018-01-25 12:05:52 +0100604 select PL01X_SERIAL
Masahiro Yamadacad44162015-04-21 21:59:36 +0900605
Masahiro Yamada32013fb2014-08-31 07:11:05 +0900606config ARCH_KEYSTONE
607 bool "TI Keystone"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530608 select CPU_V7A
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900609 select SUPPORT_SPL
Tom Rini1c640a62017-03-18 09:01:44 -0400610 select SYS_THUMB_BUILD
Tom Rini393a4ce2016-03-16 09:19:43 -0400611 select CMD_POWEROFF
Andre Przywara7b169252018-04-12 04:24:46 +0300612 select SYS_ARCH_TIMER
Tom Rinic20bb732017-07-22 18:36:16 -0400613 imply CMD_MTDPARTS
Andrew F. Davis848944c2017-04-21 10:01:28 -0500614 imply FIT
Simon Glassd09f3772017-08-04 16:34:43 -0600615 imply CMD_SAVES
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900616
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900617config ARCH_OMAP2PLUS
618 bool "TI OMAP2+"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530619 select CPU_V7A
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +0800620 select SPL_BOARD_INIT if SPL
Tom Rinic37e0cf2017-09-17 11:44:49 -0400621 select SPL_STACK_R if SPL
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900622 select SUPPORT_SPL
623 imply FIT
624
Beniamino Galvanid1037e42016-05-08 08:30:16 +0200625config ARCH_MESON
626 bool "Amlogic Meson"
Masahiro Yamada9afc6c52018-04-25 18:47:52 +0900627 imply DISTRO_DEFAULTS
Beniamino Galvanid1037e42016-05-08 08:30:16 +0200628 help
629 Support for the Meson SoC family developed by Amlogic Inc.,
630 targeted at media players and tablet computers. We currently
631 support the S905 (GXBaby) 64-bit SoC.
632
Peng Fan66294882018-01-10 13:20:19 +0800633config ARCH_MX8M
634 bool "NXP i.MX8M platform"
635 select ARM64
636 select DM
637 select SUPPORT_SPL
638
Stefan Agner081ea1f2018-02-06 09:44:34 +0100639config ARCH_MX23
640 bool "NXP i.MX23 family"
641 select CPU_ARM926EJS
642 select PL011_SERIAL
643 select SUPPORT_SPL
644
Fabio Estevam52b2f452017-11-03 13:40:08 -0200645config ARCH_MX25
646 bool "NXP MX25"
647 select CPU_ARM926EJS
Adam Fordb413c452018-02-04 09:32:43 -0600648 imply MXC_GPIO
Fabio Estevam52b2f452017-11-03 13:40:08 -0200649
Stefan Agner663a3232018-02-06 09:44:35 +0100650config ARCH_MX28
651 bool "NXP i.MX28 family"
652 select CPU_ARM926EJS
653 select PL011_SERIAL
654 select SUPPORT_SPL
655
Peng Fan2c7b1702017-02-22 16:21:39 +0800656config ARCH_MX7ULP
657 bool "NXP MX7ULP"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530658 select CPU_V7A
Peng Fan2c7b1702017-02-22 16:21:39 +0800659 select ROM_UNIFIED_SECTIONS
Adam Fordb413c452018-02-04 09:32:43 -0600660 imply MXC_GPIO
Peng Fan2c7b1702017-02-22 16:21:39 +0800661
Adrian Alonso98810772015-09-03 11:49:28 -0500662config ARCH_MX7
663 bool "Freescale MX7"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530664 select CPU_V7A
York Sun92c36e22016-12-28 08:43:30 -0800665 select SYS_FSL_HAS_SEC if SECURE_BOOT
666 select SYS_FSL_SEC_COMPAT_4
York Sunfa4199422016-12-28 08:43:31 -0800667 select SYS_FSL_SEC_LE
Simon Glass7a99a872017-01-23 13:31:20 -0700668 select BOARD_EARLY_INIT_F
Simon Glass95d31412017-01-23 13:31:21 -0700669 select ARCH_MISC_INIT
Adam Fordb413c452018-02-04 09:32:43 -0600670 imply MXC_GPIO
Adrian Alonso98810772015-09-03 11:49:28 -0500671
Boris BREZILLON51e82662015-03-04 13:13:03 +0100672config ARCH_MX6
673 bool "Freescale MX6"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530674 select CPU_V7A
York Sun92c36e22016-12-28 08:43:30 -0800675 select SYS_FSL_HAS_SEC if SECURE_BOOT
676 select SYS_FSL_SEC_COMPAT_4
York Sunfa4199422016-12-28 08:43:31 -0800677 select SYS_FSL_SEC_LE
Tom Rini1c640a62017-03-18 09:01:44 -0400678 select SYS_THUMB_BUILD if SPL
Adam Fordb413c452018-02-04 09:32:43 -0600679 imply MXC_GPIO
Boris BREZILLON51e82662015-03-04 13:13:03 +0100680
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200681if ARCH_MX6
682config SPL_LDSCRIPT
683 default "arch/arm/mach-omap2/u-boot-spl.lds"
684endif
685
Andrej Rosano1ac4bca2015-04-08 18:56:29 +0200686config ARCH_MX5
687 bool "Freescale MX5"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530688 select CPU_V7A
Simon Glass7a99a872017-01-23 13:31:20 -0700689 select BOARD_EARLY_INIT_F
Adam Fordb413c452018-02-04 09:32:43 -0600690 imply MXC_GPIO
Andrej Rosano1ac4bca2015-04-08 18:56:29 +0200691
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +0300692config ARCH_QEMU
693 bool "QEMU Virtual Platform"
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +0300694 select DM
695 select DM_SERIAL
696 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +0100697 select PL01X_SERIAL
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +0300698
Nobuhiro Iwamatsu7c112732015-10-10 05:58:28 +0900699config ARCH_RMOBILE
Masahiro Yamadac9c54e22014-08-31 07:10:57 +0900700 bool "Renesas ARM SoCs"
Nobuhiro Iwamatsu7c112732015-10-10 05:58:28 +0900701 select DM
702 select DM_SERIAL
Simon Glass7a99a872017-01-23 13:31:20 -0700703 select BOARD_EARLY_INIT_F
Tom Rinid8532af2017-06-02 11:03:50 -0400704 imply FAT_WRITE
Tom Rini1c640a62017-03-18 09:01:44 -0400705 imply SYS_THUMB_BUILD
Nikita Kiryanovf5cab0f2014-09-07 18:59:29 +0300706
Eddy Petrișor5178dc12016-06-05 03:43:00 +0300707config TARGET_S32V234EVB
708 bool "Support s32v234evb"
709 select ARM64
York Sun097e3602016-12-28 08:43:42 -0800710 select SYS_FSL_ERRATUM_ESDHC111
Eddy Petrișor5178dc12016-06-05 03:43:00 +0300711
Mateusz Kulikowski2507d822016-03-31 23:12:32 +0200712config ARCH_SNAPDRAGON
713 bool "Qualcomm Snapdragon SoCs"
714 select ARM64
715 select DM
716 select DM_GPIO
717 select DM_SERIAL
718 select SPMI
719 select OF_CONTROL
720 select OF_SEPARATE
721
Masahiro Yamada144a3e02015-04-21 20:38:20 +0900722config ARCH_SOCFPGA
723 bool "Altera SOCFPGA family"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530724 select CPU_V7A
Marek Vasut69295472014-12-30 18:16:08 +0100725 select SUPPORT_SPL
Marek Vasutf44fb6f2015-08-19 23:23:52 +0200726 select OF_CONTROL
727 select SPL_OF_CONTROL
Masahiro Yamadae2005542015-03-31 12:47:59 +0900728 select DM
Marek Vasutbcd861b2016-11-16 17:20:23 +0100729 select ENABLE_ARM_SOC_BOOT0_HOOK
Simon Glass62adede2017-01-23 13:31:19 -0700730 select ARCH_EARLY_INIT_R
Simon Glass95d31412017-01-23 13:31:21 -0700731 select ARCH_MISC_INIT
Tom Rini1c640a62017-03-18 09:01:44 -0400732 select SYS_THUMB_BUILD
Tom Rinic20bb732017-07-22 18:36:16 -0400733 imply CMD_MTDPARTS
Daniel Thompsona9e2c672017-05-19 17:26:58 +0100734 imply CRC32_VERIFY
Simon Goldschmidta4347302018-02-13 06:34:14 +0100735 imply DM_SPI
736 imply DM_SPI_FLASH
Tom Rinid8532af2017-06-02 11:03:50 -0400737 imply FAT_WRITE
Simon Goldschmidta4347302018-02-13 06:34:14 +0100738 imply HW_WATCHDOG
739 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
Marek Vasut69295472014-12-30 18:16:08 +0100740
Ian Campbelld8e69e02014-10-24 21:20:44 +0100741config ARCH_SUNXI
742 bool "Support sunxi (Allwinner) SoCs"
Masahiro Yamada87247af2017-10-17 13:42:44 +0900743 select BINMAN
Hans de Goedec9511672016-04-03 09:41:44 +0200744 select CMD_GPIO
Hans de Goede2c526402016-05-15 13:51:58 +0200745 select CMD_MMC if MMC
Yann E. MORINe28217d2016-10-31 22:33:40 +0100746 select CMD_USB if DISTRO_DEFAULTS
Hans de Goede03914882015-04-15 20:46:48 +0200747 select DM
Tom Rini10e87172015-06-30 16:51:15 -0400748 select DM_ETH
Hans de Goedec8d43472015-12-21 20:22:00 +0100749 select DM_GPIO
750 select DM_KEYBOARD
Tom Rini10e87172015-06-30 16:51:15 -0400751 select DM_SERIAL
Yann E. MORINe28217d2016-10-31 22:33:40 +0100752 select DM_USB if DISTRO_DEFAULTS
Hans de Goede48a234a2016-03-22 22:51:52 +0100753 select OF_BOARD_SETUP
Hans de Goede03914882015-04-15 20:46:48 +0200754 select OF_CONTROL
755 select OF_SEPARATE
Tom Rinie69ba982018-03-06 19:02:27 -0500756 select SPECIFY_CONSOLE_INDEX
Tom Rinidac518f2017-06-21 07:54:46 -0400757 select SPL_STACK_R if SPL
758 select SPL_SYS_MALLOC_SIMPLE if SPL
Hans de Goede9cce88a2015-12-10 11:10:17 +0100759 select SYS_NS16550
Tom Rini1c640a62017-03-18 09:01:44 -0400760 select SPL_SYS_THUMB_BUILD if !ARM64
Maxime Ripard2ba0f212017-10-19 11:49:29 +0200761 select SYS_THUMB_BUILD if !ARM64
Yann E. MORINe28217d2016-10-31 22:33:40 +0100762 select USB if DISTRO_DEFAULTS
763 select USB_STORAGE if DISTRO_DEFAULTS
764 select USB_KEYBOARD if DISTRO_DEFAULTS
Hans de Goede42a31822016-06-10 12:19:40 +0200765 select USE_TINY_PRINTF
Maxime Ripardbc7db012017-08-24 11:54:03 +0200766 imply CMD_GPT
Masahiro Yamada9afc6c52018-04-25 18:47:52 +0900767 imply DISTRO_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -0400768 imply FAT_WRITE
Andre Heider11790742018-01-16 09:44:22 +0100769 imply OF_LIBFDT_OVERLAY
Masahiro Yamada8e5e1ea2017-04-28 19:42:19 +0900770 imply PRE_CONSOLE_BUFFER
771 imply SPL_GPIO_SUPPORT
772 imply SPL_LIBCOMMON_SUPPORT
773 imply SPL_LIBDISK_SUPPORT
774 imply SPL_LIBGENERIC_SUPPORT
Masahiro Yamada0a780172017-05-09 20:31:39 +0900775 imply SPL_MMC_SUPPORT if MMC
Masahiro Yamada8e5e1ea2017-04-28 19:42:19 +0900776 imply SPL_POWER_SUPPORT
777 imply SPL_SERIAL_SUPPORT
Maxime Ripardabb17b42017-09-07 10:46:24 +0200778 imply USB_GADGET
Chen-Yu Tsai848c2632014-10-22 16:47:44 +0800779
Stefan Agnerd53c0a42017-03-13 18:41:36 -0700780config ARCH_VF610
781 bool "Freescale Vybrid"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530782 select CPU_V7A
York Sun097e3602016-12-28 08:43:42 -0800783 select SYS_FSL_ERRATUM_ESDHC111
Tom Rinic20bb732017-07-22 18:36:16 -0400784 imply CMD_MTDPARTS
Adam Ford42efb612017-08-07 17:37:18 -0400785 imply NAND
Sanchayan Maitycc4d78f2015-04-15 16:24:26 +0530786
Masahiro Yamada8204bd12015-03-16 16:43:24 +0900787config ARCH_ZYNQ
Michal Simek8caedde2017-11-23 08:25:41 +0100788 bool "Xilinx Zynq based platform"
Tom Rini22d567e2017-01-22 19:43:11 -0500789 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530790 select CPU_V7A
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900791 select SUPPORT_SPL
Jagan Tekif522bf52015-06-29 14:17:32 +0530792 select OF_CONTROL
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +0800793 select SPL_BOARD_INIT if SPL
Michal Simek309ef802018-02-21 17:04:28 +0100794 select BOARD_EARLY_INIT_F if WDT
Michal Simek6dae8492016-01-13 14:32:43 +0100795 select SPL_OF_CONTROL if SPL
Masahiro Yamada2df07d42015-03-31 12:47:55 +0900796 select DM
Michal Simek6d35f3f2018-01-09 14:49:28 +0100797 select DM_ETH if NET
Michal Simek6dae8492016-01-13 14:32:43 +0100798 select SPL_DM if SPL
Michal Simek6d35f3f2018-01-09 14:49:28 +0100799 select DM_MMC if MMC
Jagan Teki0bd03a52015-06-27 00:51:32 +0530800 select DM_SPI
Simon Glass23d9b622015-10-17 19:41:27 -0600801 select DM_SERIAL
Jagan Teki0bd03a52015-06-27 00:51:32 +0530802 select DM_SPI_FLASH
Michal Simek6dae8492016-01-13 14:32:43 +0100803 select SPL_SEPARATE_BSS if SPL
Simon Glass476e63f2016-07-05 17:10:14 -0600804 select DM_USB if USB
Stefan Herbrechtsmeiere67c6c42017-01-17 16:27:30 +0100805 select CLK
Ezequiel Garciad4f835a2018-01-12 12:33:24 -0300806 select SPL_CLK if SPL
Stefan Herbrechtsmeiere67c6c42017-01-17 16:27:30 +0100807 select CLK_ZYNQ
Adam Ford4e96ff82018-04-15 13:51:26 -0400808 select SPI
Simon Glass04ac6f12017-04-26 22:28:02 -0600809 imply CMD_CLK
Tom Rinid8532af2017-06-02 11:03:50 -0400810 imply FAT_WRITE
Simon Glassc6567fa2017-08-04 16:34:48 -0600811 imply CMD_SPL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900812
Siva Durga Prasad Paladugu650fb402015-06-10 15:50:57 +0530813config ARCH_ZYNQMP
Michal Simek8caedde2017-11-23 08:25:41 +0100814 bool "Xilinx ZynqMP based platform"
Michal Simek04b7e622015-01-15 10:01:51 +0100815 select ARM64
Tom Rini22d567e2017-01-22 19:43:11 -0500816 select BOARD_LATE_INIT
Michal Simek25b83712015-10-17 19:41:25 -0600817 select DM
818 select OF_CONTROL
819 select DM_SERIAL
Michal Simek72536fd2015-11-20 13:17:22 +0100820 select SUPPORT_SPL
Michal Simek6f88c702016-07-14 15:07:54 +0200821 select CLK
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +0800822 select SPL_BOARD_INIT if SPL
Michal Simekfd1d7662017-12-01 15:13:36 +0100823 select SPL_CLK if SPL
Simon Glass476e63f2016-07-05 17:10:14 -0600824 select DM_USB if USB
Tom Rinid8532af2017-06-02 11:03:50 -0400825 imply FAT_WRITE
Michal Simek04b7e622015-01-15 10:01:51 +0100826
Masahiro Yamada73a5b1a2014-08-31 07:10:56 +0900827config TEGRA
828 bool "NVIDIA Tegra"
Masahiro Yamada9afc6c52018-04-25 18:47:52 +0900829 imply DISTRO_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -0400830 imply FAT_WRITE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900831
Linus Walleij800d6fd2015-01-23 11:50:53 +0100832config TARGET_VEXPRESS64_AEMV8A
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900833 bool "Support vexpress_aemv8a"
Masahiro Yamada0d46c342014-09-14 03:01:51 +0900834 select ARM64
Alexander Graf633ef892018-01-25 12:05:52 +0100835 select PL01X_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900836
Linus Walleij800d6fd2015-01-23 11:50:53 +0100837config TARGET_VEXPRESS64_BASE_FVP
838 bool "Support Versatile Express ARMv8a FVP BASE model"
839 select ARM64
840 select SEMIHOSTING
Alexander Graf633ef892018-01-25 12:05:52 +0100841 select PL01X_SERIAL
Linus Walleij800d6fd2015-01-23 11:50:53 +0100842
Ryan Harkinb6b96652015-10-09 17:18:02 +0100843config TARGET_VEXPRESS64_BASE_FVP_DRAM
844 bool "Support Versatile Express ARMv8a FVP BASE model booting from DRAM"
845 select ARM64
Alexander Graf633ef892018-01-25 12:05:52 +0100846 select PL01X_SERIAL
Ryan Harkinb6b96652015-10-09 17:18:02 +0100847 help
848 This target is derived from TARGET_VEXPRESS64_BASE_FVP and over-rides
849 the default config to allow the user to load the images directly into
850 DRAM using model parameters rather than by using semi-hosting to load
851 the files from the host filesystem.
852
Linus Walleijc5822502015-01-23 14:41:10 +0100853config TARGET_VEXPRESS64_JUNO
854 bool "Support Versatile Express Juno Development Platform"
855 select ARM64
Alexander Graf633ef892018-01-25 12:05:52 +0100856 select PL01X_SERIAL
Linus Walleijc5822502015-01-23 14:41:10 +0100857
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +0530858config TARGET_LS2080A_EMU
859 bool "Support ls2080a_emu"
York Sun4dd8c612016-10-04 14:31:48 -0700860 select ARCH_LS2080A
Masahiro Yamada0d46c342014-09-14 03:01:51 +0900861 select ARM64
Linus Walleij74771392015-03-09 10:53:21 +0100862 select ARMV8_MULTIENTRY
Simon Glass95d31412017-01-23 13:31:21 -0700863 select ARCH_MISC_INIT
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +0530864 help
865 Support for Freescale LS2080A_EMU platform
866 The LS2080A Development System (EMULATOR) is a pre silicon
867 development platform that supports the QorIQ LS2080A
868 Layerscape Architecture processor.
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900869
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +0530870config TARGET_LS2080A_SIMU
871 bool "Support ls2080a_simu"
York Sun4dd8c612016-10-04 14:31:48 -0700872 select ARCH_LS2080A
Masahiro Yamada0d46c342014-09-14 03:01:51 +0900873 select ARM64
Linus Walleij74771392015-03-09 10:53:21 +0100874 select ARMV8_MULTIENTRY
Simon Glass95d31412017-01-23 13:31:21 -0700875 select ARCH_MISC_INIT
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +0530876 help
877 Support for Freescale LS2080A_SIMU platform
878 The LS2080A Development System (QDS) is a pre silicon
879 development platform that supports the QorIQ LS2080A
880 Layerscape Architecture processor.
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900881
Ashish Kumar1ef4c772017-08-31 16:12:55 +0530882config TARGET_LS1088AQDS
883 bool "Support ls1088aqds"
884 select ARCH_LS1088A
885 select ARM64
886 select ARMV8_MULTIENTRY
887 select ARCH_MISC_INIT
888 select BOARD_LATE_INIT
Ashish Kumar4feb83b2017-11-06 13:18:44 +0530889 select SUPPORT_SPL
Ashish Kumar1ef4c772017-08-31 16:12:55 +0530890 help
891 Support for NXP LS1088AQDS platform
892 The LS1088A Development System (QDS) is a high-performance
893 development platform that supports the QorIQ LS1088A
894 Layerscape Architecture processor.
895
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +0530896config TARGET_LS2080AQDS
897 bool "Support ls2080aqds"
York Sun4dd8c612016-10-04 14:31:48 -0700898 select ARCH_LS2080A
York Sun03017032015-03-20 19:28:23 -0700899 select ARM64
900 select ARMV8_MULTIENTRY
Tom Rini22d567e2017-01-22 19:43:11 -0500901 select BOARD_LATE_INIT
Scott Wood8e728cd2015-03-24 13:25:02 -0700902 select SUPPORT_SPL
Simon Glass95d31412017-01-23 13:31:21 -0700903 select ARCH_MISC_INIT
Simon Glass0e5faf02017-06-14 21:28:21 -0600904 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +0200905 imply SCSI_AHCI
York Sun03017032015-03-20 19:28:23 -0700906 help
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +0530907 Support for Freescale LS2080AQDS platform
908 The LS2080A Development System (QDS) is a high-performance
909 development platform that supports the QorIQ LS2080A
York Sun03017032015-03-20 19:28:23 -0700910 Layerscape Architecture processor.
911
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +0530912config TARGET_LS2080ARDB
913 bool "Support ls2080ardb"
York Sun4dd8c612016-10-04 14:31:48 -0700914 select ARCH_LS2080A
York Sune12abcb2015-03-20 19:28:24 -0700915 select ARM64
916 select ARMV8_MULTIENTRY
Tom Rini22d567e2017-01-22 19:43:11 -0500917 select BOARD_LATE_INIT
Scott Wood212b8d82015-03-24 13:25:03 -0700918 select SUPPORT_SPL
Simon Glass95d31412017-01-23 13:31:21 -0700919 select ARCH_MISC_INIT
Simon Glass0e5faf02017-06-14 21:28:21 -0600920 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +0200921 imply SCSI_AHCI
York Sune12abcb2015-03-20 19:28:24 -0700922 help
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +0530923 Support for Freescale LS2080ARDB platform.
924 The LS2080A Reference design board (RDB) is a high-performance
925 development platform that supports the QorIQ LS2080A
York Sune12abcb2015-03-20 19:28:24 -0700926 Layerscape Architecture processor.
927
Priyanka Jain75cd67f2017-04-27 15:08:07 +0530928config TARGET_LS2081ARDB
929 bool "Support ls2081ardb"
930 select ARCH_LS2080A
931 select ARM64
932 select ARMV8_MULTIENTRY
933 select BOARD_LATE_INIT
934 select SUPPORT_SPL
935 select ARCH_MISC_INIT
936 help
937 Support for Freescale LS2081ARDB platform.
938 The LS2081A Reference design board (RDB) is a high-performance
939 development platform that supports the QorIQ LS2081A/LS2041A
940 Layerscape Architecture processor.
941
Peter Griffin31f327e2015-07-30 18:55:23 +0100942config TARGET_HIKEY
943 bool "Support HiKey 96boards Consumer Edition Platform"
944 select ARM64
Peter Griffinff9302f2015-09-10 21:55:16 +0100945 select DM
946 select DM_GPIO
Peter Griffin0382c642015-09-10 21:55:17 +0100947 select DM_SERIAL
Peter Griffinc97c37a2016-04-20 17:13:59 +0100948 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +0100949 select PL01X_SERIAL
Tom Rinie69ba982018-03-06 19:02:27 -0500950 select SPECIFY_CONSOLE_INDEX
Peter Griffin31f327e2015-07-30 18:55:23 +0100951 help
952 Support for HiKey 96boards platform. It features a HI6220
953 SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
954
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +0200955config TARGET_POPLAR
956 bool "Support Poplar 96boards Enterprise Edition Platform"
957 select ARM64
958 select DM
959 select OF_CONTROL
960 select DM_SERIAL
961 select DM_USB
Alexander Graf633ef892018-01-25 12:05:52 +0100962 select PL01X_SERIAL
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +0200963 help
964 Support for Poplar 96boards EE platform. It features a HI3798cv200
965 SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
966 making it capable of running any commercial set-top solution based on
967 Linux or Android.
968
Prabhakar Kushwaha55432502016-06-03 18:41:34 +0530969config TARGET_LS1012AQDS
970 bool "Support ls1012aqds"
York Sunb3d71642016-09-26 08:09:26 -0700971 select ARCH_LS1012A
Prabhakar Kushwaha55432502016-06-03 18:41:34 +0530972 select ARM64
Tom Rini22d567e2017-01-22 19:43:11 -0500973 select BOARD_LATE_INIT
Prabhakar Kushwaha55432502016-06-03 18:41:34 +0530974 help
975 Support for Freescale LS1012AQDS platform.
976 The LS1012A Development System (QDS) is a high-performance
977 development platform that supports the QorIQ LS1012A
978 Layerscape Architecture processor.
979
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +0530980config TARGET_LS1012ARDB
981 bool "Support ls1012ardb"
York Sunb3d71642016-09-26 08:09:26 -0700982 select ARCH_LS1012A
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +0530983 select ARM64
Tom Rini22d567e2017-01-22 19:43:11 -0500984 select BOARD_LATE_INIT
Simon Glass0e5faf02017-06-14 21:28:21 -0600985 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +0200986 imply SCSI_AHCI
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +0530987 help
988 Support for Freescale LS1012ARDB platform.
989 The LS1012A Reference design board (RDB) is a high-performance
990 development platform that supports the QorIQ LS1012A
991 Layerscape Architecture processor.
992
Bhaskar Upadhaya7fff22a2018-01-11 20:03:31 +0530993config TARGET_LS1012A2G5RDB
994 bool "Support ls1012a2g5rdb"
995 select ARCH_LS1012A
996 select ARM64
997 select BOARD_LATE_INIT
998 imply SCSI
999 help
1000 Support for Freescale LS1012A2G5RDB platform.
1001 The LS1012A 2G5 Reference design board (RDB) is a high-performance
1002 development platform that supports the QorIQ LS1012A
1003 Layerscape Architecture processor.
1004
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05301005config TARGET_LS1012AFRDM
1006 bool "Support ls1012afrdm"
York Sunb3d71642016-09-26 08:09:26 -07001007 select ARCH_LS1012A
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05301008 select ARM64
1009 help
1010 Support for Freescale LS1012AFRDM platform.
1011 The LS1012A Freedom board (FRDM) is a high-performance
1012 development platform that supports the QorIQ LS1012A
1013 Layerscape Architecture processor.
1014
Ashish Kumar227b4bc2017-08-31 16:12:54 +05301015config TARGET_LS1088ARDB
1016 bool "Support ls1088ardb"
1017 select ARCH_LS1088A
1018 select ARM64
1019 select ARMV8_MULTIENTRY
1020 select ARCH_MISC_INIT
1021 select BOARD_LATE_INIT
Ashish Kumar5676ceb2017-11-06 13:18:43 +05301022 select SUPPORT_SPL
Ashish Kumar227b4bc2017-08-31 16:12:54 +05301023 help
1024 Support for NXP LS1088ARDB platform.
1025 The LS1088A Reference design board (RDB) is a high-performance
1026 development platform that supports the QorIQ LS1088A
1027 Layerscape Architecture processor.
1028
Wang Huanf0ce7d62014-09-05 13:52:44 +08001029config TARGET_LS1021AQDS
Alison Wang6ea8ad42014-12-03 16:18:09 +08001030 bool "Support ls1021aqds"
Tom Rini22d567e2017-01-22 19:43:11 -05001031 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301032 select CPU_V7A
Hongbo Zhange80fccf2016-09-21 18:31:04 +08001033 select CPU_V7_HAS_NONSEC
1034 select CPU_V7_HAS_VIRT
Alison Wang024e6b12014-12-03 15:00:45 +08001035 select SUPPORT_SPL
York Sun149eb332016-09-26 08:09:27 -07001036 select ARCH_LS1021A
Masahiro Yamadad5415b22016-08-30 16:22:22 +09001037 select ARCH_SUPPORT_PSCI
York Sun4de7e932016-09-26 08:09:29 -07001038 select LS1_DEEP_SLEEP
York Sund297d392016-12-28 08:43:40 -08001039 select SYS_FSL_DDR
Simon Glass7a99a872017-01-23 13:31:20 -07001040 select BOARD_EARLY_INIT_F
Simon Glass0e5faf02017-06-14 21:28:21 -06001041 imply SCSI
Masahiro Yamadad5415b22016-08-30 16:22:22 +09001042
Wang Huanddf89f92014-09-05 13:52:45 +08001043config TARGET_LS1021ATWR
Alison Wang6ea8ad42014-12-03 16:18:09 +08001044 bool "Support ls1021atwr"
Tom Rini22d567e2017-01-22 19:43:11 -05001045 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301046 select CPU_V7A
Hongbo Zhange80fccf2016-09-21 18:31:04 +08001047 select CPU_V7_HAS_NONSEC
1048 select CPU_V7_HAS_VIRT
Alison Wang024e6b12014-12-03 15:00:45 +08001049 select SUPPORT_SPL
York Sun149eb332016-09-26 08:09:27 -07001050 select ARCH_LS1021A
Masahiro Yamadad5415b22016-08-30 16:22:22 +09001051 select ARCH_SUPPORT_PSCI
York Sun4de7e932016-09-26 08:09:29 -07001052 select LS1_DEEP_SLEEP
Simon Glass7a99a872017-01-23 13:31:20 -07001053 select BOARD_EARLY_INIT_F
Simon Glass0e5faf02017-06-14 21:28:21 -06001054 imply SCSI
Wang Huanddf89f92014-09-05 13:52:45 +08001055
Feng Li39e112d2016-11-03 14:15:17 +08001056config TARGET_LS1021AIOT
1057 bool "Support ls1021aiot"
Tom Rini22d567e2017-01-22 19:43:11 -05001058 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301059 select CPU_V7A
Feng Li39e112d2016-11-03 14:15:17 +08001060 select CPU_V7_HAS_NONSEC
1061 select CPU_V7_HAS_VIRT
1062 select SUPPORT_SPL
1063 select ARCH_LS1021A
1064 select ARCH_SUPPORT_PSCI
Simon Glass0e5faf02017-06-14 21:28:21 -06001065 imply SCSI
Feng Li39e112d2016-11-03 14:15:17 +08001066 help
1067 Support for Freescale LS1021AIOT platform.
1068 The LS1021A Freescale board (IOT) is a high-performance
1069 development platform that supports the QorIQ LS1021A
1070 Layerscape Architecture processor.
1071
Shaohui Xiedd335672015-11-11 17:58:37 +08001072config TARGET_LS1043AQDS
1073 bool "Support ls1043aqds"
York Sun149eb332016-09-26 08:09:27 -07001074 select ARCH_LS1043A
Shaohui Xiedd335672015-11-11 17:58:37 +08001075 select ARM64
1076 select ARMV8_MULTIENTRY
Tom Rini22d567e2017-01-22 19:43:11 -05001077 select BOARD_LATE_INIT
Shaohui Xiedd335672015-11-11 17:58:37 +08001078 select SUPPORT_SPL
Simon Glass7a99a872017-01-23 13:31:20 -07001079 select BOARD_EARLY_INIT_F
Simon Glass0e5faf02017-06-14 21:28:21 -06001080 imply SCSI
Shaohui Xiedd335672015-11-11 17:58:37 +08001081 help
1082 Support for Freescale LS1043AQDS platform.
1083
Mingkai Hueee86ff2015-10-26 19:47:52 +08001084config TARGET_LS1043ARDB
1085 bool "Support ls1043ardb"
York Sun149eb332016-09-26 08:09:27 -07001086 select ARCH_LS1043A
Mingkai Hueee86ff2015-10-26 19:47:52 +08001087 select ARM64
Hou Zhiqiangc7098fa2015-10-26 19:47:57 +08001088 select ARMV8_MULTIENTRY
Tom Rini22d567e2017-01-22 19:43:11 -05001089 select BOARD_LATE_INIT
Gong Qianyu8168a0f2015-10-26 19:47:53 +08001090 select SUPPORT_SPL
Simon Glass7a99a872017-01-23 13:31:20 -07001091 select BOARD_EARLY_INIT_F
Simon Glass0e5faf02017-06-14 21:28:21 -06001092 imply SCSI
Mingkai Hueee86ff2015-10-26 19:47:52 +08001093 help
1094 Support for Freescale LS1043ARDB platform.
1095
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001096config TARGET_LS1046AQDS
1097 bool "Support ls1046aqds"
York Sunbad49842016-09-26 08:09:24 -07001098 select ARCH_LS1046A
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001099 select ARM64
1100 select ARMV8_MULTIENTRY
Tom Rini22d567e2017-01-22 19:43:11 -05001101 select BOARD_LATE_INIT
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001102 select SUPPORT_SPL
1103 select DM_SPI_FLASH if DM_SPI
Simon Glass7a99a872017-01-23 13:31:20 -07001104 select BOARD_EARLY_INIT_F
Simon Glass0e5faf02017-06-14 21:28:21 -06001105 imply SCSI
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001106 help
1107 Support for Freescale LS1046AQDS platform.
1108 The LS1046A Development System (QDS) is a high-performance
1109 development platform that supports the QorIQ LS1046A
1110 Layerscape Architecture processor.
1111
Mingkai Hud2396512016-09-07 18:47:28 +08001112config TARGET_LS1046ARDB
1113 bool "Support ls1046ardb"
York Sunbad49842016-09-26 08:09:24 -07001114 select ARCH_LS1046A
Mingkai Hud2396512016-09-07 18:47:28 +08001115 select ARM64
1116 select ARMV8_MULTIENTRY
Tom Rini22d567e2017-01-22 19:43:11 -05001117 select BOARD_LATE_INIT
Mingkai Hud2396512016-09-07 18:47:28 +08001118 select SUPPORT_SPL
1119 select DM_SPI_FLASH if DM_SPI
Hou Zhiqiang67b6d0a2016-12-09 16:09:01 +08001120 select POWER_MC34VR500
Simon Glass7a99a872017-01-23 13:31:20 -07001121 select BOARD_EARLY_INIT_F
Simon Glass0e5faf02017-06-14 21:28:21 -06001122 imply SCSI
Mingkai Hud2396512016-09-07 18:47:28 +08001123 help
1124 Support for Freescale LS1046ARDB platform.
1125 The LS1046A Reference Design Board (RDB) is a high-performance
1126 development platform that supports the QorIQ LS1046A
1127 Layerscape Architecture processor.
1128
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001129config TARGET_H2200
1130 bool "Support h2200"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +01001131 select CPU_PXA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001132
Vasily Khoruzhicka2cbff02016-03-20 18:37:00 -07001133config TARGET_ZIPITZ2
1134 bool "Support zipitz2"
1135 select CPU_PXA
1136
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001137config TARGET_COLIBRI_PXA270
1138 bool "Support colibri_pxa270"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +01001139 select CPU_PXA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001140
Masahiro Yamada82069432014-10-03 19:21:07 +09001141config ARCH_UNIPHIER
Masahiro Yamada563ee4c2015-05-29 17:30:01 +09001142 bool "Socionext UniPhier SoCs"
Tom Rini22d567e2017-01-22 19:43:11 -05001143 select BOARD_LATE_INIT
Masahiro Yamada85eb8262015-03-31 12:47:54 +09001144 select DM
Masahiro Yamada5f128922016-02-16 17:03:50 +09001145 select DM_GPIO
Masahiro Yamada85eb8262015-03-31 12:47:54 +09001146 select DM_I2C
Masahiro Yamada867453e2016-02-18 19:52:49 +09001147 select DM_MMC
Masahiro Yamada2aa4b5b2016-10-08 13:25:31 +09001148 select DM_RESET
Masahiro Yamada694adf12016-09-14 01:05:59 +09001149 select DM_SERIAL
Masahiro Yamada5021b8a2016-09-14 01:06:00 +09001150 select DM_USB
Masahiro Yamada694adf12016-09-14 01:05:59 +09001151 select OF_CONTROL
1152 select OF_LIBFDT
Masahiro Yamada0c977252016-09-17 03:33:01 +09001153 select PINCTRL
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +08001154 select SPL_BOARD_INIT if SPL
Masahiro Yamadadabee242017-01-21 18:05:22 +09001155 select SPL_DM if SPL
1156 select SPL_LIBCOMMON_SUPPORT if SPL
1157 select SPL_LIBGENERIC_SUPPORT if SPL
1158 select SPL_OF_CONTROL if SPL
1159 select SPL_PINCTRL if SPL
Masahiro Yamada694adf12016-09-14 01:05:59 +09001160 select SUPPORT_SPL
Tom Rinid8532af2017-06-02 11:03:50 -04001161 imply FAT_WRITE
Masahiro Yamada563ee4c2015-05-29 17:30:01 +09001162 help
1163 Support for UniPhier SoC family developed by Socionext Inc.
1164 (formerly, System LSI Business Division of Panasonic Corporation)
Masahiro Yamada82069432014-10-03 19:21:07 +09001165
Vikas Manocha95c89192016-01-15 17:49:06 -08001166config STM32
Patrick Delaunay85b53972018-03-12 10:46:10 +01001167 bool "Support STMicroelectronics STM32 MCU with cortex M"
rev13@wp.pl6b5e5a92015-03-01 12:44:42 +01001168 select CPU_V7M
Kamil Lulko75d48a62015-12-01 09:08:19 +01001169 select DM
1170 select DM_SERIAL
Tom Rini1c640a62017-03-18 09:01:44 -04001171 select SYS_THUMB_BUILD
rev13@wp.pl6b5e5a92015-03-01 12:44:42 +01001172
Patrice Chotard5b428242017-02-21 13:37:04 +01001173config ARCH_STI
1174 bool "Support STMicrolectronics SoCs"
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301175 select CPU_V7A
Patrice Chotard42d742b2017-02-21 13:37:07 +01001176 select DM
1177 select DM_SERIAL
Patrice Chotard2eea7d82017-02-21 13:37:09 +01001178 select BLK
1179 select DM_MMC
Patrice Chotard1235aa02017-03-22 10:54:03 +01001180 select DM_RESET
Patrice Chotard5b428242017-02-21 13:37:04 +01001181 help
1182 Support for STMicroelectronics STiH407/10 SoC family.
1183 This SoC is used on Linaro 96Board STiH410-B2260
1184
Patrick Delaunay85b53972018-03-12 10:46:10 +01001185config ARCH_STM32MP
1186 bool "Support STMicroelectronics STM32MP Socs with cortex A"
Patrick Delaunayc5d15652018-03-20 10:54:53 +01001187 select ARCH_MISC_INIT
Patrick Delaunay85b53972018-03-12 10:46:10 +01001188 select BOARD_LATE_INIT
1189 select CLK
1190 select DM
1191 select DM_GPIO
1192 select DM_RESET
1193 select DM_SERIAL
1194 select OF_CONTROL
1195 select OF_LIBFDT
1196 select PINCTRL
1197 select REGMAP
1198 select SUPPORT_SPL
1199 select SYSCON
Patrick Delaunay32ddd262018-03-20 14:15:06 +01001200 select SYSRESET
Patrick Delaunay85b53972018-03-12 10:46:10 +01001201 select SYS_THUMB_BUILD
1202 help
1203 Support for STM32MP SoC family developed by STMicroelectronics,
1204 MPUs based on ARM cortex A core
1205 U-BOOT is running in DDR and SPL support is the unsecure First Stage
1206 BootLoader (FSBL)
1207
Simon Glass2cffe662015-08-30 16:55:38 -06001208config ARCH_ROCKCHIP
1209 bool "Support Rockchip SoCs"
Simon Glass2cffe662015-08-30 16:55:38 -06001210 select OF_CONTROL
Simon Glass94106272016-06-12 23:30:14 -06001211 select BLK
Simon Glass2cffe662015-08-30 16:55:38 -06001212 select DM
Kever Yang0d3d7832016-07-19 21:16:59 +08001213 select SPL_DM if SPL
Simon Glass94106272016-06-12 23:30:14 -06001214 select SYS_MALLOC_F
Tom Rini1c640a62017-03-18 09:01:44 -04001215 select SYS_THUMB_BUILD if !ARM64
Kever Yang0d3d7832016-07-19 21:16:59 +08001216 select SPL_SYS_MALLOC_SIMPLE if SPL
Simon Glass94106272016-06-12 23:30:14 -06001217 select DM_GPIO
1218 select DM_I2C
1219 select DM_MMC
1220 select DM_SERIAL
1221 select DM_SPI
1222 select DM_SPI_FLASH
MengDongyangf0bf5de2016-08-24 12:02:18 +08001223 select DM_USB if USB
Kever Yangb8594e22016-09-23 15:57:21 +08001224 select DM_PWM
1225 select DM_REGULATOR
Philipp Tomsichb6f395c2017-10-10 16:21:03 +02001226 select ENABLE_ARM_SOC_BOOT0_HOOK
Adam Ford4e96ff82018-04-15 13:51:26 -04001227 select SPI
Tom Rinib5bf5622017-08-25 17:50:27 -04001228 imply CMD_FASTBOOT
Masahiro Yamada9afc6c52018-04-25 18:47:52 +09001229 imply DISTRO_DEFAULTS
Tom Rinib5bf5622017-08-25 17:50:27 -04001230 imply FASTBOOT
Tom Rinid8532af2017-06-02 11:03:50 -04001231 imply FAT_WRITE
Tom Rinib5bf5622017-08-25 17:50:27 -04001232 imply USB_FUNCTION_FASTBOOT
Kever Yang22f08442017-09-08 11:00:54 +08001233 imply SPL_SYSRESET
Kever Yangc9e90292017-09-13 09:39:06 +08001234 imply TPL_SYSRESET
Philipp Tomsich2fa7b7e2017-09-20 13:50:13 +02001235 imply ADC
1236 imply SARADC_ROCKCHIP
Kever Yang4a3448c2018-04-19 11:37:09 +08001237 imply SYS_NS16550
Simon Glass2cffe662015-08-30 16:55:38 -06001238
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07001239config TARGET_THUNDERX_88XX
1240 bool "Support ThunderX 88xx"
Marek Vasut09ab8ad2016-06-01 02:33:53 +02001241 select ARM64
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07001242 select OF_CONTROL
Tom Rini84f9b612016-08-22 08:22:17 -04001243 select SYS_CACHE_SHIFT_7
Alexander Graf633ef892018-01-25 12:05:52 +01001244 select PL01X_SERIAL
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07001245
maxims@google.comf57bd002017-01-18 13:44:55 -08001246config ARCH_ASPEED
1247 bool "Support Aspeed SoCs"
1248 select OF_CONTROL
1249 select DM
1250
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001251endchoice
1252
Andrew F. Davisd3fe9172018-02-14 11:53:37 -06001253config TI_SECURE_DEVICE
1254 bool "HS Device Type Support"
1255 depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS
1256 help
1257 If a high secure (HS) device type is being used, this config
1258 must be set. This option impacts various aspects of the
1259 build system (to create signed boot images that can be
1260 authenticated) and the code. See the doc/README.ti-secure
1261 file for further details.
1262
maxims@google.comf57bd002017-01-18 13:44:55 -08001263source "arch/arm/mach-aspeed/Kconfig"
1264
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +09001265source "arch/arm/mach-at91/Kconfig"
1266
Masahiro Yamadaed22cc72015-03-19 19:42:56 +09001267source "arch/arm/mach-bcm283x/Kconfig"
Masahiro Yamadae604ef92014-08-31 07:11:01 +09001268
Masahiro Yamadaed22cc72015-03-19 19:42:56 +09001269source "arch/arm/mach-davinci/Kconfig"
Simon Glass13fc6a22015-02-05 21:41:39 -07001270
Thomas Abraham74f84862015-08-03 17:58:00 +05301271source "arch/arm/mach-exynos/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +09001272
Masahiro Yamada95ec48b2015-02-20 17:04:08 +09001273source "arch/arm/mach-highbank/Kconfig"
Masahiro Yamada52ece9c2014-08-31 07:11:07 +09001274
Masahiro Yamadacad44162015-04-21 21:59:36 +09001275source "arch/arm/mach-integrator/Kconfig"
1276
Masahiro Yamadaf058b792015-02-20 17:04:11 +09001277source "arch/arm/mach-keystone/Kconfig"
Masahiro Yamada32013fb2014-08-31 07:11:05 +09001278
Masahiro Yamada5e5e23a2015-02-20 17:04:06 +09001279source "arch/arm/mach-kirkwood/Kconfig"
Masahiro Yamadad7570852014-08-31 07:10:59 +09001280
Stefan Roese383e0c12015-08-25 13:18:38 +02001281source "arch/arm/mach-mvebu/Kconfig"
1282
York Sun149eb332016-09-26 08:09:27 -07001283source "arch/arm/cpu/armv7/ls102xa/Kconfig"
1284
Fabio Estevam52b2f452017-11-03 13:40:08 -02001285source "arch/arm/mach-imx/mx2/Kconfig"
1286
Peng Fan66294882018-01-10 13:20:19 +08001287source "arch/arm/mach-imx/mx5/Kconfig"
1288
1289source "arch/arm/mach-imx/mx6/Kconfig"
Peng Fan2c7b1702017-02-22 16:21:39 +08001290
Stefano Babic33731bc2017-06-29 10:16:06 +02001291source "arch/arm/mach-imx/mx7/Kconfig"
Adrian Alonso98810772015-09-03 11:49:28 -05001292
Peng Fan66294882018-01-10 13:20:19 +08001293source "arch/arm/mach-imx/mx7ulp/Kconfig"
Boris BREZILLON51e82662015-03-04 13:13:03 +01001294
Peng Fan66294882018-01-10 13:20:19 +08001295source "arch/arm/mach-imx/mx8m/Kconfig"
Andrej Rosano1ac4bca2015-04-08 18:56:29 +02001296
Stefan Agner081ea1f2018-02-06 09:44:34 +01001297source "arch/arm/mach-imx/mxs/Kconfig"
1298
Tom Rini28eec372016-11-07 21:34:54 -05001299source "arch/arm/mach-omap2/Kconfig"
Madan Srinivaseba13cd2016-05-19 19:10:43 -05001300
York Sunbad49842016-09-26 08:09:24 -07001301source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
1302
Masahiro Yamada22537642015-02-20 17:04:09 +09001303source "arch/arm/mach-orion5x/Kconfig"
Masahiro Yamada04ffbc12014-08-31 07:11:06 +09001304
Nobuhiro Iwamatsuc91ef682015-10-09 16:40:09 +09001305source "arch/arm/mach-rmobile/Kconfig"
Masahiro Yamadac9c54e22014-08-31 07:10:57 +09001306
Beniamino Galvanid1037e42016-05-08 08:30:16 +02001307source "arch/arm/mach-meson/Kconfig"
1308
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +03001309source "arch/arm/mach-qemu/Kconfig"
1310
Simon Glass2cffe662015-08-30 16:55:38 -06001311source "arch/arm/mach-rockchip/Kconfig"
1312
Minkyu Kang56b820a2015-11-20 15:24:57 +09001313source "arch/arm/mach-s5pc1xx/Kconfig"
Simon Glass96aa0722014-10-07 22:01:50 -06001314
Mateusz Kulikowski2507d822016-03-31 23:12:32 +02001315source "arch/arm/mach-snapdragon/Kconfig"
1316
Masahiro Yamada144a3e02015-04-21 20:38:20 +09001317source "arch/arm/mach-socfpga/Kconfig"
1318
Patrice Chotard5b428242017-02-21 13:37:04 +01001319source "arch/arm/mach-sti/Kconfig"
1320
Vikas Manocha95c89192016-01-15 17:49:06 -08001321source "arch/arm/mach-stm32/Kconfig"
1322
Patrick Delaunay85b53972018-03-12 10:46:10 +01001323source "arch/arm/mach-stm32mp/Kconfig"
1324
Masahiro Yamada4976a222017-04-28 19:42:18 +09001325source "arch/arm/mach-sunxi/Kconfig"
1326
Masahiro Yamadaed1632a2015-02-20 17:04:04 +09001327source "arch/arm/mach-tegra/Kconfig"
Masahiro Yamada73a5b1a2014-08-31 07:10:56 +09001328
Masahiro Yamadaf8563982015-02-27 02:26:42 +09001329source "arch/arm/mach-uniphier/Kconfig"
Masahiro Yamada82069432014-10-03 19:21:07 +09001330
Stefan Agnerd53c0a42017-03-13 18:41:36 -07001331source "arch/arm/cpu/armv7/vf610/Kconfig"
1332
Masahiro Yamada43246cc2015-03-16 16:43:22 +09001333source "arch/arm/mach-zynq/Kconfig"
Masahiro Yamada73a5b1a2014-08-31 07:10:56 +09001334
Hans de Goede85437352014-11-14 09:34:30 +01001335source "arch/arm/cpu/armv7/Kconfig"
1336
Siva Durga Prasad Paladugu4095bc22015-06-10 15:50:56 +05301337source "arch/arm/cpu/armv8/zynqmp/Kconfig"
1338
Linus Walleij74771392015-03-09 10:53:21 +01001339source "arch/arm/cpu/armv8/Kconfig"
1340
Stefano Babic33731bc2017-06-29 10:16:06 +02001341source "arch/arm/mach-imx/Kconfig"
Boris BREZILLON6b9b9a02015-03-04 13:13:04 +01001342
Heiko Schocherf1163962016-06-07 08:31:25 +02001343source "board/bosch/shc/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001344source "board/CarMediaLab/flea3/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001345source "board/Marvell/aspenite/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001346source "board/Marvell/gplugd/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001347source "board/armadeus/apf27/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001348source "board/armltd/vexpress/Kconfig"
1349source "board/armltd/vexpress64/Kconfig"
Steve Rae45f2c702016-06-02 15:10:56 -07001350source "board/broadcom/bcm23550_w1d/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001351source "board/broadcom/bcm28155_ap/Kconfig"
Steve Rae1c5f31c2014-11-11 11:32:18 -08001352source "board/broadcom/bcmcygnus/Kconfig"
1353source "board/broadcom/bcmnsp/Kconfig"
Jon Masond59b5862017-03-17 12:12:14 -04001354source "board/broadcom/bcmns2/Kconfig"
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07001355source "board/cavium/thunderx/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001356source "board/cirrus/edb93xx/Kconfig"
Felix Brack1ba8c9e2018-01-23 18:27:22 +01001357source "board/eets/pdu001/Kconfig"
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301358source "board/freescale/ls2080a/Kconfig"
1359source "board/freescale/ls2080aqds/Kconfig"
1360source "board/freescale/ls2080ardb/Kconfig"
Ashish Kumar227b4bc2017-08-31 16:12:54 +05301361source "board/freescale/ls1088a/Kconfig"
Wang Huanf0ce7d62014-09-05 13:52:44 +08001362source "board/freescale/ls1021aqds/Kconfig"
Shaohui Xiedd335672015-11-11 17:58:37 +08001363source "board/freescale/ls1043aqds/Kconfig"
Wang Huanddf89f92014-09-05 13:52:45 +08001364source "board/freescale/ls1021atwr/Kconfig"
Feng Li39e112d2016-11-03 14:15:17 +08001365source "board/freescale/ls1021aiot/Kconfig"
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001366source "board/freescale/ls1046aqds/Kconfig"
Mingkai Hueee86ff2015-10-26 19:47:52 +08001367source "board/freescale/ls1043ardb/Kconfig"
Mingkai Hud2396512016-09-07 18:47:28 +08001368source "board/freescale/ls1046ardb/Kconfig"
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05301369source "board/freescale/ls1012aqds/Kconfig"
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05301370source "board/freescale/ls1012ardb/Kconfig"
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05301371source "board/freescale/ls1012afrdm/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001372source "board/freescale/mx31pdk/Kconfig"
1373source "board/freescale/mx35pdk/Kconfig"
Eddy Petrișor5178dc12016-06-05 03:43:00 +03001374source "board/freescale/s32v234evb/Kconfig"
Dirk Eibachfb605942017-02-22 16:07:23 +01001375source "board/gdsys/a38x/Kconfig"
Marcin Niestroj20315d22017-01-25 09:53:08 +01001376source "board/grinn/chiliboard/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001377source "board/gumstix/pepper/Kconfig"
1378source "board/h2200/Kconfig"
Tom Rinibdf4f182015-09-02 15:32:20 -04001379source "board/hisilicon/hikey/Kconfig"
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02001380source "board/hisilicon/poplar/Kconfig"
Ladislav Michl10bdc712017-04-01 17:17:16 +02001381source "board/isee/igep003x/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001382source "board/phytec/pcm051/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001383source "board/silica/pengwyn/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001384source "board/spear/spear300/Kconfig"
1385source "board/spear/spear310/Kconfig"
1386source "board/spear/spear320/Kconfig"
1387source "board/spear/spear600/Kconfig"
1388source "board/spear/x600/Kconfig"
Vikas Manocha33913c52014-11-18 10:42:22 -08001389source "board/st/stv0991/Kconfig"
Enric Balletbò i Serra9d89b082015-09-07 07:43:20 +02001390source "board/tcl/sl50/Kconfig"
Gilles Gameiroebd46d12015-02-10 01:36:01 -08001391source "board/birdland/bav335x/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001392source "board/timll/devkit3250/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001393source "board/toradex/colibri_pxa270/Kconfig"
Yegor Yefremovfa8b71b2015-05-29 19:27:29 +02001394source "board/vscom/baltos/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001395source "board/woodburn/Kconfig"
Albert ARIBAUD \(3ADEV\)ee69a392015-03-31 11:40:51 +02001396source "board/work-microwave/work_92105/Kconfig"
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +05301397source "board/xilinx/zynqmp/Kconfig"
Vasily Khoruzhicka2cbff02016-03-20 18:37:00 -07001398source "board/zipitz2/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001399
Masahiro Yamadadf00e522014-09-01 11:06:34 +09001400source "arch/arm/Kconfig.debug"
1401
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001402endmenu
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +02001403
1404config SPL_LDSCRIPT
Mans Rullgard65d21902018-04-21 16:11:10 +01001405 default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if (ARCH_MX23 || ARCH_MX28) && !SPL_FRAMEWORK
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +02001406 default "arch/arm/cpu/arm1136/u-boot-spl.lds" if CPU_ARM1136
1407 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64
1408
1409