blob: 79b80467f7f6a99455a7fe0a692a7c26dda78656 [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
Marek Vasut355405c2021-08-30 15:05:23 +020012config ARM64_CRC32
13 bool "Enable support for CRC32 instruction"
14 depends on ARM64
15 default y
16 help
17 ARMv8 implements dedicated crc32 instruction for crc32 calculation.
18 This is faster than software crc32 calculation. This instruction may
19 not be present on all ARMv8.0, but is always present on ARMv8.1 and
20 newer.
21
Stephen Warren81c21372017-11-02 18:11:27 -060022config POSITION_INDEPENDENT
23 bool "Generate position-independent pre-relocation code"
Chia-Wei Wangbbd3c612021-08-03 10:50:10 +080024 depends on ARM64 || CPU_V7A
Stephen Warren81c21372017-11-02 18:11:27 -060025 help
26 U-Boot expects to be linked to a specific hard-coded address, and to
27 be loaded to and run from that address. This option lifts that
Edgar E. Iglesias63d73362020-09-09 19:07:24 +020028 restriction, thus allowing the code to be loaded to and executed from
29 almost any 4K aligned address. This logic relies on the relocation
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -050030 information that is embedded in the binary to support U-Boot
Stephen Warren81c21372017-11-02 18:11:27 -060031 relocating itself to the top-of-RAM later during execution.
Stephen Warrenb80fe6d2017-12-19 18:30:36 -070032
Masahiro Yamadabf4645c2019-06-26 13:51:46 +090033config INIT_SP_RELATIVE
34 bool "Specify the early stack pointer relative to the .bss section"
Chia-Wei Wang88103202021-08-03 10:50:09 +080035 depends on ARM64
Andre Przywara4d711892020-09-30 17:39:18 +010036 default n if ARCH_QEMU
Andre Przywaraa834b772020-09-30 17:39:15 +010037 default y if POSITION_INDEPENDENT
Stephen Warrenb80fe6d2017-12-19 18:30:36 -070038 help
39 U-Boot typically uses a hard-coded value for the stack pointer
Masahiro Yamadabf4645c2019-06-26 13:51:46 +090040 before relocation. Enable this option to instead calculate the
Stephen Warrenb80fe6d2017-12-19 18:30:36 -070041 initial SP at run-time. This is useful to avoid hard-coding addresses
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -050042 into U-Boot, so that it can be loaded and executed at arbitrary
Masahiro Yamadabf4645c2019-06-26 13:51:46 +090043 addresses and thus avoid using arbitrary addresses at runtime.
44
45 If this option is enabled, the early stack pointer is set to
46 &_bss_start with a offset value added. The offset is specified by
47 SYS_INIT_SP_BSS_OFFSET.
48
49config SYS_INIT_SP_BSS_OFFSET
50 int "Early stack offset from the .bss base address"
Chia-Wei Wang88103202021-08-03 10:50:09 +080051 depends on ARM64
Masahiro Yamadabf4645c2019-06-26 13:51:46 +090052 depends on INIT_SP_RELATIVE
53 default 524288
54 help
55 This option's value is the offset added to &_bss_start in order to
Stephen Warrenb80fe6d2017-12-19 18:30:36 -070056 calculate the stack pointer. This offset should be large enough so
57 that the early malloc region, global data (gd), and early stack usage
58 do not overlap any appended DTB.
Stephen Warren80a93652018-01-03 14:31:51 -070059
60config LINUX_KERNEL_IMAGE_HEADER
Chia-Wei Wang88103202021-08-03 10:50:09 +080061 depends on ARM64
Stephen Warren80a93652018-01-03 14:31:51 -070062 bool
63 help
64 Place a Linux kernel image header at the start of the U-Boot binary.
65 The format of the header is described in the Linux kernel source at
66 Documentation/arm64/booting.txt. This feature is useful since the
67 image header reports the amount of memory (BSS and similar) that
68 U-Boot needs to use, but which isn't part of the binary.
69
Stephen Warren80a93652018-01-03 14:31:51 -070070config LNX_KRNL_IMG_TEXT_OFFSET_BASE
Chia-Wei Wang88103202021-08-03 10:50:09 +080071 depends on LINUX_KERNEL_IMAGE_HEADER
Stephen Warren80a93652018-01-03 14:31:51 -070072 hex
73 help
74 The value subtracted from CONFIG_SYS_TEXT_BASE to calculate the
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -050075 TEXT_OFFSET value written to the Linux kernel image header.
Stephen Warren81c21372017-11-02 18:11:27 -060076
Tom Rini249f11f2021-08-19 14:19:39 -040077config GICV2
78 bool
79
80config GICV3
81 bool
82
Bharat Kumar Reddy Gooty436efc02019-12-16 09:09:43 -080083config GIC_V3_ITS
84 bool "ARM GICV3 ITS"
Wasim Khan339539c2021-03-08 16:48:14 +010085 select IRQ
Bharat Kumar Reddy Gooty436efc02019-12-16 09:09:43 -080086 help
87 ARM GICV3 Interrupt translation service (ITS).
88 Basic support for programming locality specific peripheral
89 interrupts (LPI) configuration tables and enable LPI tables.
90 LPI configuration table can be used by u-boot or Linux.
91 ARM GICV3 has limitation, once the LPI table is enabled, LPI
92 configuration table can not be re-programmed, unless GICV3 reset.
93
Stephen Warren81c21372017-11-02 18:11:27 -060094config STATIC_RELA
95 bool
Andre Przywaraf7582ee2020-09-30 17:39:13 +010096 default y if ARM64
Stephen Warren81c21372017-11-02 18:11:27 -060097
Lokesh Vutlaf94277d2016-03-24 16:02:00 +053098config DMA_ADDR_T_64BIT
99 bool
100 default y if ARM64
101
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100102config HAS_VBAR
Tom Rinibca01962016-08-22 08:22:18 -0400103 bool
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100104
Albert ARIBAUDa3823222015-10-23 18:06:40 +0200105config HAS_THUMB2
Tom Rinibca01962016-08-22 08:22:18 -0400106 bool
Albert ARIBAUDa3823222015-10-23 18:06:40 +0200107
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900108config GPIO_EXTRA_HEADER
109 bool
110
Phil Edworthy3b8f16a2017-06-01 07:33:28 +0100111# Used for compatibility with asm files copied from the kernel
112config ARM_ASM_UNIFIED
113 bool
114 default y
115
116# Used for compatibility with asm files copied from the kernel
117config THUMB2_KERNEL
118 bool
119
Trevor Woernerba64b8b2019-05-03 09:40:59 -0400120config SYS_ICACHE_OFF
121 bool "Do not enable icache"
Trevor Woernerba64b8b2019-05-03 09:40:59 -0400122 help
123 Do not enable instruction cache in U-Boot.
124
Trevor Woerner43ec7e02019-05-03 09:41:00 -0400125config SPL_SYS_ICACHE_OFF
126 bool "Do not enable icache in SPL"
127 depends on SPL
128 default SYS_ICACHE_OFF
129 help
130 Do not enable instruction cache in SPL.
131
Trevor Woernerba64b8b2019-05-03 09:40:59 -0400132config SYS_DCACHE_OFF
133 bool "Do not enable dcache"
Trevor Woernerba64b8b2019-05-03 09:40:59 -0400134 help
135 Do not enable data cache in U-Boot.
136
Trevor Woerner43ec7e02019-05-03 09:41:00 -0400137config SPL_SYS_DCACHE_OFF
138 bool "Do not enable dcache in SPL"
139 depends on SPL
140 default SYS_DCACHE_OFF
141 help
142 Do not enable data cache in SPL.
143
Lokesh Vutla5a5bb6c2018-04-26 18:21:28 +0530144config SYS_ARM_CACHE_CP15
145 bool "CP15 based cache enabling support"
146 help
147 Select this if your processor suports enabling caches by using
148 CP15 registers.
149
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530150config SYS_ARM_MMU
151 bool "MMU-based Paged Memory Management Support"
Lokesh Vutla5a5bb6c2018-04-26 18:21:28 +0530152 select SYS_ARM_CACHE_CP15
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530153 help
154 Select if you want MMU-based virtualised addressing space
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500155 support via paged memory management.
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530156
Lokesh Vutla076ee452018-04-26 18:21:30 +0530157config SYS_ARM_MPU
158 bool 'Use the ARM v7 PMSA Compliant MPU'
159 help
160 Some ARM systems without an MMU have instead a Memory Protection
161 Unit (MPU) that defines the type and permissions for regions of
162 memory.
163 If your CPU has an MPU then you should choose 'y' here unless you
164 know that you do not want to use the MPU.
165
Tom Rinibacb52c2017-03-07 07:13:42 -0500166# If set, the workarounds for these ARM errata are applied early during U-Boot
167# startup. Note that in general these options force the workarounds to be
168# applied; no CPU-type/version detection exists, unlike the similar options in
169# the Linux kernel. Do not set these options unless they apply! Also note that
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500170# the following can be machine-specific errata. These do have ability to
171# provide rudimentary version and machine-specific checks, but expect no
Tom Rinibacb52c2017-03-07 07:13:42 -0500172# product checks:
173# CONFIG_ARM_ERRATA_430973
174# CONFIG_ARM_ERRATA_454179
175# CONFIG_ARM_ERRATA_621766
176# CONFIG_ARM_ERRATA_798870
177# CONFIG_ARM_ERRATA_801819
Nishanth Menon85515bf2018-06-12 15:24:08 -0500178# CONFIG_ARM_CORTEX_A8_CVE_2017_5715
Nishanth Menon6ffdeaa2018-06-12 15:24:09 -0500179# CONFIG_ARM_CORTEX_A15_CVE_2017_5715
Nishanth Menon85515bf2018-06-12 15:24:08 -0500180
Tom Rinibacb52c2017-03-07 07:13:42 -0500181config ARM_ERRATA_430973
182 bool
183
184config ARM_ERRATA_454179
185 bool
186
187config ARM_ERRATA_621766
188 bool
189
190config ARM_ERRATA_716044
191 bool
192
Siarhei Siamashkafe038a72017-03-06 03:16:53 +0200193config ARM_ERRATA_725233
194 bool
195
Tom Rinibacb52c2017-03-07 07:13:42 -0500196config ARM_ERRATA_742230
197 bool
198
199config ARM_ERRATA_743622
200 bool
201
202config ARM_ERRATA_751472
203 bool
204
205config ARM_ERRATA_761320
206 bool
207
208config ARM_ERRATA_773022
209 bool
210
211config ARM_ERRATA_774769
212 bool
213
214config ARM_ERRATA_794072
215 bool
216
217config ARM_ERRATA_798870
218 bool
219
220config ARM_ERRATA_801819
221 bool
222
223config ARM_ERRATA_826974
224 bool
225
226config ARM_ERRATA_828024
227 bool
228
229config ARM_ERRATA_829520
230 bool
231
232config ARM_ERRATA_833069
233 bool
234
235config ARM_ERRATA_833471
236 bool
237
Peng Fan5ac341f2017-08-08 13:34:52 +0800238config ARM_ERRATA_845369
Michal Simekf751ff52018-07-23 15:55:12 +0200239 bool
Peng Fan5ac341f2017-08-08 13:34:52 +0800240
Nisal Menukafaa993a2017-04-26 16:18:01 -0500241config ARM_ERRATA_852421
242 bool
243
244config ARM_ERRATA_852423
245 bool
246
Alison Wangc1293872017-12-28 13:00:55 +0800247config ARM_ERRATA_855873
248 bool
249
Nishanth Menon85515bf2018-06-12 15:24:08 -0500250config ARM_CORTEX_A8_CVE_2017_5715
251 bool
252
Nishanth Menon6ffdeaa2018-06-12 15:24:09 -0500253config ARM_CORTEX_A15_CVE_2017_5715
254 bool
255
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100256config CPU_ARM720T
Tom Rinibca01962016-08-22 08:22:18 -0400257 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400258 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530259 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100260
261config CPU_ARM920T
Tom Rinibca01962016-08-22 08:22:18 -0400262 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400263 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530264 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100265
266config CPU_ARM926EJS
Tom Rinibca01962016-08-22 08:22:18 -0400267 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400268 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530269 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100270
271config CPU_ARM946ES
Tom Rinibca01962016-08-22 08:22:18 -0400272 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400273 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530274 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100275
276config CPU_ARM1136
Tom Rinibca01962016-08-22 08:22:18 -0400277 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400278 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530279 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100280
281config CPU_ARM1176
Tom Rinibca01962016-08-22 08:22:18 -0400282 bool
283 select HAS_VBAR
Tom Rini84f9b612016-08-22 08:22:17 -0400284 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530285 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100286
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530287config CPU_V7A
Tom Rinibca01962016-08-22 08:22:18 -0400288 bool
Tom Rinibca01962016-08-22 08:22:18 -0400289 select HAS_THUMB2
Michal Simek84f3dec2018-07-23 15:55:13 +0200290 select HAS_VBAR
Tom Rini84f9b612016-08-22 08:22:17 -0400291 select SYS_CACHE_SHIFT_6
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530292 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100293
rev13@wp.plb3b57e82015-03-01 12:44:39 +0100294config CPU_V7M
295 bool
Tom Rinibca01962016-08-22 08:22:18 -0400296 select HAS_THUMB2
Lokesh Vutla076ee452018-04-26 18:21:30 +0530297 select SYS_ARM_MPU
Michal Simek84f3dec2018-07-23 15:55:13 +0200298 select SYS_CACHE_SHIFT_5
Tom Rini19bdef62018-05-07 20:46:52 -0400299 select SYS_THUMB_BUILD
Michal Simek84f3dec2018-07-23 15:55:13 +0200300 select THUMB2_KERNEL
rev13@wp.plb3b57e82015-03-01 12:44:39 +0100301
Michal Simekf4359382018-04-26 18:21:29 +0530302config CPU_V7R
303 bool
304 select HAS_THUMB2
Lokesh Vutla076ee452018-04-26 18:21:30 +0530305 select SYS_ARM_CACHE_CP15
Michal Simek84f3dec2018-07-23 15:55:13 +0200306 select SYS_ARM_MPU
307 select SYS_CACHE_SHIFT_6
Michal Simekf4359382018-04-26 18:21:29 +0530308
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100309config CPU_PXA
Tom Rinibca01962016-08-22 08:22:18 -0400310 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400311 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530312 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100313
Tom Rini72f2c142021-12-17 18:08:40 -0500314config CPU_PXA27X
315 bool
316 select CPU_PXA
317
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100318config CPU_SA1100
Tom Rinibca01962016-08-22 08:22:18 -0400319 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400320 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530321 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100322
323config SYS_CPU
Tom Rinibca01962016-08-22 08:22:18 -0400324 default "arm720t" if CPU_ARM720T
325 default "arm920t" if CPU_ARM920T
326 default "arm926ejs" if CPU_ARM926EJS
327 default "arm946es" if CPU_ARM946ES
328 default "arm1136" if CPU_ARM1136
329 default "arm1176" if CPU_ARM1176
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530330 default "armv7" if CPU_V7A
Michal Simekf4359382018-04-26 18:21:29 +0530331 default "armv7" if CPU_V7R
Tom Rinibca01962016-08-22 08:22:18 -0400332 default "armv7m" if CPU_V7M
333 default "pxa" if CPU_PXA
334 default "sa1100" if CPU_SA1100
Masahiro Yamadadade3b02014-11-06 11:39:27 +0900335 default "armv8" if ARM64
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100336
Marek Vasutb06c9542016-05-26 18:01:36 +0200337config SYS_ARM_ARCH
338 int
339 default 4 if CPU_ARM720T
340 default 4 if CPU_ARM920T
341 default 5 if CPU_ARM926EJS
342 default 5 if CPU_ARM946ES
343 default 6 if CPU_ARM1136
344 default 6 if CPU_ARM1176
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530345 default 7 if CPU_V7A
Marek Vasutb06c9542016-05-26 18:01:36 +0200346 default 7 if CPU_V7M
Michal Simekf4359382018-04-26 18:21:29 +0530347 default 7 if CPU_V7R
Marek Vasutb06c9542016-05-26 18:01:36 +0200348 default 5 if CPU_PXA
349 default 4 if CPU_SA1100
350 default 8 if ARM64
351
Patrick Delaunayafc69a92020-04-10 16:02:02 +0200352choice
353 prompt "Select the ARM data write cache policy"
354 default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS || \
Tom Rini99972932021-02-20 20:05:57 -0500355 CPU_PXA || RZA1
Patrick Delaunayafc69a92020-04-10 16:02:02 +0200356 default SYS_ARM_CACHE_WRITEBACK
357
358config SYS_ARM_CACHE_WRITEBACK
359 bool "Write-back (WB)"
360 help
361 A write updates the cache only and marks the cache line as dirty.
362 External memory is updated only when the line is evicted or explicitly
363 cleaned.
364
365config SYS_ARM_CACHE_WRITETHROUGH
366 bool "Write-through (WT)"
367 help
368 A write updates both the cache and the external memory system.
369 This does not mark the cache line as dirty.
370
371config SYS_ARM_CACHE_WRITEALLOC
372 bool "Write allocation (WA)"
373 help
374 A cache line is allocated on a write miss. This means that executing a
375 store instruction on the processor might cause a burst read to occur.
376 There is a linefill to obtain the data for the cache line, before the
377 write is performed.
378endchoice
379
Adam Fordd36b1022019-08-14 08:29:25 -0500380config ARCH_CPU_INIT
381 bool "Enable ARCH_CPU_INIT"
382 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500383 Some architectures require a call to arch_cpu_init().
Adam Fordd36b1022019-08-14 08:29:25 -0500384 Say Y here to enable it
385
Andre Przywara7b169252018-04-12 04:24:46 +0300386config SYS_ARCH_TIMER
387 bool "ARM Generic Timer support"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530388 depends on CPU_V7A || ARM64
Andre Przywara7b169252018-04-12 04:24:46 +0300389 default y if ARM64
390 help
391 The ARM Generic Timer (aka arch-timer) provides an architected
392 interface to a timer source on an SoC.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500393 It is mandatory for ARMv8 implementation and widely available
Andre Przywara7b169252018-04-12 04:24:46 +0300394 on ARMv7 systems.
395
Masahiro Yamadae8ead732017-04-14 11:10:23 +0900396config ARM_SMCCC
397 bool "Support for ARM SMC Calling Convention (SMCCC)"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530398 depends on CPU_V7A || ARM64
Masahiro Yamada836c55d2017-04-14 11:10:24 +0900399 select ARM_PSCI_FW
Masahiro Yamadae8ead732017-04-14 11:10:23 +0900400 help
401 Say Y here if you want to enable ARM SMC Calling Convention.
402 This should be enabled if U-Boot needs to communicate with system
403 firmware (for example, PSCI) according to SMCCC.
404
Linus Walleij800d6fd2015-01-23 11:50:53 +0100405config SEMIHOSTING
Sean Anderson89346ad2022-03-22 16:59:19 -0400406 bool "Support ARM semihosting"
407 help
408 Semihosting is a method for a target to communicate with a host
409 debugger. It uses special instructions which the debugger will trap
410 on and interpret. This allows U-Boot to read/write files, print to
411 the console, and execute arbitrary commands on the host system.
412
413 Enabling this option will add support for reading and writing files
414 on the host system. If you don't have a debugger attached then trying
415 to do this will likely cause U-Boot to hang. Say 'n' if you are unsure.
416
Sean Anderson52cf0f02022-03-22 16:59:30 -0400417config SEMIHOSTING_FALLBACK
418 bool "Recover gracefully when semihosting fails"
419 depends on SEMIHOSTING && ARM64
420 default y
421 help
422 Normally, if U-Boot makes a semihosting call and no debugger is
423 attached, then it will panic due to a synchronous abort
424 exception. This config adds an exception handler which will allow
425 U-Boot to recover. Say 'y' if unsure.
426
Sean Anderson89346ad2022-03-22 16:59:19 -0400427config SPL_SEMIHOSTING
428 bool "Support ARM semihosting in SPL"
429 depends on SPL
Linus Walleij800d6fd2015-01-23 11:50:53 +0100430 help
Sean Anderson89346ad2022-03-22 16:59:19 -0400431 Semihosting is a method for a target to communicate with a host
432 debugger. It uses special instructions which the debugger will trap
433 on and interpret. This allows U-Boot to read/write files, print to
434 the console, and execute arbitrary commands on the host system.
435
436 Enabling this option will add support for reading and writing files
437 on the host system. If you don't have a debugger attached then trying
438 to do this will likely cause U-Boot to hang. Say 'n' if you are unsure.
Linus Walleij800d6fd2015-01-23 11:50:53 +0100439
Sean Anderson52cf0f02022-03-22 16:59:30 -0400440config SPL_SEMIHOSTING_FALLBACK
441 bool "Recover gracefully when semihosting fails in SPL"
442 depends on SPL_SEMIHOSTING && ARM64
443 select ARMV8_SPL_EXCEPTION_VECTORS
444 default y
445 help
446 Normally, if U-Boot makes a semihosting call and no debugger is
447 attached, then it will panic due to a synchronous abort
448 exception. This config adds an exception handler which will allow
449 U-Boot to recover. Say 'y' if unsure.
450
Tom Rini1c640a62017-03-18 09:01:44 -0400451config SYS_THUMB_BUILD
452 bool "Build U-Boot using the Thumb instruction set"
453 depends on !ARM64
454 help
455 Use this flag to build U-Boot using the Thumb instruction set for
456 ARM architectures. Thumb instruction set provides better code
457 density. For ARM architectures that support Thumb2 this flag will
458 result in Thumb2 code generated by GCC.
459
460config SPL_SYS_THUMB_BUILD
461 bool "Build SPL using the Thumb instruction set"
462 default y if SYS_THUMB_BUILD
Adam Ford43a1e2d2019-08-13 14:32:30 -0500463 depends on !ARM64 && SPL
Tom Rini1c640a62017-03-18 09:01:44 -0400464 help
465 Use this flag to build SPL using the Thumb instruction set for
466 ARM architectures. Thumb instruction set provides better code
467 density. For ARM architectures that support Thumb2 this flag will
468 result in Thumb2 code generated by GCC.
469
Kever Yang55688602019-04-02 20:41:20 +0800470config TPL_SYS_THUMB_BUILD
471 bool "Build TPL using the Thumb instruction set"
472 default y if SYS_THUMB_BUILD
473 depends on TPL && !ARM64
474 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500475 Use this flag to build TPL using the Thumb instruction set for
Kever Yang55688602019-04-02 20:41:20 +0800476 ARM architectures. Thumb instruction set provides better code
477 density. For ARM architectures that support Thumb2 this flag will
478 result in Thumb2 code generated by GCC.
479
480
Peng Fan10ddab42015-08-19 15:48:57 +0800481config SYS_L2CACHE_OFF
482 bool "L2cache off"
483 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500484 If SoC does not support L2CACHE or one does not want to enable
Peng Fan10ddab42015-08-19 15:48:57 +0800485 L2CACHE, choose this option.
486
Andre Przywara48321ba2016-05-31 10:45:06 -0700487config ENABLE_ARM_SOC_BOOT0_HOOK
488 bool "prepare BOOT0 header"
489 help
490 If the SoC's BOOT0 requires a header area filled with (magic)
Simon Goldschmidt387218a2018-02-13 13:18:00 +0100491 values, then choose this option, and create a file included as
492 <asm/arch/boot0.h> which contains the required assembler code.
Andre Przywara48321ba2016-05-31 10:45:06 -0700493
Fabio Estevam988f5052016-12-15 19:30:40 -0200494config USE_ARCH_MEMCPY
495 bool "Use an assembly optimized implementation of memcpy"
Stefan Roese330807f2021-09-02 17:00:19 +0200496 default y if !ARM64
497 depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
Fabio Estevam988f5052016-12-15 19:30:40 -0200498 help
499 Enable the generation of an optimized version of memcpy.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500500 Such an implementation may be faster under some conditions
Fabio Estevam988f5052016-12-15 19:30:40 -0200501 but may increase the binary size.
502
Tom Rini443b5162017-01-12 13:16:02 -0500503config SPL_USE_ARCH_MEMCPY
Andy Yan524f3ce2017-06-28 16:27:37 +0800504 bool "Use an assembly optimized implementation of memcpy for SPL"
Tom Rini443b5162017-01-12 13:16:02 -0500505 default y if USE_ARCH_MEMCPY
Stefan Roese330807f2021-09-02 17:00:19 +0200506 depends on SPL
Tom Rini443b5162017-01-12 13:16:02 -0500507 help
508 Enable the generation of an optimized version of memcpy.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500509 Such an implementation may be faster under some conditions
Tom Rini443b5162017-01-12 13:16:02 -0500510 but may increase the binary size.
511
Kever Yang55688602019-04-02 20:41:20 +0800512config TPL_USE_ARCH_MEMCPY
513 bool "Use an assembly optimized implementation of memcpy for TPL"
514 default y if USE_ARCH_MEMCPY
Stefan Roese330807f2021-09-02 17:00:19 +0200515 depends on TPL
Kever Yang55688602019-04-02 20:41:20 +0800516 help
517 Enable the generation of an optimized version of memcpy.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500518 Such an implementation may be faster under some conditions
Kever Yang55688602019-04-02 20:41:20 +0800519 but may increase the binary size.
520
Stefan Roese330807f2021-09-02 17:00:19 +0200521config USE_ARCH_MEMMOVE
522 bool "Use an assembly optimized implementation of memmove" if !ARM64
523 default USE_ARCH_MEMCPY if ARM64
524 depends on ARM64
525 help
526 Enable the generation of an optimized version of memmove.
527 Such an implementation may be faster under some conditions
528 but may increase the binary size.
529
530config SPL_USE_ARCH_MEMMOVE
531 bool "Use an assembly optimized implementation of memmove for SPL" if !ARM64
532 default SPL_USE_ARCH_MEMCPY if ARM64
533 depends on SPL && ARM64
534 help
535 Enable the generation of an optimized version of memmove.
536 Such an implementation may be faster under some conditions
537 but may increase the binary size.
538
539config TPL_USE_ARCH_MEMMOVE
540 bool "Use an assembly optimized implementation of memmove for TPL" if !ARM64
541 default TPL_USE_ARCH_MEMCPY if ARM64
542 depends on TPL && ARM64
543 help
544 Enable the generation of an optimized version of memmove.
545 Such an implementation may be faster under some conditions
546 but may increase the binary size.
547
Fabio Estevam988f5052016-12-15 19:30:40 -0200548config USE_ARCH_MEMSET
549 bool "Use an assembly optimized implementation of memset"
Stefan Roese330807f2021-09-02 17:00:19 +0200550 default y if !ARM64
551 depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
Tom Rini443b5162017-01-12 13:16:02 -0500552 help
553 Enable the generation of an optimized version of memset.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500554 Such an implementation may be faster under some conditions
Tom Rini443b5162017-01-12 13:16:02 -0500555 but may increase the binary size.
556
557config SPL_USE_ARCH_MEMSET
Andy Yan524f3ce2017-06-28 16:27:37 +0800558 bool "Use an assembly optimized implementation of memset for SPL"
Tom Rini443b5162017-01-12 13:16:02 -0500559 default y if USE_ARCH_MEMSET
Stefan Roese330807f2021-09-02 17:00:19 +0200560 depends on SPL
Fabio Estevam988f5052016-12-15 19:30:40 -0200561 help
562 Enable the generation of an optimized version of memset.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500563 Such an implementation may be faster under some conditions
Fabio Estevam988f5052016-12-15 19:30:40 -0200564 but may increase the binary size.
565
Kever Yang55688602019-04-02 20:41:20 +0800566config TPL_USE_ARCH_MEMSET
567 bool "Use an assembly optimized implementation of memset for TPL"
568 default y if USE_ARCH_MEMSET
Stefan Roese330807f2021-09-02 17:00:19 +0200569 depends on TPL
Kever Yang55688602019-04-02 20:41:20 +0800570 help
571 Enable the generation of an optimized version of memset.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500572 Such an implementation may be faster under some conditions
Kever Yang55688602019-04-02 20:41:20 +0800573 but may increase the binary size.
574
Alison Wang73818d52016-11-10 10:49:03 +0800575config ARM64_SUPPORT_AARCH32
576 bool "ARM64 system support AArch32 execution state"
Adam Ford43a1e2d2019-08-13 14:32:30 -0500577 depends on ARM64
578 default y if !TARGET_THUNDERX_88XX
Alison Wang73818d52016-11-10 10:49:03 +0800579 help
580 This ARM64 system supports AArch32 execution state.
581
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900582choice
583 prompt "Target select"
Simon Glassdfd904a2015-08-30 19:19:30 -0600584 default TARGET_HIKEY
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900585
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900586config ARCH_AT91
587 bool "Atmel AT91"
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900588 select GPIO_EXTRA_HEADER
Tom Rini4a2b61b2018-05-10 07:15:52 -0400589 select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
Gregory CLEMENT21cbec72020-06-05 10:43:36 +0200590 select SPL_SEPARATE_BSS if SPL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900591
Masahiro Yamadae604ef92014-08-31 07:11:01 +0900592config ARCH_DAVINCI
593 bool "TI DaVinci"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100594 select CPU_ARM926EJS
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900595 select GPIO_EXTRA_HEADER
Lukasz Majewski76f442982020-06-04 23:11:53 +0800596 select SPL_DM_SPI if SPL
Simon Glassd09f3772017-08-04 16:34:43 -0600597 imply CMD_SAVES
Masahiro Yamadae604ef92014-08-31 07:11:01 +0900598 help
599 Support for TI's DaVinci platform.
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900600
Trevor Woernerbb7ab072020-05-06 08:02:40 -0400601config ARCH_KIRKWOOD
Masahiro Yamadad7570852014-08-31 07:10:59 +0900602 bool "Marvell Kirkwood"
Simon Glass95d31412017-01-23 13:31:21 -0700603 select ARCH_MISC_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200604 select BOARD_EARLY_INIT_F
605 select CPU_ARM926EJS
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900606 select GPIO_EXTRA_HEADER
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900607
Stefan Roese383e0c12015-08-25 13:18:38 +0200608config ARCH_MVEBU
Stefan Roesecb410332016-05-25 08:13:45 +0200609 bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
Stefan Roese096de4f2015-09-01 11:27:52 +0200610 select DM
Stefan Roese05b38c12015-11-19 07:46:15 +0100611 select DM_ETH
Stefan Roese7f9f8e32015-09-02 08:41:41 +0200612 select DM_SERIAL
Stefan Roese49e7d772015-11-20 13:51:57 +0100613 select DM_SPI
614 select DM_SPI_FLASH
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900615 select GPIO_EXTRA_HEADER
Lukasz Majewski76f442982020-06-04 23:11:53 +0800616 select SPL_DM_SPI if SPL
617 select SPL_DM_SPI_FLASH if SPL
Michal Simek84f3dec2018-07-23 15:55:13 +0200618 select OF_CONTROL
619 select OF_SEPARATE
Adam Ford4e96ff82018-04-15 13:51:26 -0400620 select SPI
Michal Simek2e7c8192018-07-23 15:55:14 +0200621 imply CMD_DM
Stefan Roese9b1e2312014-10-22 12:13:19 +0200622
Trevor Woernerf9953752020-05-06 08:02:38 -0400623config ARCH_ORION5X
Masahiro Yamada04ffbc12014-08-31 07:11:06 +0900624 bool "Marvell Orion"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100625 select CPU_ARM926EJS
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900626 select GPIO_EXTRA_HEADER
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900627
Vikas Manocha33913c52014-11-18 10:42:22 -0800628config TARGET_STV0991
629 bool "Support stv0991"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530630 select CPU_V7A
Masahiro Yamada0906a822015-03-31 12:48:01 +0900631 select DM
632 select DM_SERIAL
Vikas Manocha8cc062f2015-07-02 18:29:41 -0700633 select DM_SPI
634 select DM_SPI_FLASH
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900635 select GPIO_EXTRA_HEADER
Michal Simek84f3dec2018-07-23 15:55:13 +0200636 select PL01X_SERIAL
Adam Ford4e96ff82018-04-15 13:51:26 -0400637 select SPI
Vikas Manocha8cc062f2015-07-02 18:29:41 -0700638 select SPI_FLASH
Michal Simek2e7c8192018-07-23 15:55:14 +0200639 imply CMD_DM
Vikas Manocha33913c52014-11-18 10:42:22 -0800640
Masahiro Yamadaed22cc72015-03-19 19:42:56 +0900641config ARCH_BCM283X
642 bool "Broadcom BCM283X family"
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900643 select DM
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900644 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +0200645 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900646 select GPIO_EXTRA_HEADER
Fabian Vogtf9e3ed52016-09-26 14:26:51 +0200647 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +0100648 select PL01X_SERIAL
Alexander Grafc8bda542018-01-29 13:57:20 +0100649 select SERIAL_SEARCH_ALL
Michal Simek2e7c8192018-07-23 15:55:14 +0200650 imply CMD_DM
Tom Rinid8532af2017-06-02 11:03:50 -0400651 imply FAT_WRITE
Stephen Warrendc7ea682015-02-16 12:16:15 -0700652
Philippe Reynes312a3f92019-01-31 18:57:35 +0100653config ARCH_BCM63158
654 bool "Broadcom BCM63158 family"
655 select DM
656 select OF_CONTROL
657 imply CMD_DM
658
Philippe Reynes1a899622022-02-11 19:18:34 +0100659config ARCH_BCM6753
660 bool "Broadcom BCM6753 family"
661 select CPU_V7A
662 select DM
663 select OF_CONTROL
664 imply CMD_DM
665
Philippe Reynesdfeb2c02020-01-07 20:14:10 +0100666config ARCH_BCM68360
667 bool "Broadcom BCM68360 family"
668 select DM
669 select OF_CONTROL
670 imply CMD_DM
671
Philippe Reynes697f15e2018-10-11 18:31:58 +0200672config ARCH_BCM6858
673 bool "Broadcom BCM6858 family"
674 select DM
675 select OF_CONTROL
676 imply CMD_DM
677
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -0400678config ARCH_BCMSTB
679 bool "Broadcom BCM7XXX family"
680 select CPU_V7A
681 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900682 select GPIO_EXTRA_HEADER
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -0400683 select OF_CONTROL
Michal Simek2e7c8192018-07-23 15:55:14 +0200684 imply CMD_DM
Simon Glass94886db2021-12-16 20:59:36 -0700685 imply OF_HAS_PRIOR_STAGE
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -0400686 help
687 This enables support for Broadcom ARM-based set-top box
688 chipsets, including the 7445 family of chips.
689
Kristian Amlie8f8a2992021-09-07 08:37:51 +0200690config TARGET_VEXPRESS_CA9X4
691 bool "Support vexpress_ca9x4"
692 select CPU_V7A
693 select PL011_SERIAL
694
Steve Rae1c5f31c2014-11-11 11:32:18 -0800695config TARGET_BCMCYGNUS
696 bool "Support bcmcygnus"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530697 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900698 select GPIO_EXTRA_HEADER
Michal Simek84f3dec2018-07-23 15:55:13 +0200699 imply BCM_SF2_ETH
700 imply BCM_SF2_ETH_GMAC
Simon Glass027608e2017-05-17 03:25:25 -0600701 imply CMD_HASH
Michal Simek84f3dec2018-07-23 15:55:13 +0200702 imply CRC32_VERIFY
Tom Rinid8532af2017-06-02 11:03:50 -0400703 imply FAT_WRITE
Daniel Thompsona9e2c672017-05-19 17:26:58 +0100704 imply HASH_VERIFY
Suji Velupillaid2f677a2017-07-10 14:05:41 -0700705 imply NETDEVICES
Steve Rae729da8b2014-08-11 13:58:26 -0700706
Jon Masond59b5862017-03-17 12:12:14 -0400707config TARGET_BCMNS2
708 bool "Support Broadcom Northstar2"
709 select ARM64
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900710 select GPIO_EXTRA_HEADER
Jon Masond59b5862017-03-17 12:12:14 -0400711 help
712 Support for Broadcom Northstar 2 SoCs. NS2 is a quad-core 64-bit
713 ARMv8 Cortex-A57 processors targeting a broad range of networking
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500714 applications.
Jon Masond59b5862017-03-17 12:12:14 -0400715
Rayagonda Kokatanur1d8fa362020-07-15 22:48:55 +0530716config TARGET_BCMNS3
717 bool "Support Broadcom NS3"
718 select ARM64
719 select BOARD_LATE_INIT
720 help
721 Support for Broadcom Northstar 3 SoCs. NS3 is a octo-core 64-bit
722 ARMv8 Cortex-A72 processors targeting a broad range of networking
723 applications.
724
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900725config ARCH_EXYNOS
726 bool "Samsung EXYNOS"
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900727 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +0200728 select DM_GPIO
Simon Glass7bbb7d92016-11-23 06:34:40 -0700729 select DM_I2C
Simon Glass881c8862021-07-18 19:02:40 -0600730 select DM_ETH
Michal Simek84f3dec2018-07-23 15:55:13 +0200731 select DM_KEYBOARD
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900732 select DM_SERIAL
733 select DM_SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200734 select DM_SPI_FLASH
Adam Ford4e96ff82018-04-15 13:51:26 -0400735 select SPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900736 select GPIO_EXTRA_HEADER
Guillaume GARDETf5357322018-11-20 14:15:13 +0100737 imply SYS_THUMB_BUILD
Michal Simek2e7c8192018-07-23 15:55:14 +0200738 imply CMD_DM
Tom Rinid8532af2017-06-02 11:03:50 -0400739 imply FAT_WRITE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900740
Simon Glass96aa0722014-10-07 22:01:50 -0600741config ARCH_S5PC1XX
742 bool "Samsung S5PC1XX"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530743 select CPU_V7A
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900744 select DM
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900745 select DM_GPIO
Simon Glassc6aa9702016-11-23 06:34:41 -0700746 select DM_I2C
Michal Simek84f3dec2018-07-23 15:55:13 +0200747 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900748 select GPIO_EXTRA_HEADER
Michal Simek2e7c8192018-07-23 15:55:14 +0200749 imply CMD_DM
Simon Glass96aa0722014-10-07 22:01:50 -0600750
Masahiro Yamada52ece9c2014-08-31 07:11:07 +0900751config ARCH_HIGHBANK
752 bool "Calxeda Highbank"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530753 select CPU_V7A
Andre Przywara8d1069f2021-04-12 01:04:51 +0100754 select PL01X_SERIAL
755 select DM
756 select DM_SERIAL
757 select OF_CONTROL
Andre Przywara8d1069f2021-04-12 01:04:51 +0100758 select CLK
759 select CLK_CCF
760 select AHCI
Andre Przywara7352fb92021-04-12 01:04:52 +0100761 select DM_ETH
Andre Przywara126d9a62021-04-12 01:04:54 +0100762 select PHYS_64BIT
Simon Glass94886db2021-12-16 20:59:36 -0700763 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900764
Masahiro Yamadacad44162015-04-21 21:59:36 +0900765config ARCH_INTEGRATOR
766 bool "ARM Ltd. Integrator family"
Linus Walleij616d9a02015-07-27 11:22:48 +0200767 select DM
768 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900769 select GPIO_EXTRA_HEADER
Alexander Graf633ef892018-01-25 12:05:52 +0100770 select PL01X_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +0200771 imply CMD_DM
Masahiro Yamadacad44162015-04-21 21:59:36 +0900772
Robert Markoe7a34f12020-07-06 10:37:54 +0200773config ARCH_IPQ40XX
774 bool "Qualcomm IPQ40xx SoCs"
775 select CPU_V7A
776 select DM
777 select DM_GPIO
778 select DM_SERIAL
Robert Marko42c5ee82020-09-10 16:00:03 +0200779 select DM_RESET
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900780 select GPIO_EXTRA_HEADER
Robert Marko0b7d9502020-09-10 16:00:01 +0200781 select MSM_SMEM
Robert Markoe7a34f12020-07-06 10:37:54 +0200782 select PINCTRL
783 select CLK
Robert Marko0b7d9502020-09-10 16:00:01 +0200784 select SMEM
Robert Markoe7a34f12020-07-06 10:37:54 +0200785 select OF_CONTROL
786 imply CMD_DM
787
Masahiro Yamada32013fb2014-08-31 07:11:05 +0900788config ARCH_KEYSTONE
789 bool "TI Keystone"
Michal Simek84f3dec2018-07-23 15:55:13 +0200790 select CMD_POWEROFF
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530791 select CPU_V7A
Tom Rinife2cea62021-08-21 13:50:16 -0400792 select DDR_SPD
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900793 select GPIO_EXTRA_HEADER
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900794 select SUPPORT_SPL
Andre Przywara7b169252018-04-12 04:24:46 +0300795 select SYS_ARCH_TIMER
Michal Simek84f3dec2018-07-23 15:55:13 +0200796 select SYS_THUMB_BUILD
Tom Rinic20bb732017-07-22 18:36:16 -0400797 imply CMD_MTDPARTS
Simon Glassd09f3772017-08-04 16:34:43 -0600798 imply CMD_SAVES
Michal Simek84f3dec2018-07-23 15:55:13 +0200799 imply FIT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900800
Lokesh Vutla9bdec002018-08-27 15:57:08 +0530801config ARCH_K3
802 bool "Texas Instruments' K3 Architecture"
803 select SPL
804 select SUPPORT_SPL
805 select FIT
806
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900807config ARCH_OMAP2PLUS
808 bool "TI OMAP2+"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530809 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900810 select GPIO_EXTRA_HEADER
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +0800811 select SPL_BOARD_INIT if SPL
Tom Rinic37e0cf2017-09-17 11:44:49 -0400812 select SPL_STACK_R if SPL
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900813 select SUPPORT_SPL
Dario Binacchid1cb3f62020-12-30 00:06:29 +0100814 imply TI_SYSC if DM && OF_CONTROL
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900815 imply FIT
Simon Glassfc557362022-03-04 08:43:05 -0700816 imply DM_EVENT
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900817
Beniamino Galvanid1037e42016-05-08 08:30:16 +0200818config ARCH_MESON
819 bool "Amlogic Meson"
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900820 select GPIO_EXTRA_HEADER
Masahiro Yamada9afc6c52018-04-25 18:47:52 +0900821 imply DISTRO_DEFAULTS
Heinrich Schuchardt966caaf2020-04-05 12:20:23 +0200822 imply DM_RNG
Beniamino Galvanid1037e42016-05-08 08:30:16 +0200823 help
824 Support for the Meson SoC family developed by Amlogic Inc.,
825 targeted at media players and tablet computers. We currently
826 support the S905 (GXBaby) 64-bit SoC.
827
developerf4a079c2018-11-15 10:07:52 +0800828config ARCH_MEDIATEK
829 bool "MediaTek SoCs"
developerf4a079c2018-11-15 10:07:52 +0800830 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900831 select GPIO_EXTRA_HEADER
developerf4a079c2018-11-15 10:07:52 +0800832 select OF_CONTROL
833 select SPL_DM if SPL
834 select SPL_LIBCOMMON_SUPPORT if SPL
835 select SPL_LIBGENERIC_SUPPORT if SPL
836 select SPL_OF_CONTROL if SPL
837 select SUPPORT_SPL
838 help
839 Support for the MediaTek SoCs family developed by MediaTek Inc.
840 Please refer to doc/README.mediatek for more information.
841
Vladimir Zapolskiy31d0e962018-09-17 21:43:03 +0300842config ARCH_LPC32XX
843 bool "NXP LPC32xx platform"
844 select CPU_ARM926EJS
845 select DM
846 select DM_GPIO
847 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900848 select GPIO_EXTRA_HEADER
Vladimir Zapolskiy31d0e962018-09-17 21:43:03 +0300849 select SPL_DM if SPL
850 select SUPPORT_SPL
851 imply CMD_DM
852
Peng Fan6bae1c72018-10-18 14:28:08 +0200853config ARCH_IMX8
854 bool "NXP i.MX8 platform"
855 select ARM64
856 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900857 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400858 select MACH_IMX
Peng Fan6bae1c72018-10-18 14:28:08 +0200859 select OF_CONTROL
Ye Li97b41652019-07-12 09:33:52 +0000860 select ENABLE_ARM_SOC_BOOT0_HOOK
Simon Glassfc557362022-03-04 08:43:05 -0700861 imply DM_EVENT
Peng Fan6bae1c72018-10-18 14:28:08 +0200862
Peng Fan39945c12018-11-20 10:19:25 +0000863config ARCH_IMX8M
Peng Fan66294882018-01-10 13:20:19 +0800864 bool "NXP i.MX8M platform"
865 select ARM64
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900866 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400867 select MACH_IMX
Gaurav Jain81113a02022-03-24 11:50:27 +0530868 select SYS_FSL_HAS_SEC
Aymen Sghaier4da25692021-03-25 17:30:25 +0800869 select SYS_FSL_SEC_COMPAT_4
870 select SYS_FSL_SEC_LE
Tom Rini1a195882021-08-18 23:12:33 -0400871 select SYS_I2C_MXC
Peng Fan66294882018-01-10 13:20:19 +0800872 select DM
873 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200874 imply CMD_DM
Simon Glassfc557362022-03-04 08:43:05 -0700875 imply DM_EVENT
Peng Fan66294882018-01-10 13:20:19 +0800876
Peng Fan570dc4f2021-08-07 16:00:30 +0800877config ARCH_IMX8ULP
878 bool "NXP i.MX8ULP platform"
879 select ARM64
880 select DM
Tom Rini8086a822021-08-24 20:40:59 -0400881 select MACH_IMX
Peng Fan570dc4f2021-08-07 16:00:30 +0800882 select OF_CONTROL
883 select SUPPORT_SPL
884 select GPIO_EXTRA_HEADER
885 imply CMD_DM
Simon Glassfc557362022-03-04 08:43:05 -0700886 imply DM_EVENT
Peng Fan570dc4f2021-08-07 16:00:30 +0800887
Giulio Benetti9dba2622020-01-10 15:51:47 +0100888config ARCH_IMXRT
889 bool "NXP i.MXRT platform"
890 select CPU_V7M
891 select DM
892 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900893 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400894 select MACH_IMX
Giulio Benetti9dba2622020-01-10 15:51:47 +0100895 select SUPPORT_SPL
896 imply CMD_DM
897
Stefan Agner081ea1f2018-02-06 09:44:34 +0100898config ARCH_MX23
899 bool "NXP i.MX23 family"
900 select CPU_ARM926EJS
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900901 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400902 select MACH_IMX
Stefan Agner081ea1f2018-02-06 09:44:34 +0100903 select PL011_SERIAL
904 select SUPPORT_SPL
905
Stefan Agner663a3232018-02-06 09:44:35 +0100906config ARCH_MX28
907 bool "NXP i.MX28 family"
908 select CPU_ARM926EJS
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900909 select GPIO_EXTRA_HEADER
Stefan Agner663a3232018-02-06 09:44:35 +0100910 select PL011_SERIAL
Tom Rini8086a822021-08-24 20:40:59 -0400911 select MACH_IMX
Stefan Agner663a3232018-02-06 09:44:35 +0100912 select SUPPORT_SPL
913
Magnus Liljac74f70f2018-05-11 14:06:54 +0200914config ARCH_MX31
915 bool "NXP i.MX31 family"
916 select CPU_ARM1136
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900917 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400918 select MACH_IMX
Magnus Liljac74f70f2018-05-11 14:06:54 +0200919
Peng Fan2c7b1702017-02-22 16:21:39 +0800920config ARCH_MX7ULP
Michal Simekf751ff52018-07-23 15:55:12 +0200921 bool "NXP MX7ULP"
Tom Rinid02971e2022-02-25 11:19:47 -0500922 select BOARD_POSTCLK_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530923 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900924 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400925 select MACH_IMX
Gaurav Jain714e7e32022-03-24 11:50:31 +0530926 select SYS_FSL_HAS_SEC
Franck LENORMAND4fde0a12021-03-25 17:30:23 +0800927 select SYS_FSL_SEC_COMPAT_4
928 select SYS_FSL_SEC_LE
Peng Fan2c7b1702017-02-22 16:21:39 +0800929 select ROM_UNIFIED_SECTIONS
Adam Fordb413c452018-02-04 09:32:43 -0600930 imply MXC_GPIO
Tom Rini4f834a42019-12-03 09:28:03 -0500931 imply SYS_THUMB_BUILD
Peng Fan2c7b1702017-02-22 16:21:39 +0800932
Adrian Alonso98810772015-09-03 11:49:28 -0500933config ARCH_MX7
934 bool "Freescale MX7"
Michal Simek84f3dec2018-07-23 15:55:13 +0200935 select ARCH_MISC_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530936 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900937 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400938 select MACH_IMX
Gaurav Jaine389ac92022-03-24 11:50:30 +0530939 select SYS_FSL_HAS_SEC
York Sun92c36e22016-12-28 08:43:30 -0800940 select SYS_FSL_SEC_COMPAT_4
York Sunfa4199422016-12-28 08:43:31 -0800941 select SYS_FSL_SEC_LE
Marek Vasut42b24b42020-05-22 01:13:00 +0200942 imply BOARD_EARLY_INIT_F
Adam Fordb413c452018-02-04 09:32:43 -0600943 imply MXC_GPIO
Tom Rini4f834a42019-12-03 09:28:03 -0500944 imply SYS_THUMB_BUILD
Adrian Alonso98810772015-09-03 11:49:28 -0500945
Boris BREZILLON51e82662015-03-04 13:13:03 +0100946config ARCH_MX6
947 bool "Freescale MX6"
Tom Rinid02971e2022-02-25 11:19:47 -0500948 select BOARD_POSTCLK_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530949 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900950 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400951 select MACH_IMX
Heinrich Schuchardtcdd0c852020-06-26 19:57:55 +0200952 select SYS_FSL_HAS_SEC
York Sun92c36e22016-12-28 08:43:30 -0800953 select SYS_FSL_SEC_COMPAT_4
York Sunfa4199422016-12-28 08:43:31 -0800954 select SYS_FSL_SEC_LE
Adam Fordb413c452018-02-04 09:32:43 -0600955 imply MXC_GPIO
Tom Rini4f834a42019-12-03 09:28:03 -0500956 imply SYS_THUMB_BUILD
Boris BREZILLON51e82662015-03-04 13:13:03 +0100957
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200958if ARCH_MX6
959config SPL_LDSCRIPT
Michal Simekf751ff52018-07-23 15:55:12 +0200960 default "arch/arm/mach-omap2/u-boot-spl.lds"
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200961endif
962
Andrej Rosano1ac4bca2015-04-08 18:56:29 +0200963config ARCH_MX5
964 bool "Freescale MX5"
Simon Glass7a99a872017-01-23 13:31:20 -0700965 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200966 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900967 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400968 select MACH_IMX
Adam Fordb413c452018-02-04 09:32:43 -0600969 imply MXC_GPIO
Andrej Rosano1ac4bca2015-04-08 18:56:29 +0200970
Stefan Bosch6563ea22020-07-10 19:07:26 +0200971config ARCH_NEXELL
972 bool "Nexell S5P4418/S5P6818 SoC"
973 select ENABLE_ARM_SOC_BOOT0_HOOK
974 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900975 select GPIO_EXTRA_HEADER
Stefan Bosch6563ea22020-07-10 19:07:26 +0200976
Mark Kettenis58d51272021-10-23 16:58:03 +0200977config ARCH_APPLE
978 bool "Apple SoCs"
979 select ARM64
980 select BLK
Mark Kettenis835cb5d2021-10-23 16:58:04 +0200981 select CLK
Mark Kettenis58d51272021-10-23 16:58:03 +0200982 select CMD_USB
983 select DM
Mark Kettenisc9329762021-11-02 18:21:57 +0100984 select DM_GPIO
Mark Kettenis58d51272021-10-23 16:58:03 +0200985 select DM_KEYBOARD
Mark Kettenisf3efb3b2022-01-22 20:38:12 +0100986 select DM_MAILBOX
Mark Kettenis9e8c4832022-01-22 20:38:17 +0100987 select DM_RESET
Mark Kettenis58d51272021-10-23 16:58:03 +0200988 select DM_SERIAL
Mark Kettenis0c3e9242022-01-23 16:48:12 +0100989 select DM_SPI
Mark Kettenis58d51272021-10-23 16:58:03 +0200990 select DM_USB
991 select DM_VIDEO
Mark Kettenis357a2562021-10-23 16:58:05 +0200992 select IOMMU
Mark Kettenis58d51272021-10-23 16:58:03 +0200993 select LINUX_KERNEL_IMAGE_HEADER
994 select OF_CONTROL
Mark Kettenisc9329762021-11-02 18:21:57 +0100995 select PINCTRL
Mark Kettenis58d51272021-10-23 16:58:03 +0200996 select POSITION_INDEPENDENT
Mark Kettenis2fc94052022-01-10 20:58:44 +0100997 select POWER_DOMAIN
998 select REGMAP
Mark Kettenis0c3e9242022-01-23 16:48:12 +0100999 select SPI
Mark Kettenis2fc94052022-01-10 20:58:44 +01001000 select SYSCON
Mark Kettenise19700f2022-01-12 19:55:17 +01001001 select SYSRESET
1002 select SYSRESET_WATCHDOG
1003 select SYSRESET_WATCHDOG_AUTO
Mark Kettenis58d51272021-10-23 16:58:03 +02001004 select USB
1005 imply CMD_DM
1006 imply CMD_GPT
1007 imply DISTRO_DEFAULTS
Simon Glass94886db2021-12-16 20:59:36 -07001008 imply OF_HAS_PRIOR_STAGE
Mark Kettenis58d51272021-10-23 16:58:03 +02001009
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05301010config ARCH_OWL
1011 bool "Actions Semi OWL SoCs"
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05301012 select DM
Amit Singh Tomareda30672020-05-09 19:55:14 +05301013 select DM_ETH
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05301014 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001015 select GPIO_EXTRA_HEADER
Amit Singh Tomarcae81932020-04-19 19:28:25 +05301016 select OWL_SERIAL
Amit Singh Tomar8821be42020-04-19 19:28:30 +05301017 select CLK
1018 select CLK_OWL
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05301019 select OF_CONTROL
Tom Rinia38d0ac2020-05-01 10:52:11 -04001020 select SYS_RELOC_GD_ENV_ADDR
Michal Simek2e7c8192018-07-23 15:55:14 +02001021 imply CMD_DM
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05301022
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +03001023config ARCH_QEMU
1024 bool "QEMU Virtual Platform"
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +03001025 select DM
1026 select DM_SERIAL
1027 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +01001028 select PL01X_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +02001029 imply CMD_DM
Heinrich Schuchardt2ebc22c2020-09-19 07:55:35 +02001030 imply DM_RNG
AKASHI Takahiro501cc842018-09-14 17:06:54 +09001031 imply DM_RTC
1032 imply RTC_PL031
Simon Glass94886db2021-12-16 20:59:36 -07001033 imply OF_HAS_PRIOR_STAGE
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +03001034
Nobuhiro Iwamatsu7c112732015-10-10 05:58:28 +09001035config ARCH_RMOBILE
Masahiro Yamadac9c54e22014-08-31 07:10:57 +09001036 bool "Renesas ARM SoCs"
Nobuhiro Iwamatsu7c112732015-10-10 05:58:28 +09001037 select DM
1038 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001039 select GPIO_EXTRA_HEADER
Biju Das055763a2020-09-22 13:06:49 +01001040 imply BOARD_EARLY_INIT_F
Michal Simek2e7c8192018-07-23 15:55:14 +02001041 imply CMD_DM
Tom Rinid8532af2017-06-02 11:03:50 -04001042 imply FAT_WRITE
Tom Rini1c640a62017-03-18 09:01:44 -04001043 imply SYS_THUMB_BUILD
Marek Vasutb90dc692018-12-03 13:28:25 +01001044 imply ARCH_MISC_INIT if DISPLAY_CPUINFO
Nikita Kiryanovf5cab0f2014-09-07 18:59:29 +03001045
Mateusz Kulikowski2507d822016-03-31 23:12:32 +02001046config ARCH_SNAPDRAGON
1047 bool "Qualcomm Snapdragon SoCs"
1048 select ARM64
1049 select DM
1050 select DM_GPIO
1051 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001052 select GPIO_EXTRA_HEADER
Michal Simek84f3dec2018-07-23 15:55:13 +02001053 select MSM_SMEM
Mateusz Kulikowski2507d822016-03-31 23:12:32 +02001054 select OF_CONTROL
1055 select OF_SEPARATE
Ramon Fried4b4bd492018-07-02 02:57:56 +03001056 select SMEM
Michal Simek84f3dec2018-07-23 15:55:13 +02001057 select SPMI
Michal Simek2e7c8192018-07-23 15:55:14 +02001058 imply CMD_DM
Mateusz Kulikowski2507d822016-03-31 23:12:32 +02001059
Masahiro Yamada144a3e02015-04-21 20:38:20 +09001060config ARCH_SOCFPGA
1061 bool "Altera SOCFPGA family"
Marek Vasut014f0ab2018-05-11 22:25:59 +02001062 select ARCH_EARLY_INIT_R
Marek Vasut04c8f4f2018-08-13 20:06:46 +02001063 select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
Siew Chin Lim8a714162021-03-01 20:04:10 +08001064 select ARM64 if TARGET_SOCFPGA_SOC64
Ley Foon Tan9c407b52018-05-24 00:17:32 +08001065 select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Masahiro Yamadae2005542015-03-31 12:47:59 +09001066 select DM
Marek Vasut57f03d22018-05-11 22:26:35 +02001067 select DM_SERIAL
Tom Rini249f11f2021-08-19 14:19:39 -04001068 select GICV2
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001069 select GPIO_EXTRA_HEADER
Ley Foon Tan9c407b52018-05-24 00:17:32 +08001070 select ENABLE_ARM_SOC_BOOT0_HOOK if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Marek Vasut014f0ab2018-05-11 22:25:59 +02001071 select OF_CONTROL
Ley Foon Tan9ae7b0a2018-07-13 13:40:23 +08001072 select SPL_DM_RESET if DM_RESET
Michal Simek84f3dec2018-07-23 15:55:13 +02001073 select SPL_DM_SERIAL
Marek Vasut014f0ab2018-05-11 22:25:59 +02001074 select SPL_LIBCOMMON_SUPPORT
Marek Vasut014f0ab2018-05-11 22:25:59 +02001075 select SPL_LIBGENERIC_SUPPORT
Marek Vasut014f0ab2018-05-11 22:25:59 +02001076 select SPL_NAND_SUPPORT if SPL_NAND_DENALI
1077 select SPL_OF_CONTROL
Siew Chin Lim8a714162021-03-01 20:04:10 +08001078 select SPL_SEPARATE_BSS if TARGET_SOCFPGA_SOC64
Simon Glassf4d60392021-08-08 12:20:12 -06001079 select SPL_SERIAL
Simon Goldschmidtfc824662019-07-15 21:47:55 +02001080 select SPL_SYSRESET
Simon Glass1ba1d4e2021-07-10 21:14:28 -06001081 select SPL_WATCHDOG
Marek Vasut014f0ab2018-05-11 22:25:59 +02001082 select SUPPORT_SPL
Marek Vasut57f03d22018-05-11 22:26:35 +02001083 select SYS_NS16550
Ley Foon Tan9c407b52018-05-24 00:17:32 +08001084 select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Simon Goldschmidtfc824662019-07-15 21:47:55 +02001085 select SYSRESET
1086 select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Siew Chin Lim8a714162021-03-01 20:04:10 +08001087 select SYSRESET_SOCFPGA_SOC64 if TARGET_SOCFPGA_SOC64
Michal Simek2e7c8192018-07-23 15:55:14 +02001088 imply CMD_DM
Tom Rinic20bb732017-07-22 18:36:16 -04001089 imply CMD_MTDPARTS
Daniel Thompsona9e2c672017-05-19 17:26:58 +01001090 imply CRC32_VERIFY
Simon Goldschmidta4347302018-02-13 06:34:14 +01001091 imply DM_SPI
1092 imply DM_SPI_FLASH
Tom Rinid8532af2017-06-02 11:03:50 -04001093 imply FAT_WRITE
Simon Goldschmidtb1c42692019-04-09 21:02:05 +02001094 imply SPL
1095 imply SPL_DM
Lukasz Majewski76f442982020-06-04 23:11:53 +08001096 imply SPL_DM_SPI
1097 imply SPL_DM_SPI_FLASH
Simon Goldschmidtc26195d2018-11-29 21:17:08 +01001098 imply SPL_LIBDISK_SUPPORT
Simon Glassb58bfe02021-08-08 12:20:09 -06001099 imply SPL_MMC
Simon Goldschmidta4347302018-02-13 06:34:14 +01001100 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
Simon Goldschmidt3b551bc2018-10-30 20:21:49 +01001101 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
Simon Goldschmidtc26195d2018-11-29 21:17:08 +01001102 imply SPL_SPI_FLASH_SUPPORT
Simon Glassa5820472021-08-08 12:20:14 -06001103 imply SPL_SPI
Dinh Nguyen41e32962019-04-23 16:55:06 -05001104 imply L2X0_CACHE
Marek Vasut69295472014-12-30 18:16:08 +01001105
Ian Campbelld8e69e02014-10-24 21:20:44 +01001106config ARCH_SUNXI
1107 bool "Support sunxi (Allwinner) SoCs"
Masahiro Yamada87247af2017-10-17 13:42:44 +09001108 select BINMAN
Hans de Goedec9511672016-04-03 09:41:44 +02001109 select CMD_GPIO
Hans de Goede2c526402016-05-15 13:51:58 +02001110 select CMD_MMC if MMC
Tom Rini5b9e6162021-07-09 10:11:56 -04001111 select CMD_USB if DISTRO_DEFAULTS && USB_HOST
Jagan Teki80d261b2019-01-11 16:40:20 +05301112 select CLK
Hans de Goede03914882015-04-15 20:46:48 +02001113 select DM
Tom Rini10e87172015-06-30 16:51:15 -04001114 select DM_ETH
Hans de Goedec8d43472015-12-21 20:22:00 +01001115 select DM_GPIO
Samuel Holland468f23b2021-10-08 00:17:25 -05001116 select DM_I2C if I2C
Andre Przywara06435db2022-01-11 12:46:02 +00001117 select DM_SPI if SPI
1118 select DM_SPI_FLASH if SPI
Hans de Goedec8d43472015-12-21 20:22:00 +01001119 select DM_KEYBOARD
Jagan Tekic4981542019-04-12 16:48:25 +05301120 select DM_MMC if MMC
1121 select DM_SCSI if SCSI
Tom Rini10e87172015-06-30 16:51:15 -04001122 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001123 select GPIO_EXTRA_HEADER
Hans de Goede48a234a2016-03-22 22:51:52 +01001124 select OF_BOARD_SETUP
Hans de Goede03914882015-04-15 20:46:48 +02001125 select OF_CONTROL
1126 select OF_SEPARATE
Samuel Hollande3095022021-08-12 20:09:43 -05001127 select PINCTRL
Tom Rinie69ba982018-03-06 19:02:27 -05001128 select SPECIFY_CONSOLE_INDEX
Samuel Hollandd30ac692021-08-22 13:23:53 -05001129 select SPL_SEPARATE_BSS if SPL
Tom Rinidac518f2017-06-21 07:54:46 -04001130 select SPL_STACK_R if SPL
1131 select SPL_SYS_MALLOC_SIMPLE if SPL
Tom Rini1c640a62017-03-18 09:01:44 -04001132 select SPL_SYS_THUMB_BUILD if !ARM64
Andre Przywara9d3bab92019-06-23 15:09:46 +01001133 select SUNXI_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +02001134 select SYS_NS16550
Maxime Ripard2ba0f212017-10-19 11:49:29 +02001135 select SYS_THUMB_BUILD if !ARM64
Yann E. MORINe28217d2016-10-31 22:33:40 +01001136 select USB if DISTRO_DEFAULTS
Tom Rini5b9e6162021-07-09 10:11:56 -04001137 select USB_KEYBOARD if DISTRO_DEFAULTS && USB_HOST
1138 select USB_STORAGE if DISTRO_DEFAULTS && USB_HOST
Simon Glass7611ac62019-09-25 08:56:27 -06001139 select SPL_USE_TINY_PRINTF
Andre Przywara3130df52020-02-20 17:51:14 +00001140 select USE_PREBOOT
1141 select SYS_RELOC_GD_ENV_ADDR
Andy Shevchenko1facc0f2020-12-08 17:45:31 +02001142 imply BOARD_LATE_INIT
Michal Simek2e7c8192018-07-23 15:55:14 +02001143 imply CMD_DM
Maxime Ripardbc7db012017-08-24 11:54:03 +02001144 imply CMD_GPT
Miquel Raynald0935362019-10-03 19:50:03 +02001145 imply CMD_UBI if MTD_RAW_NAND
Masahiro Yamada9afc6c52018-04-25 18:47:52 +09001146 imply DISTRO_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -04001147 imply FAT_WRITE
Marek Vasut88e3a842018-10-10 18:27:35 +02001148 imply FIT
Andre Heider11790742018-01-16 09:44:22 +01001149 imply OF_LIBFDT_OVERLAY
Masahiro Yamada8e5e1ea2017-04-28 19:42:19 +09001150 imply PRE_CONSOLE_BUFFER
Simon Glass035939e2021-07-10 21:14:30 -06001151 imply SPL_GPIO
Masahiro Yamada8e5e1ea2017-04-28 19:42:19 +09001152 imply SPL_LIBCOMMON_SUPPORT
Masahiro Yamada8e5e1ea2017-04-28 19:42:19 +09001153 imply SPL_LIBGENERIC_SUPPORT
Simon Glassb58bfe02021-08-08 12:20:09 -06001154 imply SPL_MMC if MMC
Simon Glasse91ac4c2021-07-10 21:14:24 -06001155 imply SPL_POWER
Simon Glassf4d60392021-08-08 12:20:12 -06001156 imply SPL_SERIAL
Samuel Hollandf97d6762021-11-03 22:55:16 -05001157 imply SYSRESET
1158 imply SYSRESET_WATCHDOG
1159 imply SYSRESET_WATCHDOG_AUTO
Maxime Ripardabb17b42017-09-07 10:46:24 +02001160 imply USB_GADGET
Samuel Holland576ccd62021-08-22 13:53:28 -05001161 imply WDT
Chen-Yu Tsai848c2632014-10-22 16:47:44 +08001162
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001163config ARCH_U8500
1164 bool "ST-Ericsson U8500 Series"
1165 select CPU_V7A
1166 select DM
1167 select DM_GPIO
1168 select DM_MMC if MMC
1169 select DM_SERIAL
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001170 select DM_USB_GADGET if DM_USB
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001171 select OF_CONTROL
1172 select SYSRESET
1173 select TIMER
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001174 imply AB8500_USB_PHY
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001175 imply ARM_PL180_MMCI
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001176 imply CLK
1177 imply DM_PMIC
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001178 imply DM_RTC
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001179 imply NOMADIK_GPIO
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001180 imply NOMADIK_MTU_TIMER
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001181 imply PHY
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001182 imply PL01X_SERIAL
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001183 imply PMIC_AB8500
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001184 imply RTC_PL031
Stephan Gerholdd7720452021-08-07 15:07:24 +02001185 imply SYS_THUMB_BUILD
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001186 imply SYSRESET_SYSCON
1187
Michal Simek4b066a12018-08-22 14:55:27 +02001188config ARCH_VERSAL
1189 bool "Support Xilinx Versal Platform"
1190 select ARM64
1191 select CLK
1192 select DM
Michal Simek0609abd2019-01-15 08:52:46 +01001193 select DM_ETH if NET
1194 select DM_MMC if MMC
Michal Simek4b066a12018-08-22 14:55:27 +02001195 select DM_SERIAL
Tom Rini249f11f2021-08-19 14:19:39 -04001196 select GICV3
Michal Simek4b066a12018-08-22 14:55:27 +02001197 select OF_CONTROL
T Karthik Reddycb8485b2021-08-10 06:50:19 -06001198 select SOC_DEVICE
Siva Durga Prasad Paladugu37c2ff82019-01-31 17:28:14 +05301199 imply BOARD_LATE_INIT
Michal Simekbab07b62020-07-28 12:45:47 +02001200 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simek4b066a12018-08-22 14:55:27 +02001201
Stefan Agnerd53c0a42017-03-13 18:41:36 -07001202config ARCH_VF610
1203 bool "Freescale Vybrid"
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301204 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001205 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -04001206 select MACH_IMX
York Sun097e3602016-12-28 08:43:42 -08001207 select SYS_FSL_ERRATUM_ESDHC111
Tom Rinic20bb732017-07-22 18:36:16 -04001208 imply CMD_MTDPARTS
Miquel Raynald0935362019-10-03 19:50:03 +02001209 imply MTD_RAW_NAND
Sanchayan Maitycc4d78f2015-04-15 16:24:26 +05301210
Masahiro Yamada8204bd12015-03-16 16:43:24 +09001211config ARCH_ZYNQ
Michal Simek8caedde2017-11-23 08:25:41 +01001212 bool "Xilinx Zynq based platform"
Michal Simek84f3dec2018-07-23 15:55:13 +02001213 select CLK
1214 select CLK_ZYNQ
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301215 select CPU_V7A
Michal Simek7659fe42022-02-17 14:28:41 +01001216 select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
Masahiro Yamada2df07d42015-03-31 12:47:55 +09001217 select DM
Michal Simek6d35f3f2018-01-09 14:49:28 +01001218 select DM_ETH if NET
Michal Simek6d35f3f2018-01-09 14:49:28 +01001219 select DM_MMC if MMC
Simon Glass23d9b622015-10-17 19:41:27 -06001220 select DM_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02001221 select DM_SPI
Jagan Teki0bd03a52015-06-27 00:51:32 +05301222 select DM_SPI_FLASH
Michal Simek84f3dec2018-07-23 15:55:13 +02001223 select OF_CONTROL
Adam Ford4e96ff82018-04-15 13:51:26 -04001224 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +02001225 select SPL_BOARD_INIT if SPL
1226 select SPL_CLK if SPL
1227 select SPL_DM if SPL
Lukasz Majewski76f442982020-06-04 23:11:53 +08001228 select SPL_DM_SPI if SPL
1229 select SPL_DM_SPI_FLASH if SPL
Michal Simek84f3dec2018-07-23 15:55:13 +02001230 select SPL_OF_CONTROL if SPL
1231 select SPL_SEPARATE_BSS if SPL
1232 select SUPPORT_SPL
1233 imply ARCH_EARLY_INIT_R
Michal Simek37ad2702018-08-20 08:24:14 +02001234 imply BOARD_LATE_INIT
Simon Glass04ac6f12017-04-26 22:28:02 -06001235 imply CMD_CLK
Michal Simek2e7c8192018-07-23 15:55:14 +02001236 imply CMD_DM
Simon Glassc6567fa2017-08-04 16:34:48 -06001237 imply CMD_SPL
Michal Simekbab07b62020-07-28 12:45:47 +02001238 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simek84f3dec2018-07-23 15:55:13 +02001239 imply FAT_WRITE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001240
Michal Simekb513bcd2018-04-12 17:39:46 +02001241config ARCH_ZYNQMP_R5
1242 bool "Xilinx ZynqMP R5 based platform"
Michal Simek84f3dec2018-07-23 15:55:13 +02001243 select CLK
Michal Simekb513bcd2018-04-12 17:39:46 +02001244 select CPU_V7R
Michal Simekb513bcd2018-04-12 17:39:46 +02001245 select DM
Michal Simek5f3c3382019-01-15 09:06:46 +01001246 select DM_ETH if NET
1247 select DM_MMC if MMC
Michal Simekb513bcd2018-04-12 17:39:46 +02001248 select DM_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02001249 select OF_CONTROL
Michal Simek2e7c8192018-07-23 15:55:14 +02001250 imply CMD_DM
Jean-Jacques Hiblot44aaec72018-11-29 10:52:42 +01001251 imply DM_USB_GADGET
Michal Simekb513bcd2018-04-12 17:39:46 +02001252
Siva Durga Prasad Paladugu650fb402015-06-10 15:50:57 +05301253config ARCH_ZYNQMP
Michal Simek8caedde2017-11-23 08:25:41 +01001254 bool "Xilinx ZynqMP based platform"
Michal Simek04b7e622015-01-15 10:01:51 +01001255 select ARM64
Michal Simek84f3dec2018-07-23 15:55:13 +02001256 select CLK
Michal Simek25b83712015-10-17 19:41:25 -06001257 select DM
Michal Simeke5710e32022-02-17 14:28:42 +01001258 select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
Michal Simek73f2d0f2019-01-15 08:52:51 +01001259 select DM_ETH if NET
Ibai Erkiagad47ed6f2019-09-27 12:51:41 +02001260 select DM_MAILBOX
Michal Simek73f2d0f2019-01-15 08:52:51 +01001261 select DM_MMC if MMC
Michal Simek25b83712015-10-17 19:41:25 -06001262 select DM_SERIAL
Michal Simek968388d2019-01-15 10:50:39 +01001263 select DM_SPI if SPI
1264 select DM_SPI_FLASH if DM_SPI
Michal Simek85593af2022-01-14 13:08:42 +01001265 imply FIRMWARE
Tom Rini249f11f2021-08-19 14:19:39 -04001266 select GICV2
Michal Simek84f3dec2018-07-23 15:55:13 +02001267 select OF_CONTROL
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +08001268 select SPL_BOARD_INIT if SPL
Michal Simekfd1d7662017-12-01 15:13:36 +01001269 select SPL_CLK if SPL
Michal Simek40280f12020-08-19 10:30:39 +02001270 select SPL_DM if SPL
1271 select SPL_DM_SPI if SPI && SPL_DM
Lukasz Majewski76f442982020-06-04 23:11:53 +08001272 select SPL_DM_SPI_FLASH if SPL_DM_SPI
Ibai Erkiaga2d9b95b2019-09-27 11:37:04 +01001273 select SPL_DM_MAILBOX if SPL
Michal Simek85593af2022-01-14 13:08:42 +01001274 imply SPL_FIRMWARE if SPL
Michal Simek88674da2018-11-23 09:01:44 +01001275 select SPL_SEPARATE_BSS if SPL
Michal Simek84f3dec2018-07-23 15:55:13 +02001276 select SUPPORT_SPL
Ibai Erkiagad47ed6f2019-09-27 12:51:41 +02001277 select ZYNQMP_IPI
T Karthik Reddy501c2062021-08-10 06:50:18 -06001278 select SOC_DEVICE
Michal Simek37ad2702018-08-20 08:24:14 +02001279 imply BOARD_LATE_INIT
Michal Simek2e7c8192018-07-23 15:55:14 +02001280 imply CMD_DM
Michal Simekbab07b62020-07-28 12:45:47 +02001281 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Tom Rinid8532af2017-06-02 11:03:50 -04001282 imply FAT_WRITE
Michal Simeka8ddd6a2018-10-04 14:26:13 +02001283 imply MP
Jean-Jacques Hiblot44aaec72018-11-29 10:52:42 +01001284 imply DM_USB_GADGET
T Karthik Reddy01719722021-10-29 13:11:43 +02001285 imply ZYNQMP_GPIO_MODEPIN if DM_GPIO && USB
Michal Simek04b7e622015-01-15 10:01:51 +01001286
Trevor Woerner513f6402020-05-06 08:02:41 -04001287config ARCH_TEGRA
Masahiro Yamada73a5b1a2014-08-31 07:10:56 +09001288 bool "NVIDIA Tegra"
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001289 select GPIO_EXTRA_HEADER
Masahiro Yamada9afc6c52018-04-25 18:47:52 +09001290 imply DISTRO_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -04001291 imply FAT_WRITE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001292
Andre Przywarab33739f2022-03-04 16:30:09 +00001293config ARCH_VEXPRESS64
1294 bool "Support ARMv8 Arm Ltd. VExpress based boards and models"
Masahiro Yamada0d46c342014-09-14 03:01:51 +09001295 select ARM64
Andre Przywara94504f42020-04-27 19:18:01 +01001296 select DM
Andre Przywara94504f42020-04-27 19:18:01 +01001297 select DM_SERIAL
Andre Przywarab33739f2022-03-04 16:30:09 +00001298 select PL01X_SERIAL
Andre Przywara395e9a92022-03-04 16:30:11 +00001299 select OF_CONTROL
1300 select CLK
Andre Przywara9fd5ec52022-03-04 16:30:13 +00001301 select BLK
1302 select MTD_NOR_FLASH if MTD
1303 select FLASH_CFI_DRIVER if MTD
1304 select ENV_IS_IN_FLASH if MTD
Andre Przywara019753a2022-03-04 16:30:14 +00001305 imply DISTRO_DEFAULTS
Linus Walleijc5822502015-01-23 14:41:10 +01001306
Usama Arif9218a112020-08-12 16:12:53 +01001307config TARGET_TOTAL_COMPUTE
1308 bool "Support Total Compute Platform"
1309 select ARM64
1310 select PL01X_SERIAL
1311 select DM
1312 select DM_SERIAL
1313 select DM_MMC
1314 select DM_GPIO
1315
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301316config TARGET_LS2080A_EMU
1317 bool "Support ls2080a_emu"
York Sun4dd8c612016-10-04 14:31:48 -07001318 select ARCH_LS2080A
Masahiro Yamada0d46c342014-09-14 03:01:51 +09001319 select ARM64
Linus Walleij74771392015-03-09 10:53:21 +01001320 select ARMV8_MULTIENTRY
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001321 select FSL_DDR_SYNC_REFRESH
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001322 select GPIO_EXTRA_HEADER
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301323 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -05001324 Support for Freescale LS2080A_EMU platform.
1325 The LS2080A Development System (EMULATOR) is a pre-silicon
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301326 development platform that supports the QorIQ LS2080A
1327 Layerscape Architecture processor.
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001328
Ashish Kumar1ef4c772017-08-31 16:12:55 +05301329config TARGET_LS1088AQDS
1330 bool "Support ls1088aqds"
1331 select ARCH_LS1088A
1332 select ARM64
1333 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001334 select ARCH_SUPPORT_TFABOOT
Ashish Kumar1ef4c772017-08-31 16:12:55 +05301335 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001336 select GPIO_EXTRA_HEADER
Ashish Kumar4feb83b2017-11-06 13:18:44 +05301337 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001338 select FSL_DDR_INTERACTIVE if !SD_BOOT
Ashish Kumar1ef4c772017-08-31 16:12:55 +05301339 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -05001340 Support for NXP LS1088AQDS platform.
Ashish Kumar1ef4c772017-08-31 16:12:55 +05301341 The LS1088A Development System (QDS) is a high-performance
1342 development platform that supports the QorIQ LS1088A
1343 Layerscape Architecture processor.
1344
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301345config TARGET_LS2080AQDS
1346 bool "Support ls2080aqds"
York Sun4dd8c612016-10-04 14:31:48 -07001347 select ARCH_LS2080A
York Sun03017032015-03-20 19:28:23 -07001348 select ARM64
1349 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001350 select ARCH_SUPPORT_TFABOOT
Tom Rini22d567e2017-01-22 19:43:11 -05001351 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001352 select GPIO_EXTRA_HEADER
Scott Wood8e728cd2015-03-24 13:25:02 -07001353 select SUPPORT_SPL
Simon Glass0e5faf02017-06-14 21:28:21 -06001354 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +02001355 imply SCSI_AHCI
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001356 select FSL_DDR_BIST
1357 select FSL_DDR_INTERACTIVE if !SPL
York Sun03017032015-03-20 19:28:23 -07001358 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -05001359 Support for Freescale LS2080AQDS platform.
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301360 The LS2080A Development System (QDS) is a high-performance
1361 development platform that supports the QorIQ LS2080A
York Sun03017032015-03-20 19:28:23 -07001362 Layerscape Architecture processor.
1363
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301364config TARGET_LS2080ARDB
1365 bool "Support ls2080ardb"
York Sun4dd8c612016-10-04 14:31:48 -07001366 select ARCH_LS2080A
York Sune12abcb2015-03-20 19:28:24 -07001367 select ARM64
1368 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001369 select ARCH_SUPPORT_TFABOOT
Tom Rini22d567e2017-01-22 19:43:11 -05001370 select BOARD_LATE_INIT
Scott Wood212b8d82015-03-24 13:25:03 -07001371 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001372 select FSL_DDR_BIST
1373 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001374 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001375 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +02001376 imply SCSI_AHCI
York Sune12abcb2015-03-20 19:28:24 -07001377 help
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301378 Support for Freescale LS2080ARDB platform.
1379 The LS2080A Reference design board (RDB) is a high-performance
1380 development platform that supports the QorIQ LS2080A
York Sune12abcb2015-03-20 19:28:24 -07001381 Layerscape Architecture processor.
1382
Priyanka Jain75cd67f2017-04-27 15:08:07 +05301383config TARGET_LS2081ARDB
1384 bool "Support ls2081ardb"
1385 select ARCH_LS2080A
1386 select ARM64
1387 select ARMV8_MULTIENTRY
1388 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001389 select GPIO_EXTRA_HEADER
Priyanka Jain75cd67f2017-04-27 15:08:07 +05301390 select SUPPORT_SPL
Priyanka Jain75cd67f2017-04-27 15:08:07 +05301391 help
1392 Support for Freescale LS2081ARDB platform.
1393 The LS2081A Reference design board (RDB) is a high-performance
1394 development platform that supports the QorIQ LS2081A/LS2041A
1395 Layerscape Architecture processor.
1396
Priyanka Jainfd45ca02018-11-28 13:04:27 +00001397config TARGET_LX2160ARDB
1398 bool "Support lx2160ardb"
1399 select ARCH_LX2160A
Priyanka Jainfd45ca02018-11-28 13:04:27 +00001400 select ARM64
1401 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001402 select ARCH_SUPPORT_TFABOOT
Priyanka Jainfd45ca02018-11-28 13:04:27 +00001403 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001404 select GPIO_EXTRA_HEADER
Priyanka Jainfd45ca02018-11-28 13:04:27 +00001405 help
1406 Support for NXP LX2160ARDB platform.
1407 The lx2160ardb (LX2160A Reference design board (RDB)
1408 is a high-performance development platform that supports the
1409 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1410
Pankaj Bansal338baa32019-02-08 10:29:58 +00001411config TARGET_LX2160AQDS
1412 bool "Support lx2160aqds"
1413 select ARCH_LX2160A
Pankaj Bansal338baa32019-02-08 10:29:58 +00001414 select ARM64
1415 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001416 select ARCH_SUPPORT_TFABOOT
Pankaj Bansal338baa32019-02-08 10:29:58 +00001417 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001418 select GPIO_EXTRA_HEADER
Pankaj Bansal338baa32019-02-08 10:29:58 +00001419 help
1420 Support for NXP LX2160AQDS platform.
1421 The lx2160aqds (LX2160A QorIQ Development System (QDS)
1422 is a high-performance development platform that supports the
1423 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1424
Meenakshi Aggarwal8a03b0d2020-12-04 20:17:28 +05301425config TARGET_LX2162AQDS
1426 bool "Support lx2162aqds"
1427 select ARCH_LX2162A
1428 select ARCH_MISC_INIT
1429 select ARM64
1430 select ARMV8_MULTIENTRY
1431 select ARCH_SUPPORT_TFABOOT
1432 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001433 select GPIO_EXTRA_HEADER
Meenakshi Aggarwal8a03b0d2020-12-04 20:17:28 +05301434 help
1435 Support for NXP LX2162AQDS platform.
1436 The lx2162aqds support is based on LX2160A Layerscape Architecture processor.
1437
Peter Griffin31f327e2015-07-30 18:55:23 +01001438config TARGET_HIKEY
1439 bool "Support HiKey 96boards Consumer Edition Platform"
1440 select ARM64
Peter Griffinff9302f2015-09-10 21:55:16 +01001441 select DM
1442 select DM_GPIO
Peter Griffin0382c642015-09-10 21:55:17 +01001443 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001444 select GPIO_EXTRA_HEADER
Peter Griffinc97c37a2016-04-20 17:13:59 +01001445 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +01001446 select PL01X_SERIAL
Tom Rinie69ba982018-03-06 19:02:27 -05001447 select SPECIFY_CONSOLE_INDEX
Michal Simek2e7c8192018-07-23 15:55:14 +02001448 imply CMD_DM
Peter Griffin31f327e2015-07-30 18:55:23 +01001449 help
1450 Support for HiKey 96boards platform. It features a HI6220
1451 SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
1452
Manivannan Sadhasivamcf33f922019-08-02 20:40:09 +05301453config TARGET_HIKEY960
1454 bool "Support HiKey960 96boards Consumer Edition Platform"
1455 select ARM64
1456 select DM
1457 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001458 select GPIO_EXTRA_HEADER
Manivannan Sadhasivamcf33f922019-08-02 20:40:09 +05301459 select OF_CONTROL
1460 select PL01X_SERIAL
1461 imply CMD_DM
1462 help
1463 Support for HiKey960 96boards platform. It features a HI3660
1464 SoC, with 4xA73 CPU, 4xA53 CPU, MALI-G71 GPU, and 3GB RAM.
1465
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02001466config TARGET_POPLAR
1467 bool "Support Poplar 96boards Enterprise Edition Platform"
1468 select ARM64
1469 select DM
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02001470 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001471 select GPIO_EXTRA_HEADER
Michal Simek84f3dec2018-07-23 15:55:13 +02001472 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +01001473 select PL01X_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +02001474 imply CMD_DM
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02001475 help
1476 Support for Poplar 96boards EE platform. It features a HI3798cv200
1477 SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
1478 making it capable of running any commercial set-top solution based on
1479 Linux or Android.
1480
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05301481config TARGET_LS1012AQDS
1482 bool "Support ls1012aqds"
York Sunb3d71642016-09-26 08:09:26 -07001483 select ARCH_LS1012A
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05301484 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001485 select ARCH_SUPPORT_TFABOOT
Tom Rini22d567e2017-01-22 19:43:11 -05001486 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001487 select GPIO_EXTRA_HEADER
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05301488 help
1489 Support for Freescale LS1012AQDS platform.
1490 The LS1012A Development System (QDS) is a high-performance
1491 development platform that supports the QorIQ LS1012A
1492 Layerscape Architecture processor.
1493
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05301494config TARGET_LS1012ARDB
1495 bool "Support ls1012ardb"
York Sunb3d71642016-09-26 08:09:26 -07001496 select ARCH_LS1012A
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05301497 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001498 select ARCH_SUPPORT_TFABOOT
Tom Rini22d567e2017-01-22 19:43:11 -05001499 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001500 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001501 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +02001502 imply SCSI_AHCI
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05301503 help
1504 Support for Freescale LS1012ARDB platform.
1505 The LS1012A Reference design board (RDB) is a high-performance
1506 development platform that supports the QorIQ LS1012A
1507 Layerscape Architecture processor.
1508
Bhaskar Upadhaya7fff22a2018-01-11 20:03:31 +05301509config TARGET_LS1012A2G5RDB
1510 bool "Support ls1012a2g5rdb"
1511 select ARCH_LS1012A
1512 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001513 select ARCH_SUPPORT_TFABOOT
Bhaskar Upadhaya7fff22a2018-01-11 20:03:31 +05301514 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001515 select GPIO_EXTRA_HEADER
Bhaskar Upadhaya7fff22a2018-01-11 20:03:31 +05301516 imply SCSI
1517 help
1518 Support for Freescale LS1012A2G5RDB platform.
1519 The LS1012A 2G5 Reference design board (RDB) is a high-performance
1520 development platform that supports the QorIQ LS1012A
1521 Layerscape Architecture processor.
1522
Bhaskar Upadhaya5e6f5982018-05-23 11:03:30 +05301523config TARGET_LS1012AFRWY
1524 bool "Support ls1012afrwy"
1525 select ARCH_LS1012A
1526 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001527 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001528 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001529 select GPIO_EXTRA_HEADER
Bhaskar Upadhaya5e6f5982018-05-23 11:03:30 +05301530 imply SCSI
1531 imply SCSI_AHCI
1532 help
1533 Support for Freescale LS1012AFRWY platform.
1534 The LS1012A FRWY board (FRWY) is a high-performance
1535 development platform that supports the QorIQ LS1012A
1536 Layerscape Architecture processor.
1537
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05301538config TARGET_LS1012AFRDM
1539 bool "Support ls1012afrdm"
York Sunb3d71642016-09-26 08:09:26 -07001540 select ARCH_LS1012A
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05301541 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001542 select ARCH_SUPPORT_TFABOOT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001543 select GPIO_EXTRA_HEADER
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05301544 help
1545 Support for Freescale LS1012AFRDM platform.
1546 The LS1012A Freedom board (FRDM) is a high-performance
1547 development platform that supports the QorIQ LS1012A
1548 Layerscape Architecture processor.
1549
Yuantian Tang473bbc42019-04-10 16:43:35 +08001550config TARGET_LS1028AQDS
1551 bool "Support ls1028aqds"
1552 select ARCH_LS1028A
1553 select ARM64
1554 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001555 select ARCH_SUPPORT_TFABOOT
Yuantian Tangafa86692019-07-02 16:16:22 +08001556 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001557 select GPIO_EXTRA_HEADER
Yuantian Tang473bbc42019-04-10 16:43:35 +08001558 help
1559 Support for Freescale LS1028AQDS platform
1560 The LS1028A Development System (QDS) is a high-performance
1561 development platform that supports the QorIQ LS1028A
1562 Layerscape Architecture processor.
1563
Yuantian Tang92f18ff2019-04-10 16:43:34 +08001564config TARGET_LS1028ARDB
1565 bool "Support ls1028ardb"
1566 select ARCH_LS1028A
1567 select ARM64
1568 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001569 select ARCH_SUPPORT_TFABOOT
Yuantian Tang31c98902020-03-09 14:10:07 +08001570 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001571 select GPIO_EXTRA_HEADER
Yuantian Tang92f18ff2019-04-10 16:43:34 +08001572 help
1573 Support for Freescale LS1028ARDB platform
1574 The LS1028A Development System (RDB) is a high-performance
1575 development platform that supports the QorIQ LS1028A
1576 Layerscape Architecture processor.
1577
Ashish Kumar227b4bc2017-08-31 16:12:54 +05301578config TARGET_LS1088ARDB
1579 bool "Support ls1088ardb"
1580 select ARCH_LS1088A
1581 select ARM64
1582 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001583 select ARCH_SUPPORT_TFABOOT
Ashish Kumar227b4bc2017-08-31 16:12:54 +05301584 select BOARD_LATE_INIT
Ashish Kumar5676ceb2017-11-06 13:18:43 +05301585 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001586 select FSL_DDR_INTERACTIVE if !SD_BOOT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001587 select GPIO_EXTRA_HEADER
Ashish Kumar227b4bc2017-08-31 16:12:54 +05301588 help
1589 Support for NXP LS1088ARDB platform.
1590 The LS1088A Reference design board (RDB) is a high-performance
1591 development platform that supports the QorIQ LS1088A
1592 Layerscape Architecture processor.
1593
Wang Huanf0ce7d62014-09-05 13:52:44 +08001594config TARGET_LS1021AQDS
Alison Wang6ea8ad42014-12-03 16:18:09 +08001595 bool "Support ls1021aqds"
Michal Simek84f3dec2018-07-23 15:55:13 +02001596 select ARCH_LS1021A
1597 select ARCH_SUPPORT_PSCI
1598 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001599 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301600 select CPU_V7A
Hongbo Zhange80fccf2016-09-21 18:31:04 +08001601 select CPU_V7_HAS_NONSEC
1602 select CPU_V7_HAS_VIRT
York Sun4de7e932016-09-26 08:09:29 -07001603 select LS1_DEEP_SLEEP
Michal Simek84f3dec2018-07-23 15:55:13 +02001604 select SUPPORT_SPL
York Sund297d392016-12-28 08:43:40 -08001605 select SYS_FSL_DDR
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001606 select FSL_DDR_INTERACTIVE
Lukasz Majewski23aa8342020-06-04 23:11:52 +08001607 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001608 select GPIO_EXTRA_HEADER
Lukasz Majewski23aa8342020-06-04 23:11:52 +08001609 select SPI_FLASH_DATAFLASH if FSL_DSPI || FSL_QSPI
Simon Glass0e5faf02017-06-14 21:28:21 -06001610 imply SCSI
Masahiro Yamadad5415b22016-08-30 16:22:22 +09001611
Wang Huanddf89f92014-09-05 13:52:45 +08001612config TARGET_LS1021ATWR
Alison Wang6ea8ad42014-12-03 16:18:09 +08001613 bool "Support ls1021atwr"
Michal Simek84f3dec2018-07-23 15:55:13 +02001614 select ARCH_LS1021A
1615 select ARCH_SUPPORT_PSCI
1616 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001617 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301618 select CPU_V7A
Hongbo Zhange80fccf2016-09-21 18:31:04 +08001619 select CPU_V7_HAS_NONSEC
1620 select CPU_V7_HAS_VIRT
York Sun4de7e932016-09-26 08:09:29 -07001621 select LS1_DEEP_SLEEP
Michal Simek84f3dec2018-07-23 15:55:13 +02001622 select SUPPORT_SPL
Lukasz Majewski23aa8342020-06-04 23:11:52 +08001623 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001624 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001625 imply SCSI
Wang Huanddf89f92014-09-05 13:52:45 +08001626
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +00001627config TARGET_PG_WCOM_SELI8
1628 bool "Support Hitachi-Powergrids SELI8 service unit card"
1629 select ARCH_LS1021A
1630 select ARCH_SUPPORT_PSCI
1631 select BOARD_EARLY_INIT_F
1632 select BOARD_LATE_INIT
1633 select CPU_V7A
1634 select CPU_V7_HAS_NONSEC
1635 select CPU_V7_HAS_VIRT
1636 select SYS_FSL_DDR
1637 select FSL_DDR_INTERACTIVE
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001638 select GPIO_EXTRA_HEADER
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +00001639 select VENDOR_KM
1640 imply SCSI
1641 help
1642 Support for Hitachi-Powergrids SELI8 service unit card.
1643 SELI8 is a QorIQ LS1021a based service unit card used
1644 in XMC20 and FOX615 product families.
1645
Aleksandar Gerasimovski3b24bbd2021-06-08 14:16:28 +00001646config TARGET_PG_WCOM_EXPU1
1647 bool "Support Hitachi-Powergrids EXPU1 service unit card"
1648 select ARCH_LS1021A
1649 select ARCH_SUPPORT_PSCI
1650 select BOARD_EARLY_INIT_F
1651 select BOARD_LATE_INIT
1652 select CPU_V7A
1653 select CPU_V7_HAS_NONSEC
1654 select CPU_V7_HAS_VIRT
1655 select SYS_FSL_DDR
1656 select FSL_DDR_INTERACTIVE
1657 select VENDOR_KM
1658 imply SCSI
1659 help
1660 Support for Hitachi-Powergrids EXPU1 service unit card.
1661 EXPU1 is a QorIQ LS1021a based service unit card used
1662 in XMC20 and FOX615 product families.
1663
Jianchao Wange5332ba2019-07-19 00:30:01 +03001664config TARGET_LS1021ATSN
1665 bool "Support ls1021atsn"
1666 select ARCH_LS1021A
1667 select ARCH_SUPPORT_PSCI
1668 select BOARD_EARLY_INIT_F
1669 select BOARD_LATE_INIT
1670 select CPU_V7A
1671 select CPU_V7_HAS_NONSEC
1672 select CPU_V7_HAS_VIRT
1673 select LS1_DEEP_SLEEP
1674 select SUPPORT_SPL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001675 select GPIO_EXTRA_HEADER
Jianchao Wange5332ba2019-07-19 00:30:01 +03001676 imply SCSI
1677
Feng Li39e112d2016-11-03 14:15:17 +08001678config TARGET_LS1021AIOT
1679 bool "Support ls1021aiot"
Michal Simek84f3dec2018-07-23 15:55:13 +02001680 select ARCH_LS1021A
1681 select ARCH_SUPPORT_PSCI
Tom Rini22d567e2017-01-22 19:43:11 -05001682 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301683 select CPU_V7A
Feng Li39e112d2016-11-03 14:15:17 +08001684 select CPU_V7_HAS_NONSEC
1685 select CPU_V7_HAS_VIRT
1686 select SUPPORT_SPL
Lukasz Majewski23aa8342020-06-04 23:11:52 +08001687 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001688 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001689 imply SCSI
Feng Li39e112d2016-11-03 14:15:17 +08001690 help
1691 Support for Freescale LS1021AIOT platform.
1692 The LS1021A Freescale board (IOT) is a high-performance
1693 development platform that supports the QorIQ LS1021A
1694 Layerscape Architecture processor.
1695
Shaohui Xiedd335672015-11-11 17:58:37 +08001696config TARGET_LS1043AQDS
1697 bool "Support ls1043aqds"
York Sun149eb332016-09-26 08:09:27 -07001698 select ARCH_LS1043A
Shaohui Xiedd335672015-11-11 17:58:37 +08001699 select ARM64
1700 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001701 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001702 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001703 select BOARD_LATE_INIT
Shaohui Xiedd335672015-11-11 17:58:37 +08001704 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001705 select FSL_DDR_INTERACTIVE if !SPL
Lukasz Majewski9cb0cc12020-06-04 23:11:51 +08001706 select FSL_DSPI if !SPL_NO_DSPI
1707 select DM_SPI_FLASH if FSL_DSPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001708 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001709 imply SCSI
Peng Maa550eb62019-01-30 19:11:49 +08001710 imply SCSI_AHCI
Shaohui Xiedd335672015-11-11 17:58:37 +08001711 help
1712 Support for Freescale LS1043AQDS platform.
1713
Mingkai Hueee86ff2015-10-26 19:47:52 +08001714config TARGET_LS1043ARDB
1715 bool "Support ls1043ardb"
York Sun149eb332016-09-26 08:09:27 -07001716 select ARCH_LS1043A
Mingkai Hueee86ff2015-10-26 19:47:52 +08001717 select ARM64
Hou Zhiqiangc7098fa2015-10-26 19:47:57 +08001718 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001719 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001720 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001721 select BOARD_LATE_INIT
Gong Qianyu8168a0f2015-10-26 19:47:53 +08001722 select SUPPORT_SPL
Lukasz Majewski9cb0cc12020-06-04 23:11:51 +08001723 select FSL_DSPI if !SPL_NO_DSPI
1724 select DM_SPI_FLASH if FSL_DSPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001725 select GPIO_EXTRA_HEADER
Mingkai Hueee86ff2015-10-26 19:47:52 +08001726 help
1727 Support for Freescale LS1043ARDB platform.
1728
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001729config TARGET_LS1046AQDS
1730 bool "Support ls1046aqds"
York Sunbad49842016-09-26 08:09:24 -07001731 select ARCH_LS1046A
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001732 select ARM64
1733 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001734 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001735 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001736 select BOARD_LATE_INIT
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001737 select DM_SPI_FLASH if DM_SPI
Michal Simek84f3dec2018-07-23 15:55:13 +02001738 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001739 select FSL_DDR_BIST if !SPL
1740 select FSL_DDR_INTERACTIVE if !SPL
1741 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001742 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001743 imply SCSI
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001744 help
1745 Support for Freescale LS1046AQDS platform.
1746 The LS1046A Development System (QDS) is a high-performance
1747 development platform that supports the QorIQ LS1046A
1748 Layerscape Architecture processor.
1749
Mingkai Hud2396512016-09-07 18:47:28 +08001750config TARGET_LS1046ARDB
1751 bool "Support ls1046ardb"
York Sunbad49842016-09-26 08:09:24 -07001752 select ARCH_LS1046A
Mingkai Hud2396512016-09-07 18:47:28 +08001753 select ARM64
1754 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001755 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001756 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001757 select BOARD_LATE_INIT
Mingkai Hud2396512016-09-07 18:47:28 +08001758 select DM_SPI_FLASH if DM_SPI
Hou Zhiqiang67b6d0a2016-12-09 16:09:01 +08001759 select POWER_MC34VR500
Michal Simek84f3dec2018-07-23 15:55:13 +02001760 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001761 select FSL_DDR_BIST
1762 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001763 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001764 imply SCSI
Mingkai Hud2396512016-09-07 18:47:28 +08001765 help
1766 Support for Freescale LS1046ARDB platform.
1767 The LS1046A Reference Design Board (RDB) is a high-performance
1768 development platform that supports the QorIQ LS1046A
1769 Layerscape Architecture processor.
1770
Vabhav Sharma51641912019-06-06 12:35:28 +00001771config TARGET_LS1046AFRWY
1772 bool "Support ls1046afrwy"
1773 select ARCH_LS1046A
1774 select ARM64
1775 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001776 select ARCH_SUPPORT_TFABOOT
Vabhav Sharma51641912019-06-06 12:35:28 +00001777 select BOARD_EARLY_INIT_F
1778 select BOARD_LATE_INIT
1779 select DM_SPI_FLASH if DM_SPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001780 select GPIO_EXTRA_HEADER
Vabhav Sharma51641912019-06-06 12:35:28 +00001781 imply SCSI
1782 help
1783 Support for Freescale LS1046AFRWY platform.
1784 The LS1046A Freeway Board (FRWY) is a high-performance
1785 development platform that supports the QorIQ LS1046A
1786 Layerscape Architecture processor.
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001787
Michael Walle36ba7642020-10-15 23:08:57 +02001788config TARGET_SL28
1789 bool "Support sl28"
1790 select ARCH_LS1028A
1791 select ARM64
1792 select ARMV8_MULTIENTRY
1793 select SUPPORT_SPL
1794 select BINMAN
Michael Walleb53a4f32021-03-26 19:40:57 +01001795 select DM
1796 select DM_GPIO
1797 select DM_I2C
1798 select DM_MMC
1799 select DM_SPI_FLASH
1800 select DM_ETH
1801 select DM_MDIO
Simon Glass3933d292021-08-01 18:54:44 -06001802 select PCI
Michael Walleb53a4f32021-03-26 19:40:57 +01001803 select DM_RNG
1804 select DM_RTC
1805 select DM_SCSI
Michael Walle7a66ef02021-03-26 19:40:58 +01001806 select DM_SERIAL
Michael Walleb53a4f32021-03-26 19:40:57 +01001807 select DM_SPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001808 select GPIO_EXTRA_HEADER
Michael Walleb53a4f32021-03-26 19:40:57 +01001809 select SPL_DM if SPL
1810 select SPL_DM_SPI if SPL
1811 select SPL_DM_SPI_FLASH if SPL
1812 select SPL_DM_I2C if SPL
1813 select SPL_DM_MMC if SPL
1814 select SPL_DM_SERIAL if SPL
Michael Walle36ba7642020-10-15 23:08:57 +02001815 help
1816 Support for Kontron SMARC-sAL28 board.
1817
Mathew McBridee605fb12022-01-31 18:34:43 +05301818config TARGET_TEN64
1819 bool "Support ten64"
1820 select ARCH_LS1088A
1821 select ARCH_MISC_INIT
1822 select ARM64
1823 select ARMV8_MULTIENTRY
1824 select ARCH_SUPPORT_TFABOOT
1825 select BOARD_LATE_INIT
1826 select SUPPORT_SPL
1827 select FSL_DDR_INTERACTIVE if !SD_BOOT
1828 select GPIO_EXTRA_HEADER
1829 help
1830 Support for Traverse Technologies Ten64 board, based
1831 on NXP LS1088A.
1832
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001833config TARGET_COLIBRI_PXA270
1834 bool "Support colibri_pxa270"
Tom Rini72f2c142021-12-17 18:08:40 -05001835 select CPU_PXA27X
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001836 select GPIO_EXTRA_HEADER
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001837
Masahiro Yamada82069432014-10-03 19:21:07 +09001838config ARCH_UNIPHIER
Masahiro Yamada563ee4c2015-05-29 17:30:01 +09001839 bool "Socionext UniPhier SoCs"
Tom Rini22d567e2017-01-22 19:43:11 -05001840 select BOARD_LATE_INIT
Masahiro Yamada85eb8262015-03-31 12:47:54 +09001841 select DM
Masahiro Yamadaae8d7d52020-05-07 22:11:19 +09001842 select DM_ETH
Masahiro Yamada5f128922016-02-16 17:03:50 +09001843 select DM_GPIO
Masahiro Yamada85eb8262015-03-31 12:47:54 +09001844 select DM_I2C
Masahiro Yamada867453e2016-02-18 19:52:49 +09001845 select DM_MMC
Masahiro Yamada8fc53822020-01-30 22:07:59 +09001846 select DM_MTD
Masahiro Yamada2aa4b5b2016-10-08 13:25:31 +09001847 select DM_RESET
Masahiro Yamada694adf12016-09-14 01:05:59 +09001848 select DM_SERIAL
Masahiro Yamadae0a6fa82018-07-19 16:28:25 +09001849 select OF_BOARD_SETUP
Masahiro Yamada694adf12016-09-14 01:05:59 +09001850 select OF_CONTROL
1851 select OF_LIBFDT
Masahiro Yamada0c977252016-09-17 03:33:01 +09001852 select PINCTRL
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +08001853 select SPL_BOARD_INIT if SPL
Masahiro Yamadadabee242017-01-21 18:05:22 +09001854 select SPL_DM if SPL
1855 select SPL_LIBCOMMON_SUPPORT if SPL
1856 select SPL_LIBGENERIC_SUPPORT if SPL
1857 select SPL_OF_CONTROL if SPL
1858 select SPL_PINCTRL if SPL
Masahiro Yamada694adf12016-09-14 01:05:59 +09001859 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +02001860 imply CMD_DM
Masahiro Yamada577242b2018-07-20 21:47:18 +09001861 imply DISTRO_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -04001862 imply FAT_WRITE
Masahiro Yamada563ee4c2015-05-29 17:30:01 +09001863 help
1864 Support for UniPhier SoC family developed by Socionext Inc.
1865 (formerly, System LSI Business Division of Panasonic Corporation)
Masahiro Yamada82069432014-10-03 19:21:07 +09001866
Masami Hiramatsu7c741272021-06-04 18:45:10 +09001867config ARCH_SYNQUACER
1868 bool "Socionext SynQuacer SoCs"
1869 select ARM64
1870 select DM
1871 select GIC_V3
1872 select PSCI_RESET
1873 select SYSRESET
1874 select SYSRESET_PSCI
1875 select OF_CONTROL
1876 help
1877 Support for SynQuacer SoC family developed by Socionext Inc.
1878 This SoC is used on 96boards EE DeveloperBox.
1879
Trevor Woerner2bcc1ed2020-05-06 08:02:42 -04001880config ARCH_STM32
Patrick Delaunay85b53972018-03-12 10:46:10 +01001881 bool "Support STMicroelectronics STM32 MCU with cortex M"
rev13@wp.pl6b5e5a92015-03-01 12:44:42 +01001882 select CPU_V7M
Kamil Lulko75d48a62015-12-01 09:08:19 +01001883 select DM
1884 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +02001885 imply CMD_DM
rev13@wp.pl6b5e5a92015-03-01 12:44:42 +01001886
Patrice Chotard5b428242017-02-21 13:37:04 +01001887config ARCH_STI
1888 bool "Support STMicrolectronics SoCs"
Michal Simek84f3dec2018-07-23 15:55:13 +02001889 select BLK
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301890 select CPU_V7A
Patrice Chotard42d742b2017-02-21 13:37:07 +01001891 select DM
Patrice Chotard2eea7d82017-02-21 13:37:09 +01001892 select DM_MMC
Patrice Chotard1235aa02017-03-22 10:54:03 +01001893 select DM_RESET
Michal Simek84f3dec2018-07-23 15:55:13 +02001894 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +02001895 imply CMD_DM
Patrice Chotard5b428242017-02-21 13:37:04 +01001896 help
1897 Support for STMicroelectronics STiH407/10 SoC family.
1898 This SoC is used on Linaro 96Board STiH410-B2260
1899
Patrick Delaunay85b53972018-03-12 10:46:10 +01001900config ARCH_STM32MP
1901 bool "Support STMicroelectronics STM32MP Socs with cortex A"
Patrick Delaunayc5d15652018-03-20 10:54:53 +01001902 select ARCH_MISC_INIT
Patrick Delaunayf8fe21d2020-04-01 09:07:33 +02001903 select ARCH_SUPPORT_TFABOOT
Patrick Delaunay85b53972018-03-12 10:46:10 +01001904 select BOARD_LATE_INIT
1905 select CLK
1906 select DM
1907 select DM_GPIO
1908 select DM_RESET
1909 select DM_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02001910 select MISC
Patrick Delaunay85b53972018-03-12 10:46:10 +01001911 select OF_CONTROL
1912 select OF_LIBFDT
Patrick Delaunaya6f03912019-07-05 17:20:14 +02001913 select OF_SYSTEM_SETUP
Patrick Delaunay85b53972018-03-12 10:46:10 +01001914 select PINCTRL
1915 select REGMAP
1916 select SUPPORT_SPL
1917 select SYSCON
Patrick Delaunay32ddd262018-03-20 14:15:06 +01001918 select SYSRESET
Patrick Delaunay85b53972018-03-12 10:46:10 +01001919 select SYS_THUMB_BUILD
Kever Yang525ea472019-04-02 20:41:25 +08001920 imply SPL_SYSRESET
Michal Simek2e7c8192018-07-23 15:55:14 +02001921 imply CMD_DM
Patrick Delaunay4e8dbe22019-04-12 11:55:46 +02001922 imply CMD_POWEROFF
Patrick Delaunay03552502019-07-30 19:16:28 +02001923 imply OF_LIBFDT_OVERLAY
Patrick Delaunayd70e3f82019-02-27 17:01:11 +01001924 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Patrick Delaunay64e02e92019-04-18 17:32:38 +02001925 imply USE_PREBOOT
Simon Glass65831d92021-12-18 11:27:50 -07001926 imply TIMESTAMP
Patrick Delaunay85b53972018-03-12 10:46:10 +01001927 help
1928 Support for STM32MP SoC family developed by STMicroelectronics,
1929 MPUs based on ARM cortex A core
Patrick Delaunay5d061412019-02-12 11:44:39 +01001930 U-BOOT is running in DDR, loaded by the First Stage BootLoader (FSBL).
1931 FSBL can be TF-A: Trusted Firmware for Cortex A, for trusted boot
1932 chain.
1933 SPL is the unsecure FSBL for the basic boot chain.
Patrick Delaunay85b53972018-03-12 10:46:10 +01001934
Simon Glass2cffe662015-08-30 16:55:38 -06001935config ARCH_ROCKCHIP
1936 bool "Support Rockchip SoCs"
Simon Glass94106272016-06-12 23:30:14 -06001937 select BLK
Johan Gunnarsson5dd60ce2021-07-25 16:25:58 +02001938 select BINMAN if SPL_OPTEE || (SPL && !ARM64)
Simon Glass2cffe662015-08-30 16:55:38 -06001939 select DM
Simon Glass94106272016-06-12 23:30:14 -06001940 select DM_GPIO
1941 select DM_I2C
1942 select DM_MMC
Michal Simek84f3dec2018-07-23 15:55:13 +02001943 select DM_PWM
1944 select DM_REGULATOR
Simon Glass94106272016-06-12 23:30:14 -06001945 select DM_SERIAL
1946 select DM_SPI
1947 select DM_SPI_FLASH
Philipp Tomsichb6f395c2017-10-10 16:21:03 +02001948 select ENABLE_ARM_SOC_BOOT0_HOOK
Michal Simek84f3dec2018-07-23 15:55:13 +02001949 select OF_CONTROL
Adam Ford4e96ff82018-04-15 13:51:26 -04001950 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +02001951 select SPL_DM if SPL
Lukasz Majewski76f442982020-06-04 23:11:53 +08001952 select SPL_DM_SPI if SPL
1953 select SPL_DM_SPI_FLASH if SPL
Michal Simek84f3dec2018-07-23 15:55:13 +02001954 select SYS_MALLOC_F
1955 select SYS_THUMB_BUILD if !ARM64
1956 imply ADC
Michal Simek2e7c8192018-07-23 15:55:14 +02001957 imply CMD_DM
Kever Yang2563ee82019-03-29 09:08:58 +08001958 imply DEBUG_UART_BOARD_INIT
Masahiro Yamada9afc6c52018-04-25 18:47:52 +09001959 imply DISTRO_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -04001960 imply FAT_WRITE
Philipp Tomsich2fa7b7e2017-09-20 13:50:13 +02001961 imply SARADC_ROCKCHIP
Michal Simek84f3dec2018-07-23 15:55:13 +02001962 imply SPL_SYSRESET
Thomas Hebb1bda4322019-11-15 08:48:57 -08001963 imply SPL_SYS_MALLOC_SIMPLE
Kever Yang4a3448c2018-04-19 11:37:09 +08001964 imply SYS_NS16550
Michal Simek84f3dec2018-07-23 15:55:13 +02001965 imply TPL_SYSRESET
1966 imply USB_FUNCTION_FASTBOOT
Simon Glass2cffe662015-08-30 16:55:38 -06001967
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07001968config ARCH_OCTEONTX
1969 bool "Support OcteonTX SoCs"
Stefan Roesefbd18652020-09-23 11:01:30 +02001970 select CLK
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07001971 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001972 select GPIO_EXTRA_HEADER
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07001973 select ARM64
1974 select OF_CONTROL
1975 select OF_LIVE
1976 select BOARD_LATE_INIT
1977 select SYS_CACHE_SHIFT_7
Tom Rini50e6f1b2021-12-12 22:12:32 -05001978 select SYS_PCI_64BIT if PCI
Simon Glass94886db2021-12-16 20:59:36 -07001979 imply OF_HAS_PRIOR_STAGE
Suneel Garapatid9e72462019-10-19 18:47:37 -07001980
1981config ARCH_OCTEONTX2
1982 bool "Support OcteonTX2 SoCs"
Stefan Roesefbd18652020-09-23 11:01:30 +02001983 select CLK
Suneel Garapatid9e72462019-10-19 18:47:37 -07001984 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001985 select GPIO_EXTRA_HEADER
Suneel Garapatid9e72462019-10-19 18:47:37 -07001986 select ARM64
1987 select OF_CONTROL
1988 select OF_LIVE
1989 select BOARD_LATE_INIT
1990 select SYS_CACHE_SHIFT_7
Tom Rini50e6f1b2021-12-12 22:12:32 -05001991 select SYS_PCI_64BIT if PCI
Simon Glass94886db2021-12-16 20:59:36 -07001992 imply OF_HAS_PRIOR_STAGE
Suneel Garapatid9e72462019-10-19 18:47:37 -07001993
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07001994config TARGET_THUNDERX_88XX
1995 bool "Support ThunderX 88xx"
Marek Vasut09ab8ad2016-06-01 02:33:53 +02001996 select ARM64
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001997 select GPIO_EXTRA_HEADER
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07001998 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +01001999 select PL01X_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02002000 select SYS_CACHE_SHIFT_7
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07002001
maxims@google.comf57bd002017-01-18 13:44:55 -08002002config ARCH_ASPEED
2003 bool "Support Aspeed SoCs"
maxims@google.comf57bd002017-01-18 13:44:55 -08002004 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +02002005 select OF_CONTROL
Michal Simek2e7c8192018-07-23 15:55:14 +02002006 imply CMD_DM
maxims@google.comf57bd002017-01-18 13:44:55 -08002007
liu hao1c4a2c42019-10-31 07:51:08 +00002008config TARGET_DURIAN
2009 bool "Support Phytium Durian Platform"
2010 select ARM64
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09002011 select GPIO_EXTRA_HEADER
liu hao1c4a2c42019-10-31 07:51:08 +00002012 help
2013 Support for durian platform.
2014 It has 2GB Sdram, uart and pcie.
2015
weichangzheng74b45192022-03-02 15:09:05 +08002016config TARGET_POMELO
2017 bool "Support Phytium Pomelo Platform"
2018 select ARM64
2019 select DM
2020 select AHCI
2021 select SCSI_AHCI
2022 select AHCI_PCI
2023 select BLK
2024 select PCI
2025 select DM_PCI
2026 select SCSI
2027 select DM_SCSI
2028 select DM_SERIAL
2029 select DM_ETH if NET
2030 imply CMD_PCI
2031 help
2032 Support for pomelo platform.
2033 It has 8GB Sdram, uart and pcie.
2034
Alex Nemirovsky1ecad072020-01-30 12:34:59 -08002035config TARGET_PRESIDIO_ASIC
2036 bool "Support Cortina Presidio ASIC Platform"
2037 select ARM64
Tom Rini249f11f2021-08-19 14:19:39 -04002038 select GICV2
Alex Nemirovsky1ecad072020-01-30 12:34:59 -08002039
Andrii Anisov355d1e42020-08-06 12:42:47 +03002040config TARGET_XENGUEST_ARM64
2041 bool "Xen guest ARM64"
2042 select ARM64
2043 select XEN
2044 select OF_CONTROL
2045 select LINUX_KERNEL_IMAGE_HEADER
Peng Fan8162f8f2020-08-06 12:42:50 +03002046 select XEN_SERIAL
Oleksandr Andrushchenko4b728452020-08-06 12:42:53 +03002047 select SSCANF
Simon Glass94886db2021-12-16 20:59:36 -07002048 imply OF_HAS_PRIOR_STAGE
2049
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002050endchoice
2051
Tom Rini4cc38852021-08-30 09:16:30 -04002052config SUPPORT_PASSING_ATAGS
2053 bool "Support pre-devicetree ATAG-based booting"
2054 depends on !ARM64
2055 imply SETUP_MEMORY_TAGS
2056 help
2057 Support for booting older Linux kernels, using ATAGs rather than
2058 passing a devicetree. This is option is rarely used, and the
2059 semantics are defined at
2060 https://www.kernel.org/doc/Documentation/arm/Booting at section 4a.
2061
2062config SETUP_MEMORY_TAGS
2063 bool "Pass memory size information via ATAG"
2064 depends on SUPPORT_PASSING_ATAGS
2065
2066config CMDLINE_TAG
2067 bool "Pass Linux kernel cmdline via ATAG"
2068 depends on SUPPORT_PASSING_ATAGS
2069
2070config INITRD_TAG
2071 bool "Pass initrd starting point and size via ATAG"
2072 depends on SUPPORT_PASSING_ATAGS
2073
2074config REVISION_TAG
2075 bool "Pass system revision via ATAG"
2076 depends on SUPPORT_PASSING_ATAGS
2077
2078config SERIAL_TAG
2079 bool "Pass system serial number via ATAG"
2080 depends on SUPPORT_PASSING_ATAGS
2081
Tom Riniea1e52b2021-08-30 09:16:31 -04002082config STATIC_MACH_TYPE
2083 bool "Statically define the Machine ID number"
2084 help
2085 When booting via ATAGs, enable this option if we know the correct
2086 machine ID number to use at compile time. Some systems will be
2087 passed the number dynamically by whatever loads U-Boot.
2088
2089config MACH_TYPE
2090 int "Machine ID number"
2091 depends on STATIC_MACH_TYPE
2092 help
2093 When booting via ATAGs, the machine type must be passed as a number.
2094 For the full list see https://www.arm.linux.org.uk/developer/machines
2095
AKASHI Takahirofb83f752019-07-03 10:44:39 +09002096config ARCH_SUPPORT_TFABOOT
2097 bool
2098
2099config TFABOOT
2100 bool "Support for booting from TF-A"
2101 depends on ARCH_SUPPORT_TFABOOT
AKASHI Takahirofb83f752019-07-03 10:44:39 +09002102 help
Andre Przywara41087af2020-09-30 15:45:07 +01002103 Some platforms support the setup of secure registers (for instance
2104 for CPU errata handling) or provide secure services like PSCI.
2105 Those services could also be provided by other firmware parts
2106 like TF-A (Trusted Firmware for Cortex-A), in which case U-Boot
2107 does not need to (and cannot) execute this code.
2108 Enabling this option will make a U-Boot binary that is relying
2109 on other firmware layers to provide secure functionality.
AKASHI Takahirofb83f752019-07-03 10:44:39 +09002110
Andrew F. Davisd3fe9172018-02-14 11:53:37 -06002111config TI_SECURE_DEVICE
2112 bool "HS Device Type Support"
Andrew F. Davis2ed41072019-04-12 12:54:45 -04002113 depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
Andrew F. Davisd3fe9172018-02-14 11:53:37 -06002114 help
2115 If a high secure (HS) device type is being used, this config
2116 must be set. This option impacts various aspects of the
2117 build system (to create signed boot images that can be
2118 authenticated) and the code. See the doc/README.ti-secure
2119 file for further details.
2120
Tom Rinib2f88a32019-03-19 07:14:37 -04002121if AM43XX || AM33XX || OMAP54XX || ARCH_KEYSTONE
2122config ISW_ENTRY_ADDR
2123 hex "Address in memory or XIP address of bootloader entry point"
2124 default 0x402F4000 if AM43XX
2125 default 0x402F0400 if AM33XX
2126 default 0x40301350 if OMAP54XX
2127 help
2128 After any reset, the boot ROM searches the boot media for a valid
2129 boot image. For non-XIP devices, the ROM then copies the image into
2130 internal memory. For all boot modes, after the ROM processes the
2131 boot image it eventually computes the entry point address depending
2132 on the device type (secure/non-secure), boot media (xip/non-xip) and
2133 image headers.
2134endif
2135
Tom Rini43b9c292021-12-17 18:08:45 -05002136config SYS_KWD_CONFIG
2137 string "kwbimage config file path"
2138 depends on ARCH_KIRKWOOD || ARCH_MVEBU
2139 default "arch/arm/mach-mvebu/kwbimage.cfg"
2140 help
2141 Path within the source directory to the kwbimage.cfg file to use
2142 when packaging the U-Boot image for use.
2143
Mark Kettenis58d51272021-10-23 16:58:03 +02002144source "arch/arm/mach-apple/Kconfig"
2145
maxims@google.comf57bd002017-01-18 13:44:55 -08002146source "arch/arm/mach-aspeed/Kconfig"
2147
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +09002148source "arch/arm/mach-at91/Kconfig"
2149
Masahiro Yamadaed22cc72015-03-19 19:42:56 +09002150source "arch/arm/mach-bcm283x/Kconfig"
Masahiro Yamadae604ef92014-08-31 07:11:01 +09002151
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -04002152source "arch/arm/mach-bcmstb/Kconfig"
2153
Masahiro Yamadaed22cc72015-03-19 19:42:56 +09002154source "arch/arm/mach-davinci/Kconfig"
Simon Glass13fc6a22015-02-05 21:41:39 -07002155
Thomas Abraham74f84862015-08-03 17:58:00 +05302156source "arch/arm/mach-exynos/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +09002157
Masahiro Yamada95ec48b2015-02-20 17:04:08 +09002158source "arch/arm/mach-highbank/Kconfig"
Masahiro Yamada52ece9c2014-08-31 07:11:07 +09002159
Masahiro Yamadacad44162015-04-21 21:59:36 +09002160source "arch/arm/mach-integrator/Kconfig"
2161
Robert Markoe7a34f12020-07-06 10:37:54 +02002162source "arch/arm/mach-ipq40xx/Kconfig"
2163
Lokesh Vutla9bdec002018-08-27 15:57:08 +05302164source "arch/arm/mach-k3/Kconfig"
2165
Masahiro Yamadaf058b792015-02-20 17:04:11 +09002166source "arch/arm/mach-keystone/Kconfig"
Masahiro Yamada32013fb2014-08-31 07:11:05 +09002167
Masahiro Yamada5e5e23a2015-02-20 17:04:06 +09002168source "arch/arm/mach-kirkwood/Kconfig"
Masahiro Yamadad7570852014-08-31 07:10:59 +09002169
Trevor Woerner28d261f2020-05-06 08:02:36 -04002170source "arch/arm/mach-lpc32xx/Kconfig"
Vladimir Zapolskiy31d0e962018-09-17 21:43:03 +03002171
Stefan Roese383e0c12015-08-25 13:18:38 +02002172source "arch/arm/mach-mvebu/Kconfig"
2173
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07002174source "arch/arm/mach-octeontx/Kconfig"
Suneel Garapatid9e72462019-10-19 18:47:37 -07002175
2176source "arch/arm/mach-octeontx2/Kconfig"
2177
York Sun149eb332016-09-26 08:09:27 -07002178source "arch/arm/cpu/armv7/ls102xa/Kconfig"
2179
Magnus Liljac74f70f2018-05-11 14:06:54 +02002180source "arch/arm/mach-imx/mx3/Kconfig"
2181
Peng Fan66294882018-01-10 13:20:19 +08002182source "arch/arm/mach-imx/mx5/Kconfig"
2183
2184source "arch/arm/mach-imx/mx6/Kconfig"
Peng Fan2c7b1702017-02-22 16:21:39 +08002185
Stefano Babic33731bc2017-06-29 10:16:06 +02002186source "arch/arm/mach-imx/mx7/Kconfig"
Adrian Alonso98810772015-09-03 11:49:28 -05002187
Peng Fan66294882018-01-10 13:20:19 +08002188source "arch/arm/mach-imx/mx7ulp/Kconfig"
Boris BREZILLON51e82662015-03-04 13:13:03 +01002189
Peng Fan6bae1c72018-10-18 14:28:08 +02002190source "arch/arm/mach-imx/imx8/Kconfig"
2191
Peng Fan39945c12018-11-20 10:19:25 +00002192source "arch/arm/mach-imx/imx8m/Kconfig"
Andrej Rosano1ac4bca2015-04-08 18:56:29 +02002193
Peng Fan570dc4f2021-08-07 16:00:30 +08002194source "arch/arm/mach-imx/imx8ulp/Kconfig"
2195
Giulio Benetti9dba2622020-01-10 15:51:47 +01002196source "arch/arm/mach-imx/imxrt/Kconfig"
2197
Stefan Agner081ea1f2018-02-06 09:44:34 +01002198source "arch/arm/mach-imx/mxs/Kconfig"
2199
Tom Rini28eec372016-11-07 21:34:54 -05002200source "arch/arm/mach-omap2/Kconfig"
Madan Srinivaseba13cd2016-05-19 19:10:43 -05002201
York Sunbad49842016-09-26 08:09:24 -07002202source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
2203
Masahiro Yamada22537642015-02-20 17:04:09 +09002204source "arch/arm/mach-orion5x/Kconfig"
Masahiro Yamada04ffbc12014-08-31 07:11:06 +09002205
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05302206source "arch/arm/mach-owl/Kconfig"
2207
Nobuhiro Iwamatsuc91ef682015-10-09 16:40:09 +09002208source "arch/arm/mach-rmobile/Kconfig"
Masahiro Yamadac9c54e22014-08-31 07:10:57 +09002209
Beniamino Galvanid1037e42016-05-08 08:30:16 +02002210source "arch/arm/mach-meson/Kconfig"
2211
developerf4a079c2018-11-15 10:07:52 +08002212source "arch/arm/mach-mediatek/Kconfig"
2213
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +03002214source "arch/arm/mach-qemu/Kconfig"
2215
Simon Glass2cffe662015-08-30 16:55:38 -06002216source "arch/arm/mach-rockchip/Kconfig"
2217
Minkyu Kang56b820a2015-11-20 15:24:57 +09002218source "arch/arm/mach-s5pc1xx/Kconfig"
Simon Glass96aa0722014-10-07 22:01:50 -06002219
Mateusz Kulikowski2507d822016-03-31 23:12:32 +02002220source "arch/arm/mach-snapdragon/Kconfig"
2221
Masahiro Yamada144a3e02015-04-21 20:38:20 +09002222source "arch/arm/mach-socfpga/Kconfig"
2223
Patrice Chotard5b428242017-02-21 13:37:04 +01002224source "arch/arm/mach-sti/Kconfig"
2225
Vikas Manocha95c89192016-01-15 17:49:06 -08002226source "arch/arm/mach-stm32/Kconfig"
2227
Patrick Delaunay85b53972018-03-12 10:46:10 +01002228source "arch/arm/mach-stm32mp/Kconfig"
2229
Masahiro Yamada4976a222017-04-28 19:42:18 +09002230source "arch/arm/mach-sunxi/Kconfig"
2231
Masahiro Yamadaed1632a2015-02-20 17:04:04 +09002232source "arch/arm/mach-tegra/Kconfig"
Masahiro Yamada73a5b1a2014-08-31 07:10:56 +09002233
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01002234source "arch/arm/mach-u8500/Kconfig"
2235
Masahiro Yamadaf8563982015-02-27 02:26:42 +09002236source "arch/arm/mach-uniphier/Kconfig"
Masahiro Yamada82069432014-10-03 19:21:07 +09002237
Stefan Agnerd53c0a42017-03-13 18:41:36 -07002238source "arch/arm/cpu/armv7/vf610/Kconfig"
2239
Masahiro Yamada43246cc2015-03-16 16:43:22 +09002240source "arch/arm/mach-zynq/Kconfig"
Masahiro Yamada73a5b1a2014-08-31 07:10:56 +09002241
Michal Simek7f60b232019-01-17 08:22:43 +01002242source "arch/arm/mach-zynqmp/Kconfig"
2243
Michal Simek4b066a12018-08-22 14:55:27 +02002244source "arch/arm/mach-versal/Kconfig"
2245
Michal Simekb513bcd2018-04-12 17:39:46 +02002246source "arch/arm/mach-zynqmp-r5/Kconfig"
2247
Hans de Goede85437352014-11-14 09:34:30 +01002248source "arch/arm/cpu/armv7/Kconfig"
2249
Linus Walleij74771392015-03-09 10:53:21 +01002250source "arch/arm/cpu/armv8/Kconfig"
2251
Stefano Babic33731bc2017-06-29 10:16:06 +02002252source "arch/arm/mach-imx/Kconfig"
Boris BREZILLON6b9b9a02015-03-04 13:13:04 +01002253
Stefan Bosch6563ea22020-07-10 19:07:26 +02002254source "arch/arm/mach-nexell/Kconfig"
2255
Usama Arif9218a112020-08-12 16:12:53 +01002256source "board/armltd/total_compute/Kconfig"
2257
Heiko Schocherf1163962016-06-07 08:31:25 +02002258source "board/bosch/shc/Kconfig"
Sjoerd Simonsf93564c2019-02-25 15:33:00 +00002259source "board/bosch/guardian/Kconfig"
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07002260source "board/Marvell/octeontx/Kconfig"
Suneel Garapatid9e72462019-10-19 18:47:37 -07002261source "board/Marvell/octeontx2/Kconfig"
Kristian Amlie8f8a2992021-09-07 08:37:51 +02002262source "board/armltd/vexpress/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002263source "board/armltd/vexpress64/Kconfig"
Alex Nemirovsky1ecad072020-01-30 12:34:59 -08002264source "board/cortina/presidio-asic/Kconfig"
Philippe Reynes2d299182019-01-31 18:57:36 +01002265source "board/broadcom/bcm963158/Kconfig"
Philippe Reynes0fb541d2022-02-11 19:18:38 +01002266source "board/broadcom/bcm96753ref/Kconfig"
Philippe Reynes0d87fc42020-01-07 20:14:17 +01002267source "board/broadcom/bcm968360bg/Kconfig"
Philippe Reynes697f15e2018-10-11 18:31:58 +02002268source "board/broadcom/bcm968580xref/Kconfig"
Rayagonda Kokatanur1d8fa362020-07-15 22:48:55 +05302269source "board/broadcom/bcmns3/Kconfig"
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07002270source "board/cavium/thunderx/Kconfig"
Felix Brack1ba8c9e2018-01-23 18:27:22 +01002271source "board/eets/pdu001/Kconfig"
Bin Meng53290422018-10-15 02:21:18 -07002272source "board/emulation/qemu-arm/Kconfig"
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05302273source "board/freescale/ls2080aqds/Kconfig"
2274source "board/freescale/ls2080ardb/Kconfig"
Ashish Kumar227b4bc2017-08-31 16:12:54 +05302275source "board/freescale/ls1088a/Kconfig"
Yuantian Tang92f18ff2019-04-10 16:43:34 +08002276source "board/freescale/ls1028a/Kconfig"
Wang Huanf0ce7d62014-09-05 13:52:44 +08002277source "board/freescale/ls1021aqds/Kconfig"
Shaohui Xiedd335672015-11-11 17:58:37 +08002278source "board/freescale/ls1043aqds/Kconfig"
Wang Huanddf89f92014-09-05 13:52:45 +08002279source "board/freescale/ls1021atwr/Kconfig"
Jianchao Wange5332ba2019-07-19 00:30:01 +03002280source "board/freescale/ls1021atsn/Kconfig"
Feng Li39e112d2016-11-03 14:15:17 +08002281source "board/freescale/ls1021aiot/Kconfig"
Shaohui Xie085ac1c2016-09-07 17:56:14 +08002282source "board/freescale/ls1046aqds/Kconfig"
Mingkai Hueee86ff2015-10-26 19:47:52 +08002283source "board/freescale/ls1043ardb/Kconfig"
Mingkai Hud2396512016-09-07 18:47:28 +08002284source "board/freescale/ls1046ardb/Kconfig"
Vabhav Sharma51641912019-06-06 12:35:28 +00002285source "board/freescale/ls1046afrwy/Kconfig"
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05302286source "board/freescale/ls1012aqds/Kconfig"
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05302287source "board/freescale/ls1012ardb/Kconfig"
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05302288source "board/freescale/ls1012afrdm/Kconfig"
Priyanka Jainfd45ca02018-11-28 13:04:27 +00002289source "board/freescale/lx2160a/Kconfig"
Marcin Niestroj20315d22017-01-25 09:53:08 +01002290source "board/grinn/chiliboard/Kconfig"
Tom Rinibdf4f182015-09-02 15:32:20 -04002291source "board/hisilicon/hikey/Kconfig"
Manivannan Sadhasivamcf33f922019-08-02 20:40:09 +05302292source "board/hisilicon/hikey960/Kconfig"
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02002293source "board/hisilicon/poplar/Kconfig"
Ladislav Michl10bdc712017-04-01 17:17:16 +02002294source "board/isee/igep003x/Kconfig"
Michael Walle36ba7642020-10-15 23:08:57 +02002295source "board/kontron/sl28/Kconfig"
Parthiban Nallathambi8214fd92020-07-27 16:48:41 +02002296source "board/myir/mys_6ulx/Kconfig"
Navin Sankar Velliangiri3b2cc732021-05-18 09:03:20 +05302297source "board/seeed/npi_imx6ull/Kconfig"
Masami Hiramatsu7c741272021-06-04 18:45:10 +09002298source "board/socionext/developerbox/Kconfig"
Vikas Manocha33913c52014-11-18 10:42:22 -08002299source "board/st/stv0991/Kconfig"
Enric Balletbò i Serra9d89b082015-09-07 07:43:20 +02002300source "board/tcl/sl50/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002301source "board/toradex/colibri_pxa270/Kconfig"
Mathew McBridee605fb12022-01-31 18:34:43 +05302302source "board/traverse/ten64/Kconfig"
Parthiban Nallathambi5e9147d2019-04-18 00:04:09 +02002303source "board/variscite/dart_6ul/Kconfig"
Yegor Yefremovfa8b71b2015-05-29 19:27:29 +02002304source "board/vscom/baltos/Kconfig"
liu hao1c4a2c42019-10-31 07:51:08 +00002305source "board/phytium/durian/Kconfig"
weichangzheng74b45192022-03-02 15:09:05 +08002306source "board/phytium/pomelo/Kconfig"
Andrii Anisov355d1e42020-08-06 12:42:47 +03002307source "board/xen/xenguest_arm64/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002308
Masahiro Yamadadf00e522014-09-01 11:06:34 +09002309source "arch/arm/Kconfig.debug"
2310
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002311endmenu
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +02002312
2313config SPL_LDSCRIPT
Michal Simekf751ff52018-07-23 15:55:12 +02002314 default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if (ARCH_MX23 || ARCH_MX28) && !SPL_FRAMEWORK
2315 default "arch/arm/cpu/arm1136/u-boot-spl.lds" if CPU_ARM1136
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +02002316 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64