blob: 6e191e41d5babf73c883ab691c1db5124099fded [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "ARM architecture"
2 depends on ARM
3
4config SYS_ARCH
Masahiro Yamadadd840582014-07-30 14:08:14 +09005 default "arm"
6
Masahiro Yamada016a9542014-09-14 03:01:51 +09007config ARM64
8 bool
Masahiro Yamadabb6b1422016-07-25 19:56:03 +09009 select PHYS_64BIT
Tom Rini067716b2016-08-22 08:22:17 -040010 select SYS_CACHE_SHIFT_6
Sean Anderson1dd56db2022-04-12 10:59:04 -040011 imply SPL_SEPARATE_BSS
Masahiro Yamada016a9542014-09-14 03:01:51 +090012
Marek Vasut270f8712021-08-30 15:05:23 +020013config ARM64_CRC32
14 bool "Enable support for CRC32 instruction"
15 depends on ARM64
16 default y
17 help
18 ARMv8 implements dedicated crc32 instruction for crc32 calculation.
19 This is faster than software crc32 calculation. This instruction may
20 not be present on all ARMv8.0, but is always present on ARMv8.1 and
21 newer.
22
Peng Fanbf8c4ce2022-04-13 17:47:18 +080023config COUNTER_FREQUENCY
24 int "Timer clock frequency"
25 depends on ARM64 || CPU_V7A
Peng Fan4e651752022-04-13 17:47:19 +080026 default 8000000 if IMX8 || MX7 || MX6UL || MX6ULL
27 default 24000000 if ARCH_SUNXI || ARCH_EXYNOS || ROCKCHIP_RK3128 || \
28 ROCKCHIP_RK3288 || ROCKCHIP_RK322X || ROCKCHIP_RK3036
29 default 25000000 if ARCH_LX2160A || ARCH_LX2162A || ARCH_LS1088A
30 default 100000000 if ARCH_ZYNQMP
Peng Fanbf8c4ce2022-04-13 17:47:18 +080031 default 0
32 help
33 For platforms with ARMv8-A and ARMv7-A which features a system
34 counter, those platforms needs software to program the counter
35 frequency. Setup time clock frequency for certain platform.
36 0 means no need to configure the system counter frequency.
37 For platforms needs the frequency set in U-Boot with a
38 pre-defined value, should have the macro defined as a non-zero value.
39
Stephen Warren49e93872017-11-02 18:11:27 -060040config POSITION_INDEPENDENT
41 bool "Generate position-independent pre-relocation code"
Chia-Wei Wangcd82f192021-08-03 10:50:10 +080042 depends on ARM64 || CPU_V7A
Stephen Warren49e93872017-11-02 18:11:27 -060043 help
44 U-Boot expects to be linked to a specific hard-coded address, and to
45 be loaded to and run from that address. This option lifts that
Edgar E. Iglesias11f4fbf2020-09-09 19:07:24 +020046 restriction, thus allowing the code to be loaded to and executed from
47 almost any 4K aligned address. This logic relies on the relocation
Robert P. J. Daye852b302019-12-25 06:34:07 -050048 information that is embedded in the binary to support U-Boot
Stephen Warren49e93872017-11-02 18:11:27 -060049 relocating itself to the top-of-RAM later during execution.
Stephen Warrene6c90442017-12-19 18:30:36 -070050
Masahiro Yamada382de4a2019-06-26 13:51:46 +090051config INIT_SP_RELATIVE
52 bool "Specify the early stack pointer relative to the .bss section"
Chia-Wei Wangaa29b212021-08-03 10:50:09 +080053 depends on ARM64
Andre Przywaraf5cb6c32020-09-30 17:39:18 +010054 default n if ARCH_QEMU
Andre Przywara12650e42020-09-30 17:39:15 +010055 default y if POSITION_INDEPENDENT
Stephen Warrene6c90442017-12-19 18:30:36 -070056 help
57 U-Boot typically uses a hard-coded value for the stack pointer
Masahiro Yamada382de4a2019-06-26 13:51:46 +090058 before relocation. Enable this option to instead calculate the
Stephen Warrene6c90442017-12-19 18:30:36 -070059 initial SP at run-time. This is useful to avoid hard-coding addresses
Robert P. J. Daye852b302019-12-25 06:34:07 -050060 into U-Boot, so that it can be loaded and executed at arbitrary
Masahiro Yamada382de4a2019-06-26 13:51:46 +090061 addresses and thus avoid using arbitrary addresses at runtime.
62
63 If this option is enabled, the early stack pointer is set to
64 &_bss_start with a offset value added. The offset is specified by
65 SYS_INIT_SP_BSS_OFFSET.
66
67config SYS_INIT_SP_BSS_OFFSET
68 int "Early stack offset from the .bss base address"
Chia-Wei Wangaa29b212021-08-03 10:50:09 +080069 depends on ARM64
Masahiro Yamada382de4a2019-06-26 13:51:46 +090070 depends on INIT_SP_RELATIVE
71 default 524288
72 help
73 This option's value is the offset added to &_bss_start in order to
Stephen Warrene6c90442017-12-19 18:30:36 -070074 calculate the stack pointer. This offset should be large enough so
75 that the early malloc region, global data (gd), and early stack usage
76 do not overlap any appended DTB.
Stephen Warren8163faf2018-01-03 14:31:51 -070077
Pali Rohár372779a2022-04-06 16:20:18 +020078config SPL_SYS_NO_VECTOR_TABLE
79 depends on SPL
80 bool
81
Stephen Warren8163faf2018-01-03 14:31:51 -070082config LINUX_KERNEL_IMAGE_HEADER
Chia-Wei Wangaa29b212021-08-03 10:50:09 +080083 depends on ARM64
Stephen Warren8163faf2018-01-03 14:31:51 -070084 bool
85 help
86 Place a Linux kernel image header at the start of the U-Boot binary.
87 The format of the header is described in the Linux kernel source at
88 Documentation/arm64/booting.txt. This feature is useful since the
89 image header reports the amount of memory (BSS and similar) that
90 U-Boot needs to use, but which isn't part of the binary.
91
Stephen Warren8163faf2018-01-03 14:31:51 -070092config LNX_KRNL_IMG_TEXT_OFFSET_BASE
Chia-Wei Wangaa29b212021-08-03 10:50:09 +080093 depends on LINUX_KERNEL_IMAGE_HEADER
Stephen Warren8163faf2018-01-03 14:31:51 -070094 hex
95 help
Simon Glass98463902022-10-20 18:22:39 -060096 The value subtracted from CONFIG_TEXT_BASE to calculate the
Robert P. J. Daye852b302019-12-25 06:34:07 -050097 TEXT_OFFSET value written to the Linux kernel image header.
Stephen Warren49e93872017-11-02 18:11:27 -060098
Tom Rini5afdcca2021-08-19 14:19:39 -040099config GICV2
100 bool
101
102config GICV3
103 bool
104
Bharat Kumar Reddy Gooty0bc43562019-12-16 09:09:43 -0800105config GIC_V3_ITS
106 bool "ARM GICV3 ITS"
Wasim Khan504f8642021-03-08 16:48:14 +0100107 select IRQ
Bharat Kumar Reddy Gooty0bc43562019-12-16 09:09:43 -0800108 help
109 ARM GICV3 Interrupt translation service (ITS).
110 Basic support for programming locality specific peripheral
111 interrupts (LPI) configuration tables and enable LPI tables.
112 LPI configuration table can be used by u-boot or Linux.
113 ARM GICV3 has limitation, once the LPI table is enabled, LPI
114 configuration table can not be re-programmed, unless GICV3 reset.
115
Stephen Warren49e93872017-11-02 18:11:27 -0600116config STATIC_RELA
117 bool
Andre Przywaraeabc0902020-09-30 17:39:13 +0100118 default y if ARM64
Stephen Warren49e93872017-11-02 18:11:27 -0600119
Lokesh Vutla37217f02016-03-24 16:02:00 +0530120config DMA_ADDR_T_64BIT
121 bool
122 default y if ARM64
123
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100124config HAS_VBAR
Tom Rinie009bfa2016-08-22 08:22:18 -0400125 bool
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100126
Albert ARIBAUD62e92072015-10-23 18:06:40 +0200127config HAS_THUMB2
Tom Rinie009bfa2016-08-22 08:22:18 -0400128 bool
Albert ARIBAUD62e92072015-10-23 18:06:40 +0200129
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900130config GPIO_EXTRA_HEADER
131 bool
132
Phil Edworthy111a6af2017-06-01 07:33:28 +0100133# Used for compatibility with asm files copied from the kernel
134config ARM_ASM_UNIFIED
135 bool
136 default y
137
138# Used for compatibility with asm files copied from the kernel
139config THUMB2_KERNEL
140 bool
141
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400142config SYS_ICACHE_OFF
143 bool "Do not enable icache"
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400144 help
145 Do not enable instruction cache in U-Boot.
146
Trevor Woerner10015022019-05-03 09:41:00 -0400147config SPL_SYS_ICACHE_OFF
148 bool "Do not enable icache in SPL"
149 depends on SPL
150 default SYS_ICACHE_OFF
151 help
152 Do not enable instruction cache in SPL.
153
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400154config SYS_DCACHE_OFF
155 bool "Do not enable dcache"
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400156 help
157 Do not enable data cache in U-Boot.
158
Trevor Woerner10015022019-05-03 09:41:00 -0400159config SPL_SYS_DCACHE_OFF
160 bool "Do not enable dcache in SPL"
161 depends on SPL
162 default SYS_DCACHE_OFF
163 help
164 Do not enable data cache in SPL.
165
Lokesh Vutlaf4bcd762018-04-26 18:21:28 +0530166config SYS_ARM_CACHE_CP15
167 bool "CP15 based cache enabling support"
168 help
169 Select this if your processor suports enabling caches by using
170 CP15 registers.
171
Lokesh Vutla7240b802018-04-26 18:21:27 +0530172config SYS_ARM_MMU
173 bool "MMU-based Paged Memory Management Support"
Lokesh Vutlaf4bcd762018-04-26 18:21:28 +0530174 select SYS_ARM_CACHE_CP15
Lokesh Vutla7240b802018-04-26 18:21:27 +0530175 help
176 Select if you want MMU-based virtualised addressing space
Robert P. J. Daye852b302019-12-25 06:34:07 -0500177 support via paged memory management.
Lokesh Vutla7240b802018-04-26 18:21:27 +0530178
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530179config SYS_ARM_MPU
180 bool 'Use the ARM v7 PMSA Compliant MPU'
181 help
182 Some ARM systems without an MMU have instead a Memory Protection
183 Unit (MPU) that defines the type and permissions for regions of
184 memory.
185 If your CPU has an MPU then you should choose 'y' here unless you
186 know that you do not want to use the MPU.
187
Tom Rini8dda2e22017-03-07 07:13:42 -0500188# If set, the workarounds for these ARM errata are applied early during U-Boot
189# startup. Note that in general these options force the workarounds to be
190# applied; no CPU-type/version detection exists, unlike the similar options in
191# the Linux kernel. Do not set these options unless they apply! Also note that
Robert P. J. Daye852b302019-12-25 06:34:07 -0500192# the following can be machine-specific errata. These do have ability to
193# provide rudimentary version and machine-specific checks, but expect no
Tom Rini8dda2e22017-03-07 07:13:42 -0500194# product checks:
195# CONFIG_ARM_ERRATA_430973
196# CONFIG_ARM_ERRATA_454179
197# CONFIG_ARM_ERRATA_621766
198# CONFIG_ARM_ERRATA_798870
199# CONFIG_ARM_ERRATA_801819
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500200# CONFIG_ARM_CORTEX_A8_CVE_2017_5715
Nishanth Menonc2ca3fd2018-06-12 15:24:09 -0500201# CONFIG_ARM_CORTEX_A15_CVE_2017_5715
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500202
Tom Rini8dda2e22017-03-07 07:13:42 -0500203config ARM_ERRATA_430973
204 bool
205
206config ARM_ERRATA_454179
207 bool
208
209config ARM_ERRATA_621766
210 bool
211
212config ARM_ERRATA_716044
213 bool
214
Siarhei Siamashka19a75b82017-03-06 03:16:53 +0200215config ARM_ERRATA_725233
216 bool
217
Tom Rini8dda2e22017-03-07 07:13:42 -0500218config ARM_ERRATA_742230
219 bool
220
221config ARM_ERRATA_743622
222 bool
223
224config ARM_ERRATA_751472
225 bool
226
227config ARM_ERRATA_761320
228 bool
229
230config ARM_ERRATA_773022
231 bool
232
233config ARM_ERRATA_774769
234 bool
235
236config ARM_ERRATA_794072
237 bool
238
239config ARM_ERRATA_798870
240 bool
241
242config ARM_ERRATA_801819
243 bool
244
245config ARM_ERRATA_826974
246 bool
247
248config ARM_ERRATA_828024
249 bool
250
251config ARM_ERRATA_829520
252 bool
253
254config ARM_ERRATA_833069
255 bool
256
257config ARM_ERRATA_833471
258 bool
259
Peng Fan11d94312017-08-08 13:34:52 +0800260config ARM_ERRATA_845369
Michal Simek6e7bdde2018-07-23 15:55:12 +0200261 bool
Peng Fan11d94312017-08-08 13:34:52 +0800262
Nisal Menuka87763502017-04-26 16:18:01 -0500263config ARM_ERRATA_852421
264 bool
265
266config ARM_ERRATA_852423
267 bool
268
Alison Wangab0ab542017-12-28 13:00:55 +0800269config ARM_ERRATA_855873
270 bool
271
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500272config ARM_CORTEX_A8_CVE_2017_5715
273 bool
274
Nishanth Menonc2ca3fd2018-06-12 15:24:09 -0500275config ARM_CORTEX_A15_CVE_2017_5715
276 bool
277
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100278config CPU_ARM720T
Tom Rinie009bfa2016-08-22 08:22:18 -0400279 bool
Tom Rini067716b2016-08-22 08:22:17 -0400280 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530281 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100282
283config CPU_ARM920T
Tom Rinie009bfa2016-08-22 08:22:18 -0400284 bool
Tom Rini067716b2016-08-22 08:22:17 -0400285 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530286 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100287
288config CPU_ARM926EJS
Tom Rinie009bfa2016-08-22 08:22:18 -0400289 bool
Tom Rini067716b2016-08-22 08:22:17 -0400290 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530291 imply SYS_ARM_MMU
Sean Anderson1dd56db2022-04-12 10:59:04 -0400292 imply SPL_SEPARATE_BSS
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100293
294config CPU_ARM946ES
Tom Rinie009bfa2016-08-22 08:22:18 -0400295 bool
Tom Rini067716b2016-08-22 08:22:17 -0400296 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530297 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100298
299config CPU_ARM1136
Tom Rinie009bfa2016-08-22 08:22:18 -0400300 bool
Tom Rini067716b2016-08-22 08:22:17 -0400301 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530302 imply SYS_ARM_MMU
Sean Anderson1dd56db2022-04-12 10:59:04 -0400303 imply SPL_SEPARATE_BSS
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100304
305config CPU_ARM1176
Tom Rinie009bfa2016-08-22 08:22:18 -0400306 bool
307 select HAS_VBAR
Tom Rini067716b2016-08-22 08:22:17 -0400308 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530309 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100310
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530311config CPU_V7A
Tom Rinie009bfa2016-08-22 08:22:18 -0400312 bool
Tom Rinie009bfa2016-08-22 08:22:18 -0400313 select HAS_THUMB2
Michal Simek5ed063d2018-07-23 15:55:13 +0200314 select HAS_VBAR
Tom Rini067716b2016-08-22 08:22:17 -0400315 select SYS_CACHE_SHIFT_6
Lokesh Vutla7240b802018-04-26 18:21:27 +0530316 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100317
rev13@wp.pl12d8a722015-03-01 12:44:39 +0100318config CPU_V7M
319 bool
Tom Rinie009bfa2016-08-22 08:22:18 -0400320 select HAS_THUMB2
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530321 select SYS_ARM_MPU
Michal Simek5ed063d2018-07-23 15:55:13 +0200322 select SYS_CACHE_SHIFT_5
Tom Riniea37f0b2018-05-07 20:46:52 -0400323 select SYS_THUMB_BUILD
Michal Simek5ed063d2018-07-23 15:55:13 +0200324 select THUMB2_KERNEL
rev13@wp.pl12d8a722015-03-01 12:44:39 +0100325
Michal Simek4bbd6b12018-04-26 18:21:29 +0530326config CPU_V7R
327 bool
328 select HAS_THUMB2
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530329 select SYS_ARM_CACHE_CP15
Michal Simek5ed063d2018-07-23 15:55:13 +0200330 select SYS_ARM_MPU
331 select SYS_CACHE_SHIFT_6
Michal Simek4bbd6b12018-04-26 18:21:29 +0530332
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100333config SYS_CPU
Tom Rinie009bfa2016-08-22 08:22:18 -0400334 default "arm720t" if CPU_ARM720T
335 default "arm920t" if CPU_ARM920T
336 default "arm926ejs" if CPU_ARM926EJS
337 default "arm946es" if CPU_ARM946ES
338 default "arm1136" if CPU_ARM1136
339 default "arm1176" if CPU_ARM1176
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530340 default "armv7" if CPU_V7A
Michal Simek4bbd6b12018-04-26 18:21:29 +0530341 default "armv7" if CPU_V7R
Tom Rinie009bfa2016-08-22 08:22:18 -0400342 default "armv7m" if CPU_V7M
Masahiro Yamada01541ee2014-11-06 11:39:27 +0900343 default "armv8" if ARM64
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100344
Marek Vasut66020a62016-05-26 18:01:36 +0200345config SYS_ARM_ARCH
346 int
347 default 4 if CPU_ARM720T
348 default 4 if CPU_ARM920T
349 default 5 if CPU_ARM926EJS
350 default 5 if CPU_ARM946ES
351 default 6 if CPU_ARM1136
352 default 6 if CPU_ARM1176
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530353 default 7 if CPU_V7A
Marek Vasut66020a62016-05-26 18:01:36 +0200354 default 7 if CPU_V7M
Michal Simek4bbd6b12018-04-26 18:21:29 +0530355 default 7 if CPU_V7R
Marek Vasut66020a62016-05-26 18:01:36 +0200356 default 8 if ARM64
357
Patrick Delaunayf8dc7f22020-04-10 16:02:02 +0200358choice
359 prompt "Select the ARM data write cache policy"
Tom Rinia457ebd2022-06-25 11:02:42 -0400360 default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS || RZA1
Patrick Delaunayf8dc7f22020-04-10 16:02:02 +0200361 default SYS_ARM_CACHE_WRITEBACK
362
363config SYS_ARM_CACHE_WRITEBACK
364 bool "Write-back (WB)"
365 help
366 A write updates the cache only and marks the cache line as dirty.
367 External memory is updated only when the line is evicted or explicitly
368 cleaned.
369
370config SYS_ARM_CACHE_WRITETHROUGH
371 bool "Write-through (WT)"
372 help
373 A write updates both the cache and the external memory system.
374 This does not mark the cache line as dirty.
375
376config SYS_ARM_CACHE_WRITEALLOC
377 bool "Write allocation (WA)"
378 help
379 A cache line is allocated on a write miss. This means that executing a
380 store instruction on the processor might cause a burst read to occur.
381 There is a linefill to obtain the data for the cache line, before the
382 write is performed.
383endchoice
384
Pali Rohár948da772022-05-06 11:05:13 +0200385config ARCH_VERY_EARLY_INIT
386 bool
387
388config SPL_ARCH_VERY_EARLY_INIT
389 bool
390
Adam Ford1bf33012019-08-14 08:29:25 -0500391config ARCH_CPU_INIT
392 bool "Enable ARCH_CPU_INIT"
393 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500394 Some architectures require a call to arch_cpu_init().
Adam Ford1bf33012019-08-14 08:29:25 -0500395 Say Y here to enable it
396
Andre Przywara7842b6a2018-04-12 04:24:46 +0300397config SYS_ARCH_TIMER
398 bool "ARM Generic Timer support"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530399 depends on CPU_V7A || ARM64
Andre Przywara7842b6a2018-04-12 04:24:46 +0300400 default y if ARM64
401 help
402 The ARM Generic Timer (aka arch-timer) provides an architected
403 interface to a timer source on an SoC.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500404 It is mandatory for ARMv8 implementation and widely available
Andre Przywara7842b6a2018-04-12 04:24:46 +0300405 on ARMv7 systems.
406
Masahiro Yamadac54bcf62017-04-14 11:10:23 +0900407config ARM_SMCCC
408 bool "Support for ARM SMC Calling Convention (SMCCC)"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530409 depends on CPU_V7A || ARM64
Masahiro Yamada573a3812017-04-14 11:10:24 +0900410 select ARM_PSCI_FW
Masahiro Yamadac54bcf62017-04-14 11:10:23 +0900411 help
412 Say Y here if you want to enable ARM SMC Calling Convention.
413 This should be enabled if U-Boot needs to communicate with system
414 firmware (for example, PSCI) according to SMCCC.
415
Tom Rini3a649402017-03-18 09:01:44 -0400416config SYS_THUMB_BUILD
417 bool "Build U-Boot using the Thumb instruction set"
418 depends on !ARM64
419 help
420 Use this flag to build U-Boot using the Thumb instruction set for
421 ARM architectures. Thumb instruction set provides better code
422 density. For ARM architectures that support Thumb2 this flag will
423 result in Thumb2 code generated by GCC.
424
425config SPL_SYS_THUMB_BUILD
426 bool "Build SPL using the Thumb instruction set"
427 default y if SYS_THUMB_BUILD
Adam Ford05705562019-08-13 14:32:30 -0500428 depends on !ARM64 && SPL
Tom Rini3a649402017-03-18 09:01:44 -0400429 help
430 Use this flag to build SPL using the Thumb instruction set for
431 ARM architectures. Thumb instruction set provides better code
432 density. For ARM architectures that support Thumb2 this flag will
433 result in Thumb2 code generated by GCC.
434
Kever Yang1e32c512019-04-02 20:41:20 +0800435config TPL_SYS_THUMB_BUILD
436 bool "Build TPL using the Thumb instruction set"
437 default y if SYS_THUMB_BUILD
438 depends on TPL && !ARM64
439 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500440 Use this flag to build TPL using the Thumb instruction set for
Kever Yang1e32c512019-04-02 20:41:20 +0800441 ARM architectures. Thumb instruction set provides better code
442 density. For ARM architectures that support Thumb2 this flag will
443 result in Thumb2 code generated by GCC.
444
Philip Oberfichtner11168882022-08-17 15:07:12 +0200445config SYS_L2_PL310
446 bool "ARM PL310 L2 cache controller"
447 help
448 Enable support for ARM PL310 L2 cache controller in U-Boot
Kever Yang1e32c512019-04-02 20:41:20 +0800449
Philip Oberfichtnerb6664ea2022-08-17 15:07:13 +0200450config SPL_SYS_L2_PL310
451 bool "ARM PL310 L2 cache controller in SPL"
452 help
453 Enable support for ARM PL310 L2 cache controller in SPL
454
Peng Fanf3e9bec2015-08-19 15:48:57 +0800455config SYS_L2CACHE_OFF
456 bool "L2cache off"
457 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500458 If SoC does not support L2CACHE or one does not want to enable
Peng Fanf3e9bec2015-08-19 15:48:57 +0800459 L2CACHE, choose this option.
460
Andre Przywaracdaa6332016-05-31 10:45:06 -0700461config ENABLE_ARM_SOC_BOOT0_HOOK
462 bool "prepare BOOT0 header"
463 help
464 If the SoC's BOOT0 requires a header area filled with (magic)
Simon Goldschmidt7d531e82018-02-13 13:18:00 +0100465 values, then choose this option, and create a file included as
466 <asm/arch/boot0.h> which contains the required assembler code.
Andre Przywaracdaa6332016-05-31 10:45:06 -0700467
Fabio Estevambe725912016-12-15 19:30:40 -0200468config USE_ARCH_MEMCPY
469 bool "Use an assembly optimized implementation of memcpy"
Stefan Roese4e062fc2021-09-02 17:00:19 +0200470 default y if !ARM64
471 depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
Tom Rini40d55342017-01-12 13:16:02 -0500472 help
473 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500474 Such an implementation may be faster under some conditions
Tom Rini40d55342017-01-12 13:16:02 -0500475 but may increase the binary size.
476
477config SPL_USE_ARCH_MEMCPY
Andy Yanf8136e62017-06-28 16:27:37 +0800478 bool "Use an assembly optimized implementation of memcpy for SPL"
Tom Rini40d55342017-01-12 13:16:02 -0500479 default y if USE_ARCH_MEMCPY
Stefan Roese4e062fc2021-09-02 17:00:19 +0200480 depends on SPL
Fabio Estevambe725912016-12-15 19:30:40 -0200481 help
482 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500483 Such an implementation may be faster under some conditions
Fabio Estevambe725912016-12-15 19:30:40 -0200484 but may increase the binary size.
485
Kever Yang1e32c512019-04-02 20:41:20 +0800486config TPL_USE_ARCH_MEMCPY
487 bool "Use an assembly optimized implementation of memcpy for TPL"
488 default y if USE_ARCH_MEMCPY
Stefan Roese4e062fc2021-09-02 17:00:19 +0200489 depends on TPL
Kever Yang1e32c512019-04-02 20:41:20 +0800490 help
491 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500492 Such an implementation may be faster under some conditions
Kever Yang1e32c512019-04-02 20:41:20 +0800493 but may increase the binary size.
494
Stefan Roese4e062fc2021-09-02 17:00:19 +0200495config USE_ARCH_MEMMOVE
496 bool "Use an assembly optimized implementation of memmove" if !ARM64
497 default USE_ARCH_MEMCPY if ARM64
498 depends on ARM64
499 help
500 Enable the generation of an optimized version of memmove.
501 Such an implementation may be faster under some conditions
502 but may increase the binary size.
503
504config SPL_USE_ARCH_MEMMOVE
505 bool "Use an assembly optimized implementation of memmove for SPL" if !ARM64
506 default SPL_USE_ARCH_MEMCPY if ARM64
507 depends on SPL && ARM64
508 help
509 Enable the generation of an optimized version of memmove.
510 Such an implementation may be faster under some conditions
511 but may increase the binary size.
512
513config TPL_USE_ARCH_MEMMOVE
514 bool "Use an assembly optimized implementation of memmove for TPL" if !ARM64
515 default TPL_USE_ARCH_MEMCPY if ARM64
516 depends on TPL && ARM64
517 help
518 Enable the generation of an optimized version of memmove.
519 Such an implementation may be faster under some conditions
520 but may increase the binary size.
521
Fabio Estevambe725912016-12-15 19:30:40 -0200522config USE_ARCH_MEMSET
523 bool "Use an assembly optimized implementation of memset"
Stefan Roese4e062fc2021-09-02 17:00:19 +0200524 default y if !ARM64
525 depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
Tom Rini40d55342017-01-12 13:16:02 -0500526 help
527 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500528 Such an implementation may be faster under some conditions
Tom Rini40d55342017-01-12 13:16:02 -0500529 but may increase the binary size.
530
531config SPL_USE_ARCH_MEMSET
Andy Yanf8136e62017-06-28 16:27:37 +0800532 bool "Use an assembly optimized implementation of memset for SPL"
Tom Rini40d55342017-01-12 13:16:02 -0500533 default y if USE_ARCH_MEMSET
Stefan Roese4e062fc2021-09-02 17:00:19 +0200534 depends on SPL
Fabio Estevambe725912016-12-15 19:30:40 -0200535 help
536 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500537 Such an implementation may be faster under some conditions
Fabio Estevambe725912016-12-15 19:30:40 -0200538 but may increase the binary size.
539
Kever Yang1e32c512019-04-02 20:41:20 +0800540config TPL_USE_ARCH_MEMSET
541 bool "Use an assembly optimized implementation of memset for TPL"
542 default y if USE_ARCH_MEMSET
Stefan Roese4e062fc2021-09-02 17:00:19 +0200543 depends on TPL
Kever Yang1e32c512019-04-02 20:41:20 +0800544 help
545 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500546 Such an implementation may be faster under some conditions
Kever Yang1e32c512019-04-02 20:41:20 +0800547 but may increase the binary size.
548
Alison Wangec6617c2016-11-10 10:49:03 +0800549config ARM64_SUPPORT_AARCH32
550 bool "ARM64 system support AArch32 execution state"
Adam Ford05705562019-08-13 14:32:30 -0500551 depends on ARM64
552 default y if !TARGET_THUNDERX_88XX
Alison Wangec6617c2016-11-10 10:49:03 +0800553 help
554 This ARM64 system supports AArch32 execution state.
555
Tom Rini24ec3de2022-06-10 22:59:33 -0400556config S5P
557 def_bool y if ARCH_EXYNOS || ARCH_S5PC1XX
558
Masahiro Yamadadd840582014-07-30 14:08:14 +0900559choice
560 prompt "Target select"
Simon Glassb928e652015-08-30 19:19:30 -0600561 default TARGET_HIKEY
Masahiro Yamadadd840582014-07-30 14:08:14 +0900562
Masahiro Yamada4614b892015-02-20 17:04:01 +0900563config ARCH_AT91
564 bool "Atmel AT91"
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900565 select GPIO_EXTRA_HEADER
Tom Rinif58e9462018-05-10 07:15:52 -0400566 select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
Gregory CLEMENTc7c120c2020-06-05 10:43:36 +0200567 select SPL_SEPARATE_BSS if SPL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900568
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900569config ARCH_DAVINCI
570 bool "TI DaVinci"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100571 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900572 select GPIO_EXTRA_HEADER
Lukasz Majewski56c40462020-06-04 23:11:53 +0800573 select SPL_DM_SPI if SPL
Simon Glass15dc63d2017-08-04 16:34:43 -0600574 imply CMD_SAVES
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900575 help
576 Support for TI's DaVinci platform.
Masahiro Yamadadd840582014-07-30 14:08:14 +0900577
Trevor Woernerbb0fb4c2020-05-06 08:02:40 -0400578config ARCH_KIRKWOOD
Masahiro Yamada47539e22014-08-31 07:10:59 +0900579 bool "Marvell Kirkwood"
Simon Glass45856012017-01-23 13:31:21 -0700580 select ARCH_MISC_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200581 select BOARD_EARLY_INIT_F
582 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900583 select GPIO_EXTRA_HEADER
Stefan Roese7b530bb2022-09-15 16:20:39 +0200584 select TIMER
Masahiro Yamadadd840582014-07-30 14:08:14 +0900585
Stefan Roesec3d89142015-08-25 13:18:38 +0200586config ARCH_MVEBU
Stefan Roese21b29fc2016-05-25 08:13:45 +0200587 bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
Stefan Roese9cffb232015-09-01 11:27:52 +0200588 select DM
Stefan Roese1d51ea12015-09-02 08:41:41 +0200589 select DM_SERIAL
Stefan Roese09a54c02015-11-20 13:51:57 +0100590 select DM_SPI
591 select DM_SPI_FLASH
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900592 select GPIO_EXTRA_HEADER
Lukasz Majewski56c40462020-06-04 23:11:53 +0800593 select SPL_DM_SPI if SPL
594 select SPL_DM_SPI_FLASH if SPL
Stefan Roese7b530bb2022-09-15 16:20:39 +0200595 select SPL_TIMER if SPL
Chris Packham3988e6d2022-11-05 17:23:55 +1300596 select TIMER if !ARM64
Michal Simek5ed063d2018-07-23 15:55:13 +0200597 select OF_CONTROL
598 select OF_SEPARATE
Adam Fordf1b1f772018-04-15 13:51:26 -0400599 select SPI
Michal Simek08a00cb2018-07-23 15:55:14 +0200600 imply CMD_DM
Stefan Roesea4884832014-10-22 12:13:19 +0200601
Trevor Woernerb16a3312020-05-06 08:02:38 -0400602config ARCH_ORION5X
Masahiro Yamada22f2be72014-08-31 07:11:06 +0900603 bool "Marvell Orion"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100604 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900605 select GPIO_EXTRA_HEADER
Sean Anderson1dd56db2022-04-12 10:59:04 -0400606 select SPL_SEPARATE_BSS if SPL
Stefan Roese7b530bb2022-09-15 16:20:39 +0200607 select TIMER
Masahiro Yamadadd840582014-07-30 14:08:14 +0900608
Vikas Manocha9fa32b12014-11-18 10:42:22 -0800609config TARGET_STV0991
610 bool "Support stv0991"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530611 select CPU_V7A
Masahiro Yamadacac0ca72015-03-31 12:48:01 +0900612 select DM
613 select DM_SERIAL
Vikas Manochae67abca2015-07-02 18:29:41 -0700614 select DM_SPI
615 select DM_SPI_FLASH
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900616 select GPIO_EXTRA_HEADER
Michal Simek5ed063d2018-07-23 15:55:13 +0200617 select PL01X_SERIAL
Adam Fordf1b1f772018-04-15 13:51:26 -0400618 select SPI
Vikas Manochae67abca2015-07-02 18:29:41 -0700619 select SPI_FLASH
Michal Simek08a00cb2018-07-23 15:55:14 +0200620 imply CMD_DM
Vikas Manocha9fa32b12014-11-18 10:42:22 -0800621
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +0900622config ARCH_BCM283X
623 bool "Broadcom BCM283X family"
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900624 select DM
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900625 select DM_GPIO
Michal Simek5ed063d2018-07-23 15:55:13 +0200626 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900627 select GPIO_EXTRA_HEADER
Fabian Vogt76709092016-09-26 14:26:51 +0200628 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +0100629 select PL01X_SERIAL
Alexander Grafae5326a2018-01-29 13:57:20 +0100630 select SERIAL_SEARCH_ALL
Michal Simek08a00cb2018-07-23 15:55:14 +0200631 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -0400632 imply FAT_WRITE
Stephen Warren46414292015-02-16 12:16:15 -0700633
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -0400634config ARCH_BCMSTB
635 bool "Broadcom BCM7XXX family"
636 select CPU_V7A
637 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900638 select GPIO_EXTRA_HEADER
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -0400639 select OF_CONTROL
Michal Simek08a00cb2018-07-23 15:55:14 +0200640 imply CMD_DM
Simon Glass239d22c2021-12-16 20:59:36 -0700641 imply OF_HAS_PRIOR_STAGE
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -0400642 help
643 This enables support for Broadcom ARM-based set-top box
644 chipsets, including the 7445 family of chips.
645
William Zhangf8209d32022-05-09 09:28:02 -0700646config ARCH_BCMBCA
647 bool "Broadcom broadband chip family"
648 select DM
649 select OF_CONTROL
William Zhang07f97bd2022-08-22 11:19:45 -0700650 imply CMD_DM
William Zhangf8209d32022-05-09 09:28:02 -0700651
Kristian Amlie15e30102021-09-07 08:37:51 +0200652config TARGET_VEXPRESS_CA9X4
653 bool "Support vexpress_ca9x4"
654 select CPU_V7A
655 select PL011_SERIAL
656
Steve Raeabb16782014-11-11 11:32:18 -0800657config TARGET_BCMCYGNUS
658 bool "Support bcmcygnus"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530659 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900660 select GPIO_EXTRA_HEADER
Michal Simek5ed063d2018-07-23 15:55:13 +0200661 imply BCM_SF2_ETH
662 imply BCM_SF2_ETH_GMAC
Simon Glass551c3932017-05-17 03:25:25 -0600663 imply CMD_HASH
Michal Simek5ed063d2018-07-23 15:55:13 +0200664 imply CRC32_VERIFY
Tom Rini91d27a12017-06-02 11:03:50 -0400665 imply FAT_WRITE
Daniel Thompson221a9492017-05-19 17:26:58 +0100666 imply HASH_VERIFY
Suji Velupillaic89782d2017-07-10 14:05:41 -0700667 imply NETDEVICES
Steve Rae9dec5272014-08-11 13:58:26 -0700668
Jon Mason274bced2017-03-17 12:12:14 -0400669config TARGET_BCMNS2
670 bool "Support Broadcom Northstar2"
671 select ARM64
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900672 select GPIO_EXTRA_HEADER
Jon Mason274bced2017-03-17 12:12:14 -0400673 help
674 Support for Broadcom Northstar 2 SoCs. NS2 is a quad-core 64-bit
675 ARMv8 Cortex-A57 processors targeting a broad range of networking
Robert P. J. Daye852b302019-12-25 06:34:07 -0500676 applications.
Jon Mason274bced2017-03-17 12:12:14 -0400677
Rayagonda Kokatanur291635a2020-07-15 22:48:55 +0530678config TARGET_BCMNS3
679 bool "Support Broadcom NS3"
680 select ARM64
681 select BOARD_LATE_INIT
682 help
683 Support for Broadcom Northstar 3 SoCs. NS3 is a octo-core 64-bit
684 ARMv8 Cortex-A72 processors targeting a broad range of networking
685 applications.
686
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900687config ARCH_EXYNOS
688 bool "Samsung EXYNOS"
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900689 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +0200690 select DM_GPIO
Simon Glassfc47cf92016-11-23 06:34:40 -0700691 select DM_I2C
Michal Simek5ed063d2018-07-23 15:55:13 +0200692 select DM_KEYBOARD
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900693 select DM_SERIAL
694 select DM_SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200695 select DM_SPI_FLASH
Adam Fordf1b1f772018-04-15 13:51:26 -0400696 select SPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900697 select GPIO_EXTRA_HEADER
Guillaume GARDETc96d9032018-11-20 14:15:13 +0100698 imply SYS_THUMB_BUILD
Michal Simek08a00cb2018-07-23 15:55:14 +0200699 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -0400700 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900701
Simon Glass311757b2014-10-07 22:01:50 -0600702config ARCH_S5PC1XX
703 bool "Samsung S5PC1XX"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530704 select CPU_V7A
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900705 select DM
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900706 select DM_GPIO
Simon Glass08848e92016-11-23 06:34:41 -0700707 select DM_I2C
Michal Simek5ed063d2018-07-23 15:55:13 +0200708 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900709 select GPIO_EXTRA_HEADER
Michal Simek08a00cb2018-07-23 15:55:14 +0200710 imply CMD_DM
Simon Glass311757b2014-10-07 22:01:50 -0600711
Masahiro Yamadaef2b6942014-08-31 07:11:07 +0900712config ARCH_HIGHBANK
713 bool "Calxeda Highbank"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530714 select CPU_V7A
Andre Przywara109552d2021-04-12 01:04:51 +0100715 select PL01X_SERIAL
716 select DM
717 select DM_SERIAL
718 select OF_CONTROL
Andre Przywara109552d2021-04-12 01:04:51 +0100719 select CLK
720 select CLK_CCF
721 select AHCI
Andre Przywara1238d012021-04-12 01:04:54 +0100722 select PHYS_64BIT
Andre Przywara44b7abf2022-10-20 23:10:25 +0100723 select TIMER
724 select SP804_TIMER
Simon Glass239d22c2021-12-16 20:59:36 -0700725 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900726
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +0900727config ARCH_INTEGRATOR
728 bool "ARM Ltd. Integrator family"
Linus Walleij3f394e72015-07-27 11:22:48 +0200729 select DM
730 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900731 select GPIO_EXTRA_HEADER
Alexander Grafcf2c7782018-01-25 12:05:52 +0100732 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +0200733 imply CMD_DM
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +0900734
Robert Markoe479a7d2020-07-06 10:37:54 +0200735config ARCH_IPQ40XX
736 bool "Qualcomm IPQ40xx SoCs"
737 select CPU_V7A
738 select DM
739 select DM_GPIO
740 select DM_SERIAL
Robert Marko496a3aa2020-09-10 16:00:03 +0200741 select DM_RESET
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900742 select GPIO_EXTRA_HEADER
Robert Marko6ef099b2020-09-10 16:00:01 +0200743 select MSM_SMEM
Robert Markoe479a7d2020-07-06 10:37:54 +0200744 select PINCTRL
745 select CLK
Robert Marko6ef099b2020-09-10 16:00:01 +0200746 select SMEM
Robert Markoe479a7d2020-07-06 10:37:54 +0200747 select OF_CONTROL
748 imply CMD_DM
749
Masahiro Yamadac338f092014-08-31 07:11:05 +0900750config ARCH_KEYSTONE
751 bool "TI Keystone"
Michal Simek5ed063d2018-07-23 15:55:13 +0200752 select CMD_POWEROFF
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530753 select CPU_V7A
Tom Rini222d22a2021-08-21 13:50:16 -0400754 select DDR_SPD
Masahiro Yamada02627352014-10-20 17:45:56 +0900755 select SUPPORT_SPL
Andre Przywara7842b6a2018-04-12 04:24:46 +0300756 select SYS_ARCH_TIMER
Michal Simek5ed063d2018-07-23 15:55:13 +0200757 select SYS_THUMB_BUILD
Tom Rinid56b4b12017-07-22 18:36:16 -0400758 imply CMD_MTDPARTS
Simon Glass15dc63d2017-08-04 16:34:43 -0600759 imply CMD_SAVES
Michal Simek5ed063d2018-07-23 15:55:13 +0200760 imply FIT
Masahiro Yamadadd840582014-07-30 14:08:14 +0900761
Lokesh Vutla586bde92018-08-27 15:57:08 +0530762config ARCH_K3
763 bool "Texas Instruments' K3 Architecture"
764 select SPL
765 select SUPPORT_SPL
766 select FIT
767
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900768config ARCH_OMAP2PLUS
769 bool "TI OMAP2+"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530770 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900771 select GPIO_EXTRA_HEADER
Ley Foon Tan0680f1b2017-05-03 17:13:32 +0800772 select SPL_BOARD_INIT if SPL
Tom Riniff6c3122017-09-17 11:44:49 -0400773 select SPL_STACK_R if SPL
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900774 select SUPPORT_SPL
Dario Binacchi92cc4e12020-12-30 00:06:29 +0100775 imply TI_SYSC if DM && OF_CONTROL
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900776 imply FIT
Simon Glass7fe32b32022-03-04 08:43:05 -0700777 imply DM_EVENT
Sean Anderson1dd56db2022-04-12 10:59:04 -0400778 imply SPL_SEPARATE_BSS
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900779
Beniamino Galvanibfcef282016-05-08 08:30:16 +0200780config ARCH_MESON
781 bool "Amlogic Meson"
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900782 select GPIO_EXTRA_HEADER
Masahiro Yamada7325f6c2018-04-25 18:47:52 +0900783 imply DISTRO_DEFAULTS
Heinrich Schuchardt6da749d2020-04-05 12:20:23 +0200784 imply DM_RNG
Beniamino Galvanibfcef282016-05-08 08:30:16 +0200785 help
786 Support for the Meson SoC family developed by Amlogic Inc.,
787 targeted at media players and tablet computers. We currently
788 support the S905 (GXBaby) 64-bit SoC.
789
Ryder Leecbd2fba2018-11-15 10:07:52 +0800790config ARCH_MEDIATEK
791 bool "MediaTek SoCs"
Ryder Leecbd2fba2018-11-15 10:07:52 +0800792 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900793 select GPIO_EXTRA_HEADER
Ryder Leecbd2fba2018-11-15 10:07:52 +0800794 select OF_CONTROL
795 select SPL_DM if SPL
796 select SPL_LIBCOMMON_SUPPORT if SPL
797 select SPL_LIBGENERIC_SUPPORT if SPL
798 select SPL_OF_CONTROL if SPL
799 select SUPPORT_SPL
800 help
801 Support for the MediaTek SoCs family developed by MediaTek Inc.
802 Please refer to doc/README.mediatek for more information.
803
Vladimir Zapolskiyee54dfe2018-09-17 21:43:03 +0300804config ARCH_LPC32XX
805 bool "NXP LPC32xx platform"
806 select CPU_ARM926EJS
807 select DM
808 select DM_GPIO
809 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900810 select GPIO_EXTRA_HEADER
Vladimir Zapolskiyee54dfe2018-09-17 21:43:03 +0300811 select SPL_DM if SPL
812 select SUPPORT_SPL
813 imply CMD_DM
814
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200815config ARCH_IMX8
816 bool "NXP i.MX8 platform"
817 select ARM64
Gaurav Jaincb5d0412022-03-24 11:50:33 +0530818 select SYS_FSL_HAS_SEC
819 select SYS_FSL_SEC_COMPAT_4
820 select SYS_FSL_SEC_LE
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200821 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900822 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400823 select MACH_IMX
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200824 select OF_CONTROL
Ye Li9a273852019-07-12 09:33:52 +0000825 select ENABLE_ARM_SOC_BOOT0_HOOK
Simon Glass7fe32b32022-03-04 08:43:05 -0700826 imply DM_EVENT
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200827
Peng Fancd357ad2018-11-20 10:19:25 +0000828config ARCH_IMX8M
Peng Fan7a7391f2018-01-10 13:20:19 +0800829 bool "NXP i.MX8M platform"
830 select ARM64
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900831 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400832 select MACH_IMX
Gaurav Jain2cddfcb2022-03-24 11:50:27 +0530833 select SYS_FSL_HAS_SEC
Aymen Sghaier940d36d2021-03-25 17:30:25 +0800834 select SYS_FSL_SEC_COMPAT_4
835 select SYS_FSL_SEC_LE
Tom Rini15e7b762021-08-18 23:12:33 -0400836 select SYS_I2C_MXC
Peng Fan7a7391f2018-01-10 13:20:19 +0800837 select DM
838 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200839 imply CMD_DM
Simon Glass7fe32b32022-03-04 08:43:05 -0700840 imply DM_EVENT
Peng Fan7a7391f2018-01-10 13:20:19 +0800841
Peng Fan19b990b2021-08-07 16:00:30 +0800842config ARCH_IMX8ULP
843 bool "NXP i.MX8ULP platform"
844 select ARM64
845 select DM
Tom Rini0c2729e2021-08-24 20:40:59 -0400846 select MACH_IMX
Peng Fan19b990b2021-08-07 16:00:30 +0800847 select OF_CONTROL
848 select SUPPORT_SPL
849 select GPIO_EXTRA_HEADER
Ye Li03fcf962022-07-26 16:40:49 +0800850 select MISC
851 select IMX_SENTINEL
Peng Fan19b990b2021-08-07 16:00:30 +0800852 imply CMD_DM
Simon Glass7fe32b32022-03-04 08:43:05 -0700853 imply DM_EVENT
Peng Fan19b990b2021-08-07 16:00:30 +0800854
Peng Fan881df6e2022-07-26 16:40:39 +0800855config ARCH_IMX9
856 bool "NXP i.MX9 platform"
857 select ARM64
858 select DM
859 select MACH_IMX
860 select SUPPORT_SPL
Ye Li12f23222022-07-26 16:41:01 +0800861 select GPIO_EXTRA_HEADER
Ye Li03fcf962022-07-26 16:40:49 +0800862 select MISC
863 select IMX_SENTINEL
Giulio Benetti77eb9a92020-01-10 15:51:47 +0100864 imply CMD_DM
865 imply DM_EVENT
866
867config ARCH_IMXRT
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900868 bool "NXP i.MXRT platform"
Tom Rini0c2729e2021-08-24 20:40:59 -0400869 select CPU_V7M
Giulio Benetti77eb9a92020-01-10 15:51:47 +0100870 select DM
871 select DM_SERIAL
872 select GPIO_EXTRA_HEADER
Stefan Agnerc5343d42018-02-06 09:44:34 +0100873 select MACH_IMX
874 select SUPPORT_SPL
875 imply CMD_DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900876
Tom Rini0c2729e2021-08-24 20:40:59 -0400877config ARCH_MX23
Stefan Agnerc5343d42018-02-06 09:44:34 +0100878 bool "NXP i.MX23 family"
879 select CPU_ARM926EJS
880 select GPIO_EXTRA_HEADER
Stefan Agner25c5b4e2018-02-06 09:44:35 +0100881 select MACH_IMX
882 select PL011_SERIAL
883 select SUPPORT_SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900884
Stefan Agner25c5b4e2018-02-06 09:44:35 +0100885config ARCH_MX28
Tom Rini0c2729e2021-08-24 20:40:59 -0400886 bool "NXP i.MX28 family"
Stefan Agner25c5b4e2018-02-06 09:44:35 +0100887 select CPU_ARM926EJS
888 select GPIO_EXTRA_HEADER
Magnus Lilja3159ec62018-05-11 14:06:54 +0200889 select PL011_SERIAL
890 select MACH_IMX
891 select SUPPORT_SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900892
Tom Rini0c2729e2021-08-24 20:40:59 -0400893config ARCH_MX31
Magnus Lilja3159ec62018-05-11 14:06:54 +0200894 bool "NXP i.MX31 family"
Peng Fane90a08d2017-02-22 16:21:39 +0800895 select CPU_ARM1136
Michal Simek6e7bdde2018-07-23 15:55:12 +0200896 select GPIO_EXTRA_HEADER
Tom Rini6d21dd32022-02-25 11:19:47 -0500897 select MACH_IMX
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530898
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900899config ARCH_MX7ULP
Tom Rini0c2729e2021-08-24 20:40:59 -0400900 bool "NXP MX7ULP"
Franck LENORMANDb5438002021-03-25 17:30:23 +0800901 select BOARD_POSTCLK_INIT
902 select CPU_V7A
903 select GPIO_EXTRA_HEADER
Peng Fane90a08d2017-02-22 16:21:39 +0800904 select MACH_IMX
Gaurav Jain75d3a9f2022-03-24 11:50:31 +0530905 select SYS_FSL_HAS_SEC
Adam Ford8bbff6a2018-02-04 09:32:43 -0600906 select SYS_FSL_SEC_COMPAT_4
Tom Rini44ad4962019-12-03 09:28:03 -0500907 select SYS_FSL_SEC_LE
Peng Fane90a08d2017-02-22 16:21:39 +0800908 select ROM_UNIFIED_SECTIONS
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500909 imply MXC_GPIO
910 imply SYS_THUMB_BUILD
Michal Simek5ed063d2018-07-23 15:55:13 +0200911
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530912config ARCH_MX7
Stefano Babicd714a752019-09-20 08:47:53 +0200913 bool "Freescale MX7"
York Sun2c2e2c92016-12-28 08:43:30 -0800914 select ARCH_MISC_INIT
York Sun90b80382016-12-28 08:43:31 -0800915 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900916 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400917 select MACH_IMX
Tom Rini9b0240f2022-12-02 16:42:18 -0500918 select MXC_GPT_HCLK
Gaurav Jain4f1375d2022-03-24 11:50:30 +0530919 select SYS_FSL_HAS_SEC
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500920 select SYS_FSL_SEC_COMPAT_4
921 select SYS_FSL_SEC_LE
Marek Vasut72041602020-05-22 01:13:00 +0200922 imply BOARD_EARLY_INIT_F
Adam Ford8bbff6a2018-02-04 09:32:43 -0600923 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500924 imply SYS_THUMB_BUILD
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500925
Boris BREZILLON89ebc822015-03-04 13:13:03 +0100926config ARCH_MX6
927 bool "Freescale MX6"
Tom Rini6d21dd32022-02-25 11:19:47 -0500928 select BOARD_POSTCLK_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530929 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900930 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400931 select MACH_IMX
Tom Rini9b0240f2022-12-02 16:42:18 -0500932 select MXC_GPT_HCLK
Heinrich Schuchardt90865612020-06-26 19:57:55 +0200933 select SYS_FSL_HAS_SEC
York Sun2c2e2c92016-12-28 08:43:30 -0800934 select SYS_FSL_SEC_COMPAT_4
York Sun90b80382016-12-28 08:43:31 -0800935 select SYS_FSL_SEC_LE
Philip Oberfichtner11168882022-08-17 15:07:12 +0200936 select SYS_L2_PL310 if !SYS_L2CACHE_OFF
Adam Ford8bbff6a2018-02-04 09:32:43 -0600937 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500938 imply SYS_THUMB_BUILD
Sean Anderson1dd56db2022-04-12 10:59:04 -0400939 imply SPL_SEPARATE_BSS
Boris BREZILLON89ebc822015-03-04 13:13:03 +0100940
Andrej Rosano424ee3d2015-04-08 18:56:29 +0200941config ARCH_MX5
942 bool "Freescale MX5"
Simon Glassa5d67542017-01-23 13:31:20 -0700943 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200944 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900945 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400946 select MACH_IMX
Adam Ford8bbff6a2018-02-04 09:32:43 -0600947 imply MXC_GPIO
Andrej Rosano424ee3d2015-04-08 18:56:29 +0200948
Stefan Bosch95e9a8e2020-07-10 19:07:26 +0200949config ARCH_NEXELL
950 bool "Nexell S5P4418/S5P6818 SoC"
951 select ENABLE_ARM_SOC_BOOT0_HOOK
952 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900953 select GPIO_EXTRA_HEADER
Stefan Bosch95e9a8e2020-07-10 19:07:26 +0200954
Jim Liu84335542022-04-19 13:32:19 +0800955config ARCH_NPCM
956 bool "Support Nuvoton SoCs"
957 select DM
958 select OF_CONTROL
959 imply CMD_DM
960
Mark Kettenis003b6572021-10-23 16:58:03 +0200961config ARCH_APPLE
962 bool "Apple SoCs"
963 select ARM64
Mark Kettenisd520e1f2021-10-23 16:58:04 +0200964 select CLK
Mark Kettenis003b6572021-10-23 16:58:03 +0200965 select CMD_USB
966 select DM
Mark Kettenisb814e002021-11-02 18:21:57 +0100967 select DM_GPIO
Mark Kettenis003b6572021-10-23 16:58:03 +0200968 select DM_KEYBOARD
Mark Kettenis456305e2022-01-22 20:38:12 +0100969 select DM_MAILBOX
Mark Kettenis81fafbb2022-01-22 20:38:17 +0100970 select DM_RESET
Mark Kettenis003b6572021-10-23 16:58:03 +0200971 select DM_SERIAL
Mark Kettenis7184e292022-01-23 16:48:12 +0100972 select DM_SPI
Mark Kettenis003b6572021-10-23 16:58:03 +0200973 select DM_USB
Simon Glassb86986c2022-10-18 07:46:31 -0600974 select VIDEO
Mark Kettenis785cfde2021-10-23 16:58:05 +0200975 select IOMMU
Mark Kettenis003b6572021-10-23 16:58:03 +0200976 select LINUX_KERNEL_IMAGE_HEADER
Mark Kettenisa6093532022-04-19 21:20:31 +0200977 select OF_BOARD_SETUP
Mark Kettenis003b6572021-10-23 16:58:03 +0200978 select OF_CONTROL
Mark Kettenisb814e002021-11-02 18:21:57 +0100979 select PINCTRL
Mark Kettenis003b6572021-10-23 16:58:03 +0200980 select POSITION_INDEPENDENT
Mark Kettenis97187d52022-01-10 20:58:44 +0100981 select POWER_DOMAIN
982 select REGMAP
Mark Kettenis7184e292022-01-23 16:48:12 +0100983 select SPI
Mark Kettenis97187d52022-01-10 20:58:44 +0100984 select SYSCON
Mark Kettenis9a8e3732022-01-12 19:55:17 +0100985 select SYSRESET
986 select SYSRESET_WATCHDOG
987 select SYSRESET_WATCHDOG_AUTO
Mark Kettenis003b6572021-10-23 16:58:03 +0200988 select USB
989 imply CMD_DM
990 imply CMD_GPT
991 imply DISTRO_DEFAULTS
Simon Glass239d22c2021-12-16 20:59:36 -0700992 imply OF_HAS_PRIOR_STAGE
Mark Kettenis003b6572021-10-23 16:58:03 +0200993
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +0530994config ARCH_OWL
995 bool "Actions Semi OWL SoCs"
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +0530996 select DM
997 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900998 select GPIO_EXTRA_HEADER
Amit Singh Tomarb1a6bb32020-04-19 19:28:25 +0530999 select OWL_SERIAL
Amit Singh Tomar8b520ac2020-04-19 19:28:30 +05301000 select CLK
1001 select CLK_OWL
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301002 select OF_CONTROL
Tom Rini36c2f022020-05-01 10:52:11 -04001003 select SYS_RELOC_GD_ENV_ADDR
Michal Simek08a00cb2018-07-23 15:55:14 +02001004 imply CMD_DM
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301005
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03001006config ARCH_QEMU
1007 bool "QEMU Virtual Platform"
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03001008 select DM
1009 select DM_SERIAL
1010 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001011 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001012 imply CMD_DM
Heinrich Schuchardt684710d2020-09-19 07:55:35 +02001013 imply DM_RNG
AKASHI Takahiroa47c1b52018-09-14 17:06:54 +09001014 imply DM_RTC
1015 imply RTC_PL031
Simon Glass239d22c2021-12-16 20:59:36 -07001016 imply OF_HAS_PRIOR_STAGE
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03001017
Nobuhiro Iwamatsu1cc95f62015-10-10 05:58:28 +09001018config ARCH_RMOBILE
Masahiro Yamadaf40b9892014-08-31 07:10:57 +09001019 bool "Renesas ARM SoCs"
Nobuhiro Iwamatsu1cc95f62015-10-10 05:58:28 +09001020 select DM
1021 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001022 select GPIO_EXTRA_HEADER
Biju Das5157b012020-09-22 13:06:49 +01001023 imply BOARD_EARLY_INIT_F
Michal Simek08a00cb2018-07-23 15:55:14 +02001024 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -04001025 imply FAT_WRITE
Tom Rini3a649402017-03-18 09:01:44 -04001026 imply SYS_THUMB_BUILD
Marek Vasut00e4b572018-12-03 13:28:25 +01001027 imply ARCH_MISC_INIT if DISPLAY_CPUINFO
Masahiro Yamadadd840582014-07-30 14:08:14 +09001028
Mateusz Kulikowski08592132016-03-31 23:12:32 +02001029config ARCH_SNAPDRAGON
1030 bool "Qualcomm Snapdragon SoCs"
1031 select ARM64
1032 select DM
1033 select DM_GPIO
1034 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001035 select GPIO_EXTRA_HEADER
Michal Simek5ed063d2018-07-23 15:55:13 +02001036 select MSM_SMEM
Mateusz Kulikowski08592132016-03-31 23:12:32 +02001037 select OF_CONTROL
1038 select OF_SEPARATE
Ramon Fried654dd4a2018-07-02 02:57:56 +03001039 select SMEM
Michal Simek5ed063d2018-07-23 15:55:13 +02001040 select SPMI
Michal Simek08a00cb2018-07-23 15:55:14 +02001041 imply CMD_DM
Mateusz Kulikowski08592132016-03-31 23:12:32 +02001042
Masahiro Yamada7865f4b2015-04-21 20:38:20 +09001043config ARCH_SOCFPGA
1044 bool "Altera SOCFPGA family"
Simon Glassa4211922017-01-23 13:31:19 -07001045 select ARCH_EARLY_INIT_R
Marek Vasutd6a61da2018-08-13 20:06:46 +02001046 select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
Siew Chin Lim9a5bbdf2021-03-01 20:04:10 +08001047 select ARM64 if TARGET_SOCFPGA_SOC64
Ley Foon Tana6847292018-05-24 00:17:32 +08001048 select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Marek Vasut48befc02018-05-11 22:25:59 +02001049 select DM
Marek Vasut73172752018-05-11 22:26:35 +02001050 select DM_SERIAL
Tom Rini5afdcca2021-08-19 14:19:39 -04001051 select GICV2
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001052 select GPIO_EXTRA_HEADER
Ley Foon Tana6847292018-05-24 00:17:32 +08001053 select ENABLE_ARM_SOC_BOOT0_HOOK if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Marek Vasut48befc02018-05-11 22:25:59 +02001054 select OF_CONTROL
Ley Foon Tan00057ee2018-07-13 13:40:23 +08001055 select SPL_DM_RESET if DM_RESET
Michal Simek5ed063d2018-07-23 15:55:13 +02001056 select SPL_DM_SERIAL
Marek Vasut48befc02018-05-11 22:25:59 +02001057 select SPL_LIBCOMMON_SUPPORT
Marek Vasut48befc02018-05-11 22:25:59 +02001058 select SPL_LIBGENERIC_SUPPORT
Marek Vasut48befc02018-05-11 22:25:59 +02001059 select SPL_OF_CONTROL
Siew Chin Lim9a5bbdf2021-03-01 20:04:10 +08001060 select SPL_SEPARATE_BSS if TARGET_SOCFPGA_SOC64
Simon Glass2a736062021-08-08 12:20:12 -06001061 select SPL_SERIAL
Simon Goldschmidtef72ba02019-07-15 21:47:55 +02001062 select SPL_SYSRESET
Simon Glass078111b2021-07-10 21:14:28 -06001063 select SPL_WATCHDOG
Marek Vasut48befc02018-05-11 22:25:59 +02001064 select SUPPORT_SPL
Marek Vasut73172752018-05-11 22:26:35 +02001065 select SYS_NS16550
Ley Foon Tana6847292018-05-24 00:17:32 +08001066 select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Simon Goldschmidtef72ba02019-07-15 21:47:55 +02001067 select SYSRESET
1068 select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Siew Chin Lim9a5bbdf2021-03-01 20:04:10 +08001069 select SYSRESET_SOCFPGA_SOC64 if TARGET_SOCFPGA_SOC64
Michal Simek08a00cb2018-07-23 15:55:14 +02001070 imply CMD_DM
Tom Rinid56b4b12017-07-22 18:36:16 -04001071 imply CMD_MTDPARTS
Daniel Thompson221a9492017-05-19 17:26:58 +01001072 imply CRC32_VERIFY
Simon Goldschmidtfef4a542018-02-13 06:34:14 +01001073 imply DM_SPI
1074 imply DM_SPI_FLASH
Tom Rini91d27a12017-06-02 11:03:50 -04001075 imply FAT_WRITE
Simon Goldschmidtaef44282019-04-09 21:02:05 +02001076 imply SPL
1077 imply SPL_DM
Lukasz Majewski56c40462020-06-04 23:11:53 +08001078 imply SPL_DM_SPI
1079 imply SPL_DM_SPI_FLASH
Simon Goldschmidta9024dc2018-11-29 21:17:08 +01001080 imply SPL_LIBDISK_SUPPORT
Simon Glass103c5f12021-08-08 12:20:09 -06001081 imply SPL_MMC
Simon Goldschmidtfef4a542018-02-13 06:34:14 +01001082 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
Simon Goldschmidtf48db4e2018-10-30 20:21:49 +01001083 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
Simon Goldschmidta9024dc2018-11-29 21:17:08 +01001084 imply SPL_SPI_FLASH_SUPPORT
Simon Glassea2ca7e2021-08-08 12:20:14 -06001085 imply SPL_SPI
Dinh Nguyenaaa64802019-04-23 16:55:06 -05001086 imply L2X0_CACHE
Masahiro Yamadadd840582014-07-30 14:08:14 +09001087
Ian Campbell2c7e3b92014-10-24 21:20:44 +01001088config ARCH_SUNXI
1089 bool "Support sunxi (Allwinner) SoCs"
Masahiro Yamadad6a0c782017-10-17 13:42:44 +09001090 select BINMAN
Hans de Goede88bb8002016-04-03 09:41:44 +02001091 select CMD_GPIO
Hans de Goede0878a8a2016-05-15 13:51:58 +02001092 select CMD_MMC if MMC
Tom Rinibe5c0602021-07-09 10:11:56 -04001093 select CMD_USB if DISTRO_DEFAULTS && USB_HOST
Jagan Tekie236ff02019-01-11 16:40:20 +05301094 select CLK
Hans de Goedeb6006ba2015-04-15 20:46:48 +02001095 select DM
Hans de Goede211d57a2015-12-21 20:22:00 +01001096 select DM_GPIO
Samuel Hollandf9437b02021-10-08 00:17:25 -05001097 select DM_I2C if I2C
Andre Przywara81a46c12022-01-11 12:46:02 +00001098 select DM_SPI if SPI
1099 select DM_SPI_FLASH if SPI
Hans de Goede211d57a2015-12-21 20:22:00 +01001100 select DM_KEYBOARD
Jagan Tekibb3362b2019-04-12 16:48:25 +05301101 select DM_MMC if MMC
1102 select DM_SCSI if SCSI
Tom Rini45368822015-06-30 16:51:15 -04001103 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001104 select GPIO_EXTRA_HEADER
Hans de Goeded75111a2016-03-22 22:51:52 +01001105 select OF_BOARD_SETUP
Hans de Goedeb6006ba2015-04-15 20:46:48 +02001106 select OF_CONTROL
1107 select OF_SEPARATE
Samuel Hollandb799eab2021-08-12 20:09:43 -05001108 select PINCTRL
Tom Rini6f6b7cf2018-03-06 19:02:27 -05001109 select SPECIFY_CONSOLE_INDEX
Samuel Hollanda3010bc2021-08-22 13:23:53 -05001110 select SPL_SEPARATE_BSS if SPL
Tom Riniab43de82017-06-21 07:54:46 -04001111 select SPL_STACK_R if SPL
1112 select SPL_SYS_MALLOC_SIMPLE if SPL
Tom Rini3a649402017-03-18 09:01:44 -04001113 select SPL_SYS_THUMB_BUILD if !ARM64
Andre Przywara10cfbaa2019-06-23 15:09:46 +01001114 select SUNXI_GPIO
Michal Simek5ed063d2018-07-23 15:55:13 +02001115 select SYS_NS16550
Maxime Ripardce2e44d2017-10-19 11:49:29 +02001116 select SYS_THUMB_BUILD if !ARM64
Yann E. MORIN2997ee52016-10-31 22:33:40 +01001117 select USB if DISTRO_DEFAULTS
Tom Rinibe5c0602021-07-09 10:11:56 -04001118 select USB_KEYBOARD if DISTRO_DEFAULTS && USB_HOST
1119 select USB_STORAGE if DISTRO_DEFAULTS && USB_HOST
Simon Glass27084c02019-09-25 08:56:27 -06001120 select SPL_USE_TINY_PRINTF
Andre Przywara48313fe2020-02-20 17:51:14 +00001121 select USE_PREBOOT
1122 select SYS_RELOC_GD_ENV_ADDR
Andy Shevchenko92600ed2020-12-08 17:45:31 +02001123 imply BOARD_LATE_INIT
Michal Simek08a00cb2018-07-23 15:55:14 +02001124 imply CMD_DM
Maxime Riparda12fb0e2017-08-24 11:54:03 +02001125 imply CMD_GPT
Miquel Raynal88718be2019-10-03 19:50:03 +02001126 imply CMD_UBI if MTD_RAW_NAND
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001127 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001128 imply FAT_WRITE
Marek Vasut2f13cf32018-10-10 18:27:35 +02001129 imply FIT
Andre Heidereff264d2018-01-16 09:44:22 +01001130 imply OF_LIBFDT_OVERLAY
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001131 imply PRE_CONSOLE_BUFFER
Simon Glass83061db2021-07-10 21:14:30 -06001132 imply SPL_GPIO
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001133 imply SPL_LIBCOMMON_SUPPORT
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001134 imply SPL_LIBGENERIC_SUPPORT
Simon Glass103c5f12021-08-08 12:20:09 -06001135 imply SPL_MMC if MMC
Simon Glass933b2f02021-07-10 21:14:24 -06001136 imply SPL_POWER
Simon Glass2a736062021-08-08 12:20:12 -06001137 imply SPL_SERIAL
Samuel Holland40edc322021-11-03 22:55:16 -05001138 imply SYSRESET
1139 imply SYSRESET_WATCHDOG
1140 imply SYSRESET_WATCHDOG_AUTO
Maxime Ripard654b02b2017-09-07 10:46:24 +02001141 imply USB_GADGET
Samuel Hollandb147bd32021-08-22 13:53:28 -05001142 imply WDT
Chen-Yu Tsai8ebe4f42014-10-22 16:47:44 +08001143
Stephan Gerhold689088f2020-01-04 18:45:17 +01001144config ARCH_U8500
1145 bool "ST-Ericsson U8500 Series"
1146 select CPU_V7A
1147 select DM
1148 select DM_GPIO
1149 select DM_MMC if MMC
1150 select DM_SERIAL
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001151 select DM_USB_GADGET if DM_USB
Stephan Gerhold689088f2020-01-04 18:45:17 +01001152 select OF_CONTROL
1153 select SYSRESET
1154 select TIMER
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001155 imply AB8500_USB_PHY
Stephan Gerhold689088f2020-01-04 18:45:17 +01001156 imply ARM_PL180_MMCI
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001157 imply CLK
1158 imply DM_PMIC
Stephan Gerhold689088f2020-01-04 18:45:17 +01001159 imply DM_RTC
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001160 imply NOMADIK_GPIO
Stephan Gerhold689088f2020-01-04 18:45:17 +01001161 imply NOMADIK_MTU_TIMER
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001162 imply PHY
Stephan Gerhold689088f2020-01-04 18:45:17 +01001163 imply PL01X_SERIAL
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001164 imply PMIC_AB8500
Stephan Gerhold689088f2020-01-04 18:45:17 +01001165 imply RTC_PL031
Stephan Gerhold89568542021-08-07 15:07:24 +02001166 imply SYS_THUMB_BUILD
Stephan Gerhold689088f2020-01-04 18:45:17 +01001167 imply SYSRESET_SYSCON
1168
Michal Simekec48b6c2018-08-22 14:55:27 +02001169config ARCH_VERSAL
1170 bool "Support Xilinx Versal Platform"
1171 select ARM64
1172 select CLK
1173 select DM
Michal Simekfa797152019-01-15 08:52:46 +01001174 select DM_MMC if MMC
Michal Simekec48b6c2018-08-22 14:55:27 +02001175 select DM_SERIAL
Tom Rini5afdcca2021-08-19 14:19:39 -04001176 select GICV3
Michal Simekec48b6c2018-08-22 14:55:27 +02001177 select OF_CONTROL
T Karthik Reddy42e20f52021-08-10 06:50:19 -06001178 select SOC_DEVICE
Siva Durga Prasad Paladugubfd092f2019-01-31 17:28:14 +05301179 imply BOARD_LATE_INIT
Michal Simek62b96262020-07-28 12:45:47 +02001180 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simekec48b6c2018-08-22 14:55:27 +02001181
Michal Simekf6aebdf2022-09-19 14:21:02 +02001182config ARCH_VERSAL_NET
Michal Simek6b067f42022-11-05 18:21:27 -07001183 bool "Support Xilinx Versal NET Platform"
Michal Simekf6aebdf2022-09-19 14:21:02 +02001184 select ARM64
1185 select CLK
1186 select DM
Michal Simekf6aebdf2022-09-19 14:21:02 +02001187 select DM_MMC if MMC
1188 select DM_SERIAL
1189 select OF_CONTROL
1190 imply BOARD_LATE_INIT
1191 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1192
Stefan Agner7966b432017-03-13 18:41:36 -07001193config ARCH_VF610
1194 bool "Freescale Vybrid"
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301195 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001196 select GPIO_EXTRA_HEADER
Tom Rinic136a862022-11-19 18:45:22 -05001197 select IOMUX_SHARE_CONF_REG
Tom Rini0c2729e2021-08-24 20:40:59 -04001198 select MACH_IMX
York Sunc01e4a12016-12-28 08:43:42 -08001199 select SYS_FSL_ERRATUM_ESDHC111
Tom Rinid56b4b12017-07-22 18:36:16 -04001200 imply CMD_MTDPARTS
Miquel Raynal88718be2019-10-03 19:50:03 +02001201 imply MTD_RAW_NAND
Masahiro Yamadadd840582014-07-30 14:08:14 +09001202
Masahiro Yamada5ca269a2015-03-16 16:43:24 +09001203config ARCH_ZYNQ
Michal Simekb8d44972017-11-23 08:25:41 +01001204 bool "Xilinx Zynq based platform"
Stefan Herbrechtsmeierb7e07502022-08-05 08:16:28 +02001205 select ARM_TWD_TIMER
Michal Simek5ed063d2018-07-23 15:55:13 +02001206 select CLK
1207 select CLK_ZYNQ
1208 select CPU_V7A
Michal Simek05f0f262022-02-17 14:28:41 +01001209 select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
Masahiro Yamada8981f052015-03-31 12:47:55 +09001210 select DM
Michal Simekc4a142f2018-01-09 14:49:28 +01001211 select DM_MMC if MMC
Simon Glass42800ff2015-10-17 19:41:27 -06001212 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001213 select DM_SPI
Jagan Teki9f7a4502015-06-27 00:51:32 +05301214 select DM_SPI_FLASH
Michal Simek5ed063d2018-07-23 15:55:13 +02001215 select OF_CONTROL
Adam Fordf1b1f772018-04-15 13:51:26 -04001216 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +02001217 select SPL_BOARD_INIT if SPL
1218 select SPL_CLK if SPL
1219 select SPL_DM if SPL
Lukasz Majewski56c40462020-06-04 23:11:53 +08001220 select SPL_DM_SPI if SPL
1221 select SPL_DM_SPI_FLASH if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001222 select SPL_OF_CONTROL if SPL
1223 select SPL_SEPARATE_BSS if SPL
Stefan Herbrechtsmeierb7e07502022-08-05 08:16:28 +02001224 select SPL_TIMER if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001225 select SUPPORT_SPL
Stefan Herbrechtsmeierb7e07502022-08-05 08:16:28 +02001226 select TIMER
Michal Simek4aba5fb2018-01-17 10:56:22 -03001227 imply ARCH_EARLY_INIT_R
Michal Simek8eb55e12018-08-20 08:24:14 +02001228 imply BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +02001229 imply CMD_CLK
Michal Simek08a00cb2018-07-23 15:55:14 +02001230 imply CMD_DM
Michal Simek5ed063d2018-07-23 15:55:13 +02001231 imply CMD_SPL
Michal Simek62b96262020-07-28 12:45:47 +02001232 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simek5ed063d2018-07-23 15:55:13 +02001233 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +09001234
Michal Simek1d6c54e2018-04-12 17:39:46 +02001235config ARCH_ZYNQMP_R5
1236 bool "Xilinx ZynqMP R5 based platform"
Michal Simek5ed063d2018-07-23 15:55:13 +02001237 select CLK
Michal Simek1d6c54e2018-04-12 17:39:46 +02001238 select CPU_V7R
Michal Simek1d6c54e2018-04-12 17:39:46 +02001239 select DM
Michal Simek6f96fb52019-01-15 09:06:46 +01001240 select DM_MMC if MMC
Michal Simek1d6c54e2018-04-12 17:39:46 +02001241 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001242 select OF_CONTROL
Michal Simek08a00cb2018-07-23 15:55:14 +02001243 imply CMD_DM
Jean-Jacques Hiblot687ab542018-11-29 10:52:42 +01001244 imply DM_USB_GADGET
Michal Simek1d6c54e2018-04-12 17:39:46 +02001245
Siva Durga Prasad Paladugu0b54a9d2015-06-10 15:50:57 +05301246config ARCH_ZYNQMP
Michal Simekb8d44972017-11-23 08:25:41 +01001247 bool "Xilinx ZynqMP based platform"
Michal Simek84c72042015-01-15 10:01:51 +01001248 select ARM64
Michal Simek1f297382016-07-14 15:07:54 +02001249 select CLK
Michal Simek5ed063d2018-07-23 15:55:13 +02001250 select DM
Michal Simek11381fb2022-02-17 14:28:42 +01001251 select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
Michal Simek92e69002022-11-29 16:09:42 +01001252 imply DM_MAILBOX
Michal Simekfb693102019-01-15 08:52:51 +01001253 select DM_MMC if MMC
Michal Simek5ed063d2018-07-23 15:55:13 +02001254 select DM_SERIAL
Michal Simek088f83e2019-01-15 10:50:39 +01001255 select DM_SPI if SPI
1256 select DM_SPI_FLASH if DM_SPI
Michal Simek71efd452022-01-14 13:08:42 +01001257 imply FIRMWARE
Tom Rini5afdcca2021-08-19 14:19:39 -04001258 select GICV2
Michal Simek5ed063d2018-07-23 15:55:13 +02001259 select OF_CONTROL
Ley Foon Tan0680f1b2017-05-03 17:13:32 +08001260 select SPL_BOARD_INIT if SPL
Michal Simek2f039682017-12-01 15:13:36 +01001261 select SPL_CLK if SPL
Michal Simek6cb402f2020-08-19 10:30:39 +02001262 select SPL_DM if SPL
1263 select SPL_DM_SPI if SPI && SPL_DM
Lukasz Majewski56c40462020-06-04 23:11:53 +08001264 select SPL_DM_SPI_FLASH if SPL_DM_SPI
Ibai Erkiaga325a22d2019-09-27 11:37:04 +01001265 select SPL_DM_MAILBOX if SPL
Michal Simek71efd452022-01-14 13:08:42 +01001266 imply SPL_FIRMWARE if SPL
Michal Simek850e7792018-11-23 09:01:44 +01001267 select SPL_SEPARATE_BSS if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001268 select SUPPORT_SPL
Michal Simek92e69002022-11-29 16:09:42 +01001269 imply ZYNQMP_IPI if DM_MAILBOX
T Karthik Reddya890a532021-08-10 06:50:18 -06001270 select SOC_DEVICE
Michal Simek8eb55e12018-08-20 08:24:14 +02001271 imply BOARD_LATE_INIT
Michal Simek08a00cb2018-07-23 15:55:14 +02001272 imply CMD_DM
Michal Simek62b96262020-07-28 12:45:47 +02001273 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Tom Rini91d27a12017-06-02 11:03:50 -04001274 imply FAT_WRITE
Michal Simek22270ca032018-10-04 14:26:13 +02001275 imply MP
Jean-Jacques Hiblot687ab542018-11-29 10:52:42 +01001276 imply DM_USB_GADGET
T Karthik Reddy3b441cf2021-10-29 13:11:43 +02001277 imply ZYNQMP_GPIO_MODEPIN if DM_GPIO && USB
Michal Simek84c72042015-01-15 10:01:51 +01001278
Trevor Woerner18138ab2020-05-06 08:02:41 -04001279config ARCH_TEGRA
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09001280 bool "NVIDIA Tegra"
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001281 select GPIO_EXTRA_HEADER
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001282 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001283 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +09001284
Andre Przywarafac7fc42022-03-04 16:30:09 +00001285config ARCH_VEXPRESS64
1286 bool "Support ARMv8 Arm Ltd. VExpress based boards and models"
Masahiro Yamada016a9542014-09-14 03:01:51 +09001287 select ARM64
Andre Przywarab3270e92020-04-27 19:18:01 +01001288 select DM
Andre Przywarab3270e92020-04-27 19:18:01 +01001289 select DM_SERIAL
Andre Przywarafac7fc42022-03-04 16:30:09 +00001290 select PL01X_SERIAL
Andre Przywarac0fce922022-03-04 16:30:11 +00001291 select OF_CONTROL
1292 select CLK
Andre Przywara58650382022-03-04 16:30:13 +00001293 select BLK
1294 select MTD_NOR_FLASH if MTD
1295 select FLASH_CFI_DRIVER if MTD
1296 select ENV_IS_IN_FLASH if MTD
Andre Przywara8a0a8ff2022-03-04 16:30:14 +00001297 imply DISTRO_DEFAULTS
Linus Walleijffc10372015-01-23 14:41:10 +01001298
Rui Miguel Silvaf98457d2022-05-11 10:55:41 +01001299config TARGET_CORSTONE1000
1300 bool "Support Corstone1000 Platform"
1301 select ARM64
1302 select PL01X_SERIAL
1303 select DM
1304
Usama Arif565add12020-08-12 16:12:53 +01001305config TARGET_TOTAL_COMPUTE
1306 bool "Support Total Compute Platform"
1307 select ARM64
1308 select PL01X_SERIAL
1309 select DM
1310 select DM_SERIAL
1311 select DM_MMC
1312 select DM_GPIO
1313
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301314config TARGET_LS2080A_EMU
1315 bool "Support ls2080a_emu"
York Sunfb2bf8c2016-10-04 14:31:48 -07001316 select ARCH_LS2080A
Masahiro Yamada016a9542014-09-14 03:01:51 +09001317 select ARM64
Linus Walleij23b58772015-03-09 10:53:21 +01001318 select ARMV8_MULTIENTRY
Rajesh Bhagat32413122019-02-01 05:22:01 +00001319 select FSL_DDR_SYNC_REFRESH
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001320 select GPIO_EXTRA_HEADER
York Sun7288c2c2015-03-20 19:28:23 -07001321 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001322 Support for Freescale LS2080A_EMU platform.
1323 The LS2080A Development System (EMULATOR) is a pre-silicon
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301324 development platform that supports the QorIQ LS2080A
York Sun7288c2c2015-03-20 19:28:23 -07001325 Layerscape Architecture processor.
1326
Ashish Kumar77697762017-08-31 16:12:55 +05301327config TARGET_LS1088AQDS
1328 bool "Support ls1088aqds"
1329 select ARCH_LS1088A
1330 select ARM64
1331 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001332 select ARCH_SUPPORT_TFABOOT
Ashish Kumar77697762017-08-31 16:12:55 +05301333 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001334 select GPIO_EXTRA_HEADER
Ashish Kumar91fded62017-11-06 13:18:44 +05301335 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001336 select FSL_DDR_INTERACTIVE if !SD_BOOT
Ashish Kumar77697762017-08-31 16:12:55 +05301337 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001338 Support for NXP LS1088AQDS platform.
Ashish Kumar77697762017-08-31 16:12:55 +05301339 The LS1088A Development System (QDS) is a high-performance
1340 development platform that supports the QorIQ LS1088A
1341 Layerscape Architecture processor.
1342
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301343config TARGET_LS2080AQDS
1344 bool "Support ls2080aqds"
York Sunfb2bf8c2016-10-04 14:31:48 -07001345 select ARCH_LS2080A
York Sune2b65ea2015-03-20 19:28:24 -07001346 select ARM64
1347 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001348 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001349 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001350 select GPIO_EXTRA_HEADER
Scott Wood32eda7c2015-03-24 13:25:03 -07001351 select SUPPORT_SPL
Simon Glassfedb4282017-06-14 21:28:21 -06001352 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001353 imply SCSI_AHCI
Rajesh Bhagat32413122019-02-01 05:22:01 +00001354 select FSL_DDR_BIST
1355 select FSL_DDR_INTERACTIVE if !SPL
York Sune2b65ea2015-03-20 19:28:24 -07001356 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001357 Support for Freescale LS2080AQDS platform.
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301358 The LS2080A Development System (QDS) is a high-performance
1359 development platform that supports the QorIQ LS2080A
1360 Layerscape Architecture processor.
1361
1362config TARGET_LS2080ARDB
1363 bool "Support ls2080ardb"
York Sunfb2bf8c2016-10-04 14:31:48 -07001364 select ARCH_LS2080A
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301365 select ARM64
1366 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001367 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001368 select BOARD_LATE_INIT
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301369 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001370 select FSL_DDR_BIST
1371 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001372 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001373 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001374 imply SCSI_AHCI
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301375 help
1376 Support for Freescale LS2080ARDB platform.
1377 The LS2080A Reference design board (RDB) is a high-performance
1378 development platform that supports the QorIQ LS2080A
York Sune2b65ea2015-03-20 19:28:24 -07001379 Layerscape Architecture processor.
1380
Priyanka Jain3049a582017-04-27 15:08:07 +05301381config TARGET_LS2081ARDB
1382 bool "Support ls2081ardb"
1383 select ARCH_LS2080A
1384 select ARM64
1385 select ARMV8_MULTIENTRY
1386 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001387 select GPIO_EXTRA_HEADER
Priyanka Jain3049a582017-04-27 15:08:07 +05301388 select SUPPORT_SPL
Priyanka Jain3049a582017-04-27 15:08:07 +05301389 help
1390 Support for Freescale LS2081ARDB platform.
1391 The LS2081A Reference design board (RDB) is a high-performance
1392 development platform that supports the QorIQ LS2081A/LS2041A
1393 Layerscape Architecture processor.
1394
Priyanka Jain58c3e622018-11-28 13:04:27 +00001395config TARGET_LX2160ARDB
1396 bool "Support lx2160ardb"
1397 select ARCH_LX2160A
Priyanka Jain58c3e622018-11-28 13:04:27 +00001398 select ARM64
1399 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001400 select ARCH_SUPPORT_TFABOOT
Priyanka Jain58c3e622018-11-28 13:04:27 +00001401 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001402 select GPIO_EXTRA_HEADER
Priyanka Jain58c3e622018-11-28 13:04:27 +00001403 help
1404 Support for NXP LX2160ARDB platform.
1405 The lx2160ardb (LX2160A Reference design board (RDB)
1406 is a high-performance development platform that supports the
1407 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1408
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001409config TARGET_LX2160AQDS
1410 bool "Support lx2160aqds"
1411 select ARCH_LX2160A
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001412 select ARM64
1413 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001414 select ARCH_SUPPORT_TFABOOT
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001415 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001416 select GPIO_EXTRA_HEADER
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001417 help
1418 Support for NXP LX2160AQDS platform.
1419 The lx2160aqds (LX2160A QorIQ Development System (QDS)
1420 is a high-performance development platform that supports the
1421 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1422
Meenakshi Aggarwal9ed303d2020-12-04 20:17:28 +05301423config TARGET_LX2162AQDS
1424 bool "Support lx2162aqds"
1425 select ARCH_LX2162A
1426 select ARCH_MISC_INIT
1427 select ARM64
1428 select ARMV8_MULTIENTRY
1429 select ARCH_SUPPORT_TFABOOT
1430 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001431 select GPIO_EXTRA_HEADER
Meenakshi Aggarwal9ed303d2020-12-04 20:17:28 +05301432 help
1433 Support for NXP LX2162AQDS platform.
1434 The lx2162aqds support is based on LX2160A Layerscape Architecture processor.
1435
Peter Griffin11ac2362015-07-30 18:55:23 +01001436config TARGET_HIKEY
1437 bool "Support HiKey 96boards Consumer Edition Platform"
1438 select ARM64
Peter Griffinefd7b602015-09-10 21:55:16 +01001439 select DM
1440 select DM_GPIO
Peter Griffin9c71bcd2015-09-10 21:55:17 +01001441 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001442 select GPIO_EXTRA_HEADER
Peter Griffincd593ed2016-04-20 17:13:59 +01001443 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001444 select PL01X_SERIAL
Tom Rini6f6b7cf2018-03-06 19:02:27 -05001445 select SPECIFY_CONSOLE_INDEX
Michal Simek08a00cb2018-07-23 15:55:14 +02001446 imply CMD_DM
Peter Griffin11ac2362015-07-30 18:55:23 +01001447 help
1448 Support for HiKey 96boards platform. It features a HI6220
1449 SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
1450
Manivannan Sadhasivamc62c7ef2019-08-02 20:40:09 +05301451config TARGET_HIKEY960
1452 bool "Support HiKey960 96boards Consumer Edition Platform"
1453 select ARM64
1454 select DM
1455 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001456 select GPIO_EXTRA_HEADER
Manivannan Sadhasivamc62c7ef2019-08-02 20:40:09 +05301457 select OF_CONTROL
1458 select PL01X_SERIAL
1459 imply CMD_DM
1460 help
1461 Support for HiKey960 96boards platform. It features a HI3660
1462 SoC, with 4xA73 CPU, 4xA53 CPU, MALI-G71 GPU, and 3GB RAM.
1463
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001464config TARGET_POPLAR
1465 bool "Support Poplar 96boards Enterprise Edition Platform"
1466 select ARM64
1467 select DM
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001468 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001469 select GPIO_EXTRA_HEADER
Michal Simek5ed063d2018-07-23 15:55:13 +02001470 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001471 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001472 imply CMD_DM
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001473 help
1474 Support for Poplar 96boards EE platform. It features a HI3798cv200
1475 SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
1476 making it capable of running any commercial set-top solution based on
1477 Linux or Android.
1478
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301479config TARGET_LS1012AQDS
1480 bool "Support ls1012aqds"
York Sun9533acf2016-09-26 08:09:26 -07001481 select ARCH_LS1012A
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301482 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001483 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001484 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001485 select GPIO_EXTRA_HEADER
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301486 help
1487 Support for Freescale LS1012AQDS platform.
1488 The LS1012A Development System (QDS) is a high-performance
1489 development platform that supports the QorIQ LS1012A
1490 Layerscape Architecture processor.
1491
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301492config TARGET_LS1012ARDB
1493 bool "Support ls1012ardb"
York Sun9533acf2016-09-26 08:09:26 -07001494 select ARCH_LS1012A
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301495 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001496 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001497 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001498 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001499 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001500 imply SCSI_AHCI
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301501 help
1502 Support for Freescale LS1012ARDB platform.
1503 The LS1012A Reference design board (RDB) is a high-performance
1504 development platform that supports the QorIQ LS1012A
1505 Layerscape Architecture processor.
1506
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301507config TARGET_LS1012A2G5RDB
1508 bool "Support ls1012a2g5rdb"
1509 select ARCH_LS1012A
1510 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001511 select ARCH_SUPPORT_TFABOOT
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301512 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001513 select GPIO_EXTRA_HEADER
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301514 imply SCSI
1515 help
1516 Support for Freescale LS1012A2G5RDB platform.
1517 The LS1012A 2G5 Reference design board (RDB) is a high-performance
1518 development platform that supports the QorIQ LS1012A
1519 Layerscape Architecture processor.
1520
Bhaskar Upadhaya9629ccd2018-05-23 11:03:30 +05301521config TARGET_LS1012AFRWY
1522 bool "Support ls1012afrwy"
1523 select ARCH_LS1012A
1524 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001525 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001526 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001527 select GPIO_EXTRA_HEADER
Bhaskar Upadhaya9629ccd2018-05-23 11:03:30 +05301528 imply SCSI
1529 imply SCSI_AHCI
1530 help
1531 Support for Freescale LS1012AFRWY platform.
1532 The LS1012A FRWY board (FRWY) is a high-performance
1533 development platform that supports the QorIQ LS1012A
1534 Layerscape Architecture processor.
1535
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301536config TARGET_LS1012AFRDM
1537 bool "Support ls1012afrdm"
York Sun9533acf2016-09-26 08:09:26 -07001538 select ARCH_LS1012A
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301539 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001540 select ARCH_SUPPORT_TFABOOT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001541 select GPIO_EXTRA_HEADER
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301542 help
1543 Support for Freescale LS1012AFRDM platform.
1544 The LS1012A Freedom board (FRDM) is a high-performance
1545 development platform that supports the QorIQ LS1012A
1546 Layerscape Architecture processor.
1547
Yuantian Tangf278a212019-04-10 16:43:35 +08001548config TARGET_LS1028AQDS
1549 bool "Support ls1028aqds"
1550 select ARCH_LS1028A
1551 select ARM64
1552 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001553 select ARCH_SUPPORT_TFABOOT
Yuantian Tangacf40f52019-07-02 16:16:22 +08001554 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001555 select GPIO_EXTRA_HEADER
Yuantian Tangf278a212019-04-10 16:43:35 +08001556 help
1557 Support for Freescale LS1028AQDS platform
1558 The LS1028A Development System (QDS) is a high-performance
1559 development platform that supports the QorIQ LS1028A
1560 Layerscape Architecture processor.
1561
Yuantian Tang353f36d2019-04-10 16:43:34 +08001562config TARGET_LS1028ARDB
1563 bool "Support ls1028ardb"
1564 select ARCH_LS1028A
1565 select ARM64
1566 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001567 select ARCH_SUPPORT_TFABOOT
Yuantian Tangc40ebf72020-03-09 14:10:07 +08001568 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001569 select GPIO_EXTRA_HEADER
Yuantian Tang353f36d2019-04-10 16:43:34 +08001570 help
1571 Support for Freescale LS1028ARDB platform
1572 The LS1028A Development System (RDB) is a high-performance
1573 development platform that supports the QorIQ LS1028A
1574 Layerscape Architecture processor.
1575
Ashish Kumare84a3242017-08-31 16:12:54 +05301576config TARGET_LS1088ARDB
1577 bool "Support ls1088ardb"
1578 select ARCH_LS1088A
1579 select ARM64
1580 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001581 select ARCH_SUPPORT_TFABOOT
Ashish Kumare84a3242017-08-31 16:12:54 +05301582 select BOARD_LATE_INIT
Ashish Kumar099f4092017-11-06 13:18:43 +05301583 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001584 select FSL_DDR_INTERACTIVE if !SD_BOOT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001585 select GPIO_EXTRA_HEADER
Ashish Kumare84a3242017-08-31 16:12:54 +05301586 help
1587 Support for NXP LS1088ARDB platform.
1588 The LS1088A Reference design board (RDB) is a high-performance
1589 development platform that supports the QorIQ LS1088A
1590 Layerscape Architecture processor.
1591
Wang Huan550e3dc2014-09-05 13:52:44 +08001592config TARGET_LS1021AQDS
Alison Wang0de15702014-12-03 16:18:09 +08001593 bool "Support ls1021aqds"
Michal Simek5ed063d2018-07-23 15:55:13 +02001594 select ARCH_LS1021A
1595 select ARCH_SUPPORT_PSCI
1596 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001597 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301598 select CPU_V7A
Hongbo Zhangadee1d42016-09-21 18:31:04 +08001599 select CPU_V7_HAS_NONSEC
1600 select CPU_V7_HAS_VIRT
York Sun5e8bd7e2016-09-26 08:09:29 -07001601 select LS1_DEEP_SLEEP
Tom Rini2b210542022-12-02 16:42:40 -05001602 select PEN_ADDR_BIG_ENDIAN
Michal Simek5ed063d2018-07-23 15:55:13 +02001603 select SUPPORT_SPL
York Sund26e34c2016-12-28 08:43:40 -08001604 select SYS_FSL_DDR
Rajesh Bhagat32413122019-02-01 05:22:01 +00001605 select FSL_DDR_INTERACTIVE
Lukasz Majewski28964222020-06-04 23:11:52 +08001606 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001607 select GPIO_EXTRA_HEADER
Lukasz Majewski28964222020-06-04 23:11:52 +08001608 select SPI_FLASH_DATAFLASH if FSL_DSPI || FSL_QSPI
Simon Glassfedb4282017-06-14 21:28:21 -06001609 imply SCSI
Masahiro Yamada217f92b2016-08-30 16:22:22 +09001610
Wang Huanc8a7d9d2014-09-05 13:52:45 +08001611config TARGET_LS1021ATWR
Alison Wang0de15702014-12-03 16:18:09 +08001612 bool "Support ls1021atwr"
Michal Simek5ed063d2018-07-23 15:55:13 +02001613 select ARCH_LS1021A
1614 select ARCH_SUPPORT_PSCI
1615 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001616 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301617 select CPU_V7A
Hongbo Zhangadee1d42016-09-21 18:31:04 +08001618 select CPU_V7_HAS_NONSEC
1619 select CPU_V7_HAS_VIRT
York Sun5e8bd7e2016-09-26 08:09:29 -07001620 select LS1_DEEP_SLEEP
Tom Rini2b210542022-12-02 16:42:40 -05001621 select PEN_ADDR_BIG_ENDIAN
Michal Simek5ed063d2018-07-23 15:55:13 +02001622 select SUPPORT_SPL
Lukasz Majewski28964222020-06-04 23:11:52 +08001623 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001624 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001625 imply SCSI
Wang Huanc8a7d9d2014-09-05 13:52:45 +08001626
Aleksandar Gerasimovski91ee5472021-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 Hiramatsu7a672052021-06-04 18:43:55 +09001638 select GPIO_EXTRA_HEADER
Aleksandar Gerasimovski91ee5472021-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 Gerasimovskia7fd6fa2021-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 Wang87821222019-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 Hiramatsu7a672052021-06-04 18:43:55 +09001675 select GPIO_EXTRA_HEADER
Jianchao Wang87821222019-07-19 00:30:01 +03001676 imply SCSI
1677
Feng Li20c700f2016-11-03 14:15:17 +08001678config TARGET_LS1021AIOT
1679 bool "Support ls1021aiot"
Michal Simek5ed063d2018-07-23 15:55:13 +02001680 select ARCH_LS1021A
1681 select ARCH_SUPPORT_PSCI
Tom Rinie5ec4812017-01-22 19:43:11 -05001682 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301683 select CPU_V7A
Feng Li20c700f2016-11-03 14:15:17 +08001684 select CPU_V7_HAS_NONSEC
1685 select CPU_V7_HAS_VIRT
Tom Rini2b210542022-12-02 16:42:40 -05001686 select PEN_ADDR_BIG_ENDIAN
Feng Li20c700f2016-11-03 14:15:17 +08001687 select SUPPORT_SPL
Lukasz Majewski28964222020-06-04 23:11:52 +08001688 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001689 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001690 imply SCSI
Feng Li20c700f2016-11-03 14:15:17 +08001691 help
1692 Support for Freescale LS1021AIOT platform.
1693 The LS1021A Freescale board (IOT) is a high-performance
1694 development platform that supports the QorIQ LS1021A
1695 Layerscape Architecture processor.
1696
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001697config TARGET_LS1043AQDS
1698 bool "Support ls1043aqds"
York Sun0a37cf82016-09-26 08:09:27 -07001699 select ARCH_LS1043A
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001700 select ARM64
1701 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001702 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001703 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001704 select BOARD_LATE_INIT
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001705 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001706 select FSL_DDR_INTERACTIVE if !SPL
Lukasz Majewski044a66c2020-06-04 23:11:51 +08001707 select FSL_DSPI if !SPL_NO_DSPI
1708 select DM_SPI_FLASH if FSL_DSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001709 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001710 imply SCSI
Peng Maf11e4922019-01-30 19:11:49 +08001711 imply SCSI_AHCI
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001712 help
1713 Support for Freescale LS1043AQDS platform.
1714
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001715config TARGET_LS1043ARDB
1716 bool "Support ls1043ardb"
York Sun0a37cf82016-09-26 08:09:27 -07001717 select ARCH_LS1043A
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001718 select ARM64
Hou Zhiqiang831c0682015-10-26 19:47:57 +08001719 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001720 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001721 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001722 select BOARD_LATE_INIT
Gong Qianyu3ad44722015-10-26 19:47:53 +08001723 select SUPPORT_SPL
Lukasz Majewski044a66c2020-06-04 23:11:51 +08001724 select FSL_DSPI if !SPL_NO_DSPI
1725 select DM_SPI_FLASH if FSL_DSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001726 select GPIO_EXTRA_HEADER
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001727 help
1728 Support for Freescale LS1043ARDB platform.
1729
Shaohui Xie126fe702016-09-07 17:56:14 +08001730config TARGET_LS1046AQDS
1731 bool "Support ls1046aqds"
York Sunda28e582016-09-26 08:09:24 -07001732 select ARCH_LS1046A
Shaohui Xie126fe702016-09-07 17:56:14 +08001733 select ARM64
1734 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001735 select ARCH_SUPPORT_TFABOOT
Simon Glassa5d67542017-01-23 13:31:20 -07001736 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +02001737 select BOARD_LATE_INIT
1738 select DM_SPI_FLASH if DM_SPI
1739 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001740 select FSL_DDR_BIST if !SPL
1741 select FSL_DDR_INTERACTIVE if !SPL
1742 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001743 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001744 imply SCSI
Shaohui Xie126fe702016-09-07 17:56:14 +08001745 help
1746 Support for Freescale LS1046AQDS platform.
1747 The LS1046A Development System (QDS) is a high-performance
1748 development platform that supports the QorIQ LS1046A
1749 Layerscape Architecture processor.
1750
Mingkai Hudd029362016-09-07 18:47:28 +08001751config TARGET_LS1046ARDB
1752 bool "Support ls1046ardb"
York Sunda28e582016-09-26 08:09:24 -07001753 select ARCH_LS1046A
Mingkai Hudd029362016-09-07 18:47:28 +08001754 select ARM64
1755 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001756 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001757 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001758 select BOARD_LATE_INIT
Mingkai Hudd029362016-09-07 18:47:28 +08001759 select DM_SPI_FLASH if DM_SPI
Hou Zhiqiangdccef2e2016-12-09 16:09:01 +08001760 select POWER_MC34VR500
Michal Simek5ed063d2018-07-23 15:55:13 +02001761 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001762 select FSL_DDR_BIST
1763 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001764 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001765 imply SCSI
Mingkai Hudd029362016-09-07 18:47:28 +08001766 help
1767 Support for Freescale LS1046ARDB platform.
1768 The LS1046A Reference Design Board (RDB) is a high-performance
1769 development platform that supports the QorIQ LS1046A
1770 Layerscape Architecture processor.
1771
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001772config TARGET_LS1046AFRWY
1773 bool "Support ls1046afrwy"
1774 select ARCH_LS1046A
1775 select ARM64
1776 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001777 select ARCH_SUPPORT_TFABOOT
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001778 select BOARD_EARLY_INIT_F
1779 select BOARD_LATE_INIT
1780 select DM_SPI_FLASH if DM_SPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001781 select GPIO_EXTRA_HEADER
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001782 imply SCSI
1783 help
1784 Support for Freescale LS1046AFRWY platform.
1785 The LS1046A Freeway Board (FRWY) is a high-performance
1786 development platform that supports the QorIQ LS1046A
1787 Layerscape Architecture processor.
Masahiro Yamadadd840582014-07-30 14:08:14 +09001788
Michael Walle4ceb5c62020-10-15 23:08:57 +02001789config TARGET_SL28
1790 bool "Support sl28"
1791 select ARCH_LS1028A
1792 select ARM64
1793 select ARMV8_MULTIENTRY
1794 select SUPPORT_SPL
1795 select BINMAN
Michael Walle356a3382021-03-26 19:40:57 +01001796 select DM
1797 select DM_GPIO
1798 select DM_I2C
1799 select DM_MMC
1800 select DM_SPI_FLASH
Michael Walle356a3382021-03-26 19:40:57 +01001801 select DM_MDIO
Simon Glass3232bdf2021-08-01 18:54:44 -06001802 select PCI
Michael Walle356a3382021-03-26 19:40:57 +01001803 select DM_RNG
1804 select DM_RTC
1805 select DM_SCSI
Michael Walle6d1ab4a2021-03-26 19:40:58 +01001806 select DM_SERIAL
Michael Walle356a3382021-03-26 19:40:57 +01001807 select DM_SPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001808 select GPIO_EXTRA_HEADER
Michael Walle356a3382021-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 Walle4ceb5c62020-10-15 23:08:57 +02001815 help
1816 Support for Kontron SMARC-sAL28 board.
1817
Mathew McBridea1d2fd32022-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 Yamada66cba042014-10-03 19:21:07 +09001833config ARCH_UNIPHIER
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +09001834 bool "Socionext UniPhier SoCs"
Tom Rinie5ec4812017-01-22 19:43:11 -05001835 select BOARD_LATE_INIT
Masahiro Yamada4e819952015-03-31 12:47:54 +09001836 select DM
Masahiro Yamadab800cbd2016-02-16 17:03:50 +09001837 select DM_GPIO
Masahiro Yamada4e819952015-03-31 12:47:54 +09001838 select DM_I2C
Masahiro Yamada4aceb3f2016-02-18 19:52:49 +09001839 select DM_MMC
Masahiro Yamada407b01b2020-01-30 22:07:59 +09001840 select DM_MTD
Masahiro Yamada4fb96c42016-10-08 13:25:31 +09001841 select DM_RESET
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001842 select DM_SERIAL
Masahiro Yamada65fce762018-07-19 16:28:25 +09001843 select OF_BOARD_SETUP
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001844 select OF_CONTROL
1845 select OF_LIBFDT
Masahiro Yamada27350c92016-09-17 03:33:01 +09001846 select PINCTRL
Ley Foon Tan0680f1b2017-05-03 17:13:32 +08001847 select SPL_BOARD_INIT if SPL
Masahiro Yamada561ca642017-01-21 18:05:22 +09001848 select SPL_DM if SPL
1849 select SPL_LIBCOMMON_SUPPORT if SPL
1850 select SPL_LIBGENERIC_SUPPORT if SPL
1851 select SPL_OF_CONTROL if SPL
1852 select SPL_PINCTRL if SPL
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001853 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +02001854 imply CMD_DM
Masahiro Yamada7ef5b1e2018-07-20 21:47:18 +09001855 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001856 imply FAT_WRITE
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +09001857 help
1858 Support for UniPhier SoC family developed by Socionext Inc.
1859 (formerly, System LSI Business Division of Panasonic Corporation)
Masahiro Yamada66cba042014-10-03 19:21:07 +09001860
Masami Hiramatsu5cd4a352021-06-04 18:45:10 +09001861config ARCH_SYNQUACER
1862 bool "Socionext SynQuacer SoCs"
1863 select ARM64
1864 select DM
1865 select GIC_V3
1866 select PSCI_RESET
1867 select SYSRESET
1868 select SYSRESET_PSCI
1869 select OF_CONTROL
1870 help
1871 Support for SynQuacer SoC family developed by Socionext Inc.
1872 This SoC is used on 96boards EE DeveloperBox.
1873
Trevor Woerner71f63542020-05-06 08:02:42 -04001874config ARCH_STM32
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001875 bool "Support STMicroelectronics STM32 MCU with cortex M"
rev13@wp.pled09a552015-03-01 12:44:42 +01001876 select CPU_V7M
Kamil Lulko66562412015-12-01 09:08:19 +01001877 select DM
1878 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001879 imply CMD_DM
rev13@wp.pled09a552015-03-01 12:44:42 +01001880
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001881config ARCH_STI
Patrick Delaunayeae488b2022-05-20 18:38:10 +02001882 bool "Support STMicroelectronics SoCs"
Michal Simek5ed063d2018-07-23 15:55:13 +02001883 select BLK
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301884 select CPU_V7A
Patrice Chotard214a17e2017-02-21 13:37:07 +01001885 select DM
Patrice Chotardeee20f82017-02-21 13:37:09 +01001886 select DM_MMC
Patrice Chotard584861f2017-03-22 10:54:03 +01001887 select DM_RESET
Michal Simek5ed063d2018-07-23 15:55:13 +02001888 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001889 imply CMD_DM
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001890 help
1891 Support for STMicroelectronics STiH407/10 SoC family.
1892 This SoC is used on Linaro 96Board STiH410-B2260
1893
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001894config ARCH_STM32MP
1895 bool "Support STMicroelectronics STM32MP Socs with cortex A"
Patrick Delaunay08772f62018-03-20 10:54:53 +01001896 select ARCH_MISC_INIT
Patrick Delaunay654706b2020-04-01 09:07:33 +02001897 select ARCH_SUPPORT_TFABOOT
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001898 select BOARD_LATE_INIT
1899 select CLK
1900 select DM
1901 select DM_GPIO
1902 select DM_RESET
1903 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001904 select MISC
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001905 select OF_CONTROL
1906 select OF_LIBFDT
Patrick Delaunay05d36932019-07-05 17:20:14 +02001907 select OF_SYSTEM_SETUP
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001908 select PINCTRL
1909 select REGMAP
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001910 select SYSCON
Patrick Delaunay86634a92018-03-20 14:15:06 +01001911 select SYSRESET
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001912 select SYS_THUMB_BUILD
Kever Yang09259fc2019-04-02 20:41:25 +08001913 imply SPL_SYSRESET
Michal Simek08a00cb2018-07-23 15:55:14 +02001914 imply CMD_DM
Patrick Delaunayc16cc4f2019-04-12 11:55:46 +02001915 imply CMD_POWEROFF
Patrick Delaunayf2193612019-07-30 19:16:28 +02001916 imply OF_LIBFDT_OVERLAY
Patrick Delaunayb4ae34b2019-02-27 17:01:11 +01001917 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Patrick Delaunayce3772c2019-04-18 17:32:38 +02001918 imply USE_PREBOOT
Simon Glassd6b318d2021-12-18 11:27:50 -07001919 imply TIMESTAMP
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001920 help
1921 Support for STM32MP SoC family developed by STMicroelectronics,
1922 MPUs based on ARM cortex A core
Patrick Delaunayabf26782019-02-12 11:44:39 +01001923 U-BOOT is running in DDR, loaded by the First Stage BootLoader (FSBL).
1924 FSBL can be TF-A: Trusted Firmware for Cortex A, for trusted boot
1925 chain.
1926 SPL is the unsecure FSBL for the basic boot chain.
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001927
Simon Glass2444dae2015-08-30 16:55:38 -06001928config ARCH_ROCKCHIP
1929 bool "Support Rockchip SoCs"
Simon Glassaa150382016-06-12 23:30:14 -06001930 select BLK
Quentin Schulz05713d52022-09-02 15:10:52 +02001931 select BINMAN if SPL_OPTEE || SPL
Simon Glass2444dae2015-08-30 16:55:38 -06001932 select DM
Simon Glassaa150382016-06-12 23:30:14 -06001933 select DM_GPIO
1934 select DM_I2C
1935 select DM_MMC
Michal Simek5ed063d2018-07-23 15:55:13 +02001936 select DM_PWM
1937 select DM_REGULATOR
Simon Glassaa150382016-06-12 23:30:14 -06001938 select DM_SERIAL
1939 select DM_SPI
1940 select DM_SPI_FLASH
Philipp Tomsich14ad6eb2017-10-10 16:21:03 +02001941 select ENABLE_ARM_SOC_BOOT0_HOOK
Michal Simek5ed063d2018-07-23 15:55:13 +02001942 select OF_CONTROL
Adam Fordf1b1f772018-04-15 13:51:26 -04001943 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +02001944 select SPL_DM if SPL
Lukasz Majewski56c40462020-06-04 23:11:53 +08001945 select SPL_DM_SPI if SPL
1946 select SPL_DM_SPI_FLASH if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001947 select SYS_MALLOC_F
1948 select SYS_THUMB_BUILD if !ARM64
1949 imply ADC
Michal Simek08a00cb2018-07-23 15:55:14 +02001950 imply CMD_DM
Kever Yangb0a569d2019-03-29 09:08:58 +08001951 imply DEBUG_UART_BOARD_INIT
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001952 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001953 imply FAT_WRITE
Philipp Tomsich8e8bccc2017-09-20 13:50:13 +02001954 imply SARADC_ROCKCHIP
Michal Simek5ed063d2018-07-23 15:55:13 +02001955 imply SPL_SYSRESET
Thomas Hebb64eff472019-11-15 08:48:57 -08001956 imply SPL_SYS_MALLOC_SIMPLE
Kever Yangc3c03312018-04-19 11:37:09 +08001957 imply SYS_NS16550
Michal Simek5ed063d2018-07-23 15:55:13 +02001958 imply TPL_SYSRESET
1959 imply USB_FUNCTION_FASTBOOT
Simon Glass2444dae2015-08-30 16:55:38 -06001960
Suneel Garapati03c22882019-10-19 18:37:55 -07001961config ARCH_OCTEONTX
1962 bool "Support OcteonTX SoCs"
Stefan Roese7a780742020-09-23 11:01:30 +02001963 select CLK
Suneel Garapati03c22882019-10-19 18:37:55 -07001964 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001965 select GPIO_EXTRA_HEADER
Suneel Garapati03c22882019-10-19 18:37:55 -07001966 select ARM64
1967 select OF_CONTROL
1968 select OF_LIVE
1969 select BOARD_LATE_INIT
1970 select SYS_CACHE_SHIFT_7
Tom Rini7856cd52021-12-12 22:12:32 -05001971 select SYS_PCI_64BIT if PCI
Simon Glass239d22c2021-12-16 20:59:36 -07001972 imply OF_HAS_PRIOR_STAGE
Suneel Garapati0a668f62019-10-19 18:47:37 -07001973
1974config ARCH_OCTEONTX2
1975 bool "Support OcteonTX2 SoCs"
Stefan Roese7a780742020-09-23 11:01:30 +02001976 select CLK
Suneel Garapati0a668f62019-10-19 18:47:37 -07001977 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001978 select GPIO_EXTRA_HEADER
Suneel Garapati0a668f62019-10-19 18:47:37 -07001979 select ARM64
1980 select OF_CONTROL
1981 select OF_LIVE
1982 select BOARD_LATE_INIT
1983 select SYS_CACHE_SHIFT_7
Tom Rini7856cd52021-12-12 22:12:32 -05001984 select SYS_PCI_64BIT if PCI
Simon Glass239d22c2021-12-16 20:59:36 -07001985 imply OF_HAS_PRIOR_STAGE
Suneel Garapati0a668f62019-10-19 18:47:37 -07001986
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07001987config TARGET_THUNDERX_88XX
1988 bool "Support ThunderX 88xx"
Marek Vasutb4ba1692016-06-01 02:33:53 +02001989 select ARM64
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001990 select GPIO_EXTRA_HEADER
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07001991 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001992 select PL01X_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001993 select SYS_CACHE_SHIFT_7
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07001994
maxims@google.com4697abe2017-01-18 13:44:55 -08001995config ARCH_ASPEED
1996 bool "Support Aspeed SoCs"
maxims@google.com4697abe2017-01-18 13:44:55 -08001997 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +02001998 select OF_CONTROL
Michal Simek08a00cb2018-07-23 15:55:14 +02001999 imply CMD_DM
maxims@google.com4697abe2017-01-18 13:44:55 -08002000
liu haoe3aafef2019-10-31 07:51:08 +00002001config TARGET_DURIAN
2002 bool "Support Phytium Durian Platform"
2003 select ARM64
Masami Hiramatsu7a672052021-06-04 18:43:55 +09002004 select GPIO_EXTRA_HEADER
liu haoe3aafef2019-10-31 07:51:08 +00002005 help
2006 Support for durian platform.
2007 It has 2GB Sdram, uart and pcie.
2008
weichangzhengb9d0f002022-03-02 15:09:05 +08002009config TARGET_POMELO
2010 bool "Support Phytium Pomelo Platform"
2011 select ARM64
2012 select DM
2013 select AHCI
2014 select SCSI_AHCI
2015 select AHCI_PCI
2016 select BLK
2017 select PCI
2018 select DM_PCI
2019 select SCSI
2020 select DM_SCSI
2021 select DM_SERIAL
weichangzhengb9d0f002022-03-02 15:09:05 +08002022 imply CMD_PCI
2023 help
2024 Support for pomelo platform.
2025 It has 8GB Sdram, uart and pcie.
2026
Alex Nemirovsky7d706a82020-01-30 12:34:59 -08002027config TARGET_PRESIDIO_ASIC
2028 bool "Support Cortina Presidio ASIC Platform"
2029 select ARM64
Tom Rini5afdcca2021-08-19 14:19:39 -04002030 select GICV2
Alex Nemirovsky7d706a82020-01-30 12:34:59 -08002031
Andrii Anisov770a8ee2020-08-06 12:42:47 +03002032config TARGET_XENGUEST_ARM64
2033 bool "Xen guest ARM64"
2034 select ARM64
2035 select XEN
2036 select OF_CONTROL
2037 select LINUX_KERNEL_IMAGE_HEADER
Peng Fan384d5cf2020-08-06 12:42:50 +03002038 select XEN_SERIAL
Oleksandr Andrushchenko60e49ff2020-08-06 12:42:53 +03002039 select SSCANF
Simon Glass239d22c2021-12-16 20:59:36 -07002040 imply OF_HAS_PRIOR_STAGE
2041
Nick Hawkins4276c9b2022-06-08 16:21:34 -05002042config ARCH_GXP
2043 bool "Support HPE GXP SoCs"
2044 select DM
2045 select OF_CONTROL
2046 imply CMD_DM
2047
Masahiro Yamadadd840582014-07-30 14:08:14 +09002048endchoice
2049
Tom Rini97744622021-08-30 09:16:30 -04002050config SUPPORT_PASSING_ATAGS
2051 bool "Support pre-devicetree ATAG-based booting"
2052 depends on !ARM64
2053 imply SETUP_MEMORY_TAGS
2054 help
2055 Support for booting older Linux kernels, using ATAGs rather than
2056 passing a devicetree. This is option is rarely used, and the
2057 semantics are defined at
2058 https://www.kernel.org/doc/Documentation/arm/Booting at section 4a.
2059
2060config SETUP_MEMORY_TAGS
2061 bool "Pass memory size information via ATAG"
2062 depends on SUPPORT_PASSING_ATAGS
2063
2064config CMDLINE_TAG
2065 bool "Pass Linux kernel cmdline via ATAG"
2066 depends on SUPPORT_PASSING_ATAGS
2067
2068config INITRD_TAG
2069 bool "Pass initrd starting point and size via ATAG"
2070 depends on SUPPORT_PASSING_ATAGS
2071
2072config REVISION_TAG
2073 bool "Pass system revision via ATAG"
2074 depends on SUPPORT_PASSING_ATAGS
2075
2076config SERIAL_TAG
2077 bool "Pass system serial number via ATAG"
2078 depends on SUPPORT_PASSING_ATAGS
2079
Tom Rini87e8d382021-08-30 09:16:31 -04002080config STATIC_MACH_TYPE
2081 bool "Statically define the Machine ID number"
Pali Rohár012d4be2022-08-11 22:29:03 +02002082 default y if TARGET_DS109 || TARGET_NOKIA_RX51 || TARGET_DS414 || DEFAULT_DEVICE_TREE = "sun7i-a20-icnova-swac"
Tom Rini87e8d382021-08-30 09:16:31 -04002083 help
2084 When booting via ATAGs, enable this option if we know the correct
2085 machine ID number to use at compile time. Some systems will be
2086 passed the number dynamically by whatever loads U-Boot.
2087
2088config MACH_TYPE
2089 int "Machine ID number"
2090 depends on STATIC_MACH_TYPE
Pali Rohár012d4be2022-08-11 22:29:03 +02002091 default 527 if TARGET_DS109
2092 default 1955 if TARGET_NOKIA_RX51
2093 default 3036 if TARGET_DS414
2094 default 4283 if DEFAULT_DEVICE_TREE = "sun7i-a20-icnova-swac"
Tom Rini87e8d382021-08-30 09:16:31 -04002095 help
2096 When booting via ATAGs, the machine type must be passed as a number.
2097 For the full list see https://www.arm.linux.org.uk/developer/machines
2098
AKASHI Takahiro6324d502019-07-03 10:44:39 +09002099config ARCH_SUPPORT_TFABOOT
2100 bool
2101
2102config TFABOOT
2103 bool "Support for booting from TF-A"
2104 depends on ARCH_SUPPORT_TFABOOT
AKASHI Takahiro6324d502019-07-03 10:44:39 +09002105 help
Andre Przywaracee2e022020-09-30 15:45:07 +01002106 Some platforms support the setup of secure registers (for instance
2107 for CPU errata handling) or provide secure services like PSCI.
2108 Those services could also be provided by other firmware parts
2109 like TF-A (Trusted Firmware for Cortex-A), in which case U-Boot
2110 does not need to (and cannot) execute this code.
2111 Enabling this option will make a U-Boot binary that is relying
2112 on other firmware layers to provide secure functionality.
AKASHI Takahiro6324d502019-07-03 10:44:39 +09002113
Andrew F. Davis5fbed8f2018-02-14 11:53:37 -06002114config TI_SECURE_DEVICE
2115 bool "HS Device Type Support"
Andrew F. Davis3a543a82019-04-12 12:54:45 -04002116 depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
Andrew F. Davis5fbed8f2018-02-14 11:53:37 -06002117 help
2118 If a high secure (HS) device type is being used, this config
2119 must be set. This option impacts various aspects of the
2120 build system (to create signed boot images that can be
2121 authenticated) and the code. See the doc/README.ti-secure
2122 file for further details.
2123
Tom Rini440c00d2021-12-17 18:08:45 -05002124config SYS_KWD_CONFIG
2125 string "kwbimage config file path"
2126 depends on ARCH_KIRKWOOD || ARCH_MVEBU
2127 default "arch/arm/mach-mvebu/kwbimage.cfg"
2128 help
2129 Path within the source directory to the kwbimage.cfg file to use
2130 when packaging the U-Boot image for use.
2131
Mark Kettenis003b6572021-10-23 16:58:03 +02002132source "arch/arm/mach-apple/Kconfig"
2133
maxims@google.com4697abe2017-01-18 13:44:55 -08002134source "arch/arm/mach-aspeed/Kconfig"
2135
Masahiro Yamada4614b892015-02-20 17:04:01 +09002136source "arch/arm/mach-at91/Kconfig"
2137
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +09002138source "arch/arm/mach-bcm283x/Kconfig"
Masahiro Yamada3491ba62014-08-31 07:11:01 +09002139
William Zhangf8209d32022-05-09 09:28:02 -07002140source "arch/arm/mach-bcmbca/Kconfig"
2141
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -04002142source "arch/arm/mach-bcmstb/Kconfig"
2143
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +09002144source "arch/arm/mach-davinci/Kconfig"
Simon Glass34e609c2015-02-05 21:41:39 -07002145
Thomas Abraham77b55e82015-08-03 17:58:00 +05302146source "arch/arm/mach-exynos/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +09002147
Nick Hawkins4276c9b2022-06-08 16:21:34 -05002148source "arch/arm/mach-hpe/gxp/Kconfig"
2149
Masahiro Yamada72a8ff42015-02-20 17:04:08 +09002150source "arch/arm/mach-highbank/Kconfig"
Masahiro Yamadaef2b6942014-08-31 07:11:07 +09002151
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +09002152source "arch/arm/mach-integrator/Kconfig"
2153
Robert Markoe479a7d2020-07-06 10:37:54 +02002154source "arch/arm/mach-ipq40xx/Kconfig"
2155
Lokesh Vutla586bde92018-08-27 15:57:08 +05302156source "arch/arm/mach-k3/Kconfig"
2157
Masahiro Yamada39a72342015-02-20 17:04:11 +09002158source "arch/arm/mach-keystone/Kconfig"
Masahiro Yamadac338f092014-08-31 07:11:05 +09002159
Masahiro Yamada56f86e32015-02-20 17:04:06 +09002160source "arch/arm/mach-kirkwood/Kconfig"
Masahiro Yamada47539e22014-08-31 07:10:59 +09002161
Trevor Woernerb3d9a8b2020-05-06 08:02:36 -04002162source "arch/arm/mach-lpc32xx/Kconfig"
Vladimir Zapolskiyee54dfe2018-09-17 21:43:03 +03002163
Stefan Roesec3d89142015-08-25 13:18:38 +02002164source "arch/arm/mach-mvebu/Kconfig"
2165
Suneel Garapati03c22882019-10-19 18:37:55 -07002166source "arch/arm/mach-octeontx/Kconfig"
Suneel Garapati0a668f62019-10-19 18:47:37 -07002167
2168source "arch/arm/mach-octeontx2/Kconfig"
2169
York Sun0a37cf82016-09-26 08:09:27 -07002170source "arch/arm/cpu/armv7/ls102xa/Kconfig"
2171
Magnus Lilja3159ec62018-05-11 14:06:54 +02002172source "arch/arm/mach-imx/mx3/Kconfig"
2173
Peng Fan7a7391f2018-01-10 13:20:19 +08002174source "arch/arm/mach-imx/mx5/Kconfig"
Adrian Alonso1a8150d2015-09-03 11:49:28 -05002175
Stefano Babic552a8482017-06-29 10:16:06 +02002176source "arch/arm/mach-imx/mx6/Kconfig"
Boris BREZILLON89ebc822015-03-04 13:13:03 +01002177
Peng Fan7a7391f2018-01-10 13:20:19 +08002178source "arch/arm/mach-imx/mx7/Kconfig"
2179
2180source "arch/arm/mach-imx/mx7ulp/Kconfig"
2181
Peng Fanb2b8b9b2018-10-18 14:28:08 +02002182source "arch/arm/mach-imx/imx8/Kconfig"
2183
Peng Fancd357ad2018-11-20 10:19:25 +00002184source "arch/arm/mach-imx/imx8m/Kconfig"
Andrej Rosano424ee3d2015-04-08 18:56:29 +02002185
Peng Fan19b990b2021-08-07 16:00:30 +08002186source "arch/arm/mach-imx/imx8ulp/Kconfig"
2187
Peng Fan881df6e2022-07-26 16:40:39 +08002188source "arch/arm/mach-imx/imx9/Kconfig"
2189
Giulio Benetti77eb9a92020-01-10 15:51:47 +01002190source "arch/arm/mach-imx/imxrt/Kconfig"
2191
Stefan Agnerc5343d42018-02-06 09:44:34 +01002192source "arch/arm/mach-imx/mxs/Kconfig"
2193
Tom Rini983e3702016-11-07 21:34:54 -05002194source "arch/arm/mach-omap2/Kconfig"
Madan Srinivas63847262016-05-19 19:10:43 -05002195
York Sunda28e582016-09-26 08:09:24 -07002196source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
2197
Masahiro Yamada3e93b4e2015-02-20 17:04:09 +09002198source "arch/arm/mach-orion5x/Kconfig"
Masahiro Yamada22f2be72014-08-31 07:11:06 +09002199
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05302200source "arch/arm/mach-owl/Kconfig"
2201
Nobuhiro Iwamatsubadbb632015-10-09 16:40:09 +09002202source "arch/arm/mach-rmobile/Kconfig"
Masahiro Yamadaf40b9892014-08-31 07:10:57 +09002203
Beniamino Galvanibfcef282016-05-08 08:30:16 +02002204source "arch/arm/mach-meson/Kconfig"
2205
Ryder Leecbd2fba2018-11-15 10:07:52 +08002206source "arch/arm/mach-mediatek/Kconfig"
2207
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03002208source "arch/arm/mach-qemu/Kconfig"
2209
Simon Glass2444dae2015-08-30 16:55:38 -06002210source "arch/arm/mach-rockchip/Kconfig"
2211
Minkyu Kang225f5ee2015-11-20 15:24:57 +09002212source "arch/arm/mach-s5pc1xx/Kconfig"
Simon Glass311757b2014-10-07 22:01:50 -06002213
Mateusz Kulikowski08592132016-03-31 23:12:32 +02002214source "arch/arm/mach-snapdragon/Kconfig"
2215
Masahiro Yamada7865f4b2015-04-21 20:38:20 +09002216source "arch/arm/mach-socfpga/Kconfig"
2217
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01002218source "arch/arm/mach-sti/Kconfig"
2219
Vikas Manocha0a61ee82016-01-15 17:49:06 -08002220source "arch/arm/mach-stm32/Kconfig"
2221
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01002222source "arch/arm/mach-stm32mp/Kconfig"
2223
Masahiro Yamada3abfd882017-04-28 19:42:18 +09002224source "arch/arm/mach-sunxi/Kconfig"
2225
Masahiro Yamada09f455d2015-02-20 17:04:04 +09002226source "arch/arm/mach-tegra/Kconfig"
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09002227
Stephan Gerhold689088f2020-01-04 18:45:17 +01002228source "arch/arm/mach-u8500/Kconfig"
2229
Masahiro Yamada4c425572015-02-27 02:26:42 +09002230source "arch/arm/mach-uniphier/Kconfig"
Masahiro Yamada66cba042014-10-03 19:21:07 +09002231
Stefan Agner7966b432017-03-13 18:41:36 -07002232source "arch/arm/cpu/armv7/vf610/Kconfig"
2233
Masahiro Yamada0107f242015-03-16 16:43:22 +09002234source "arch/arm/mach-zynq/Kconfig"
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09002235
Michal Simek274ccb52019-01-17 08:22:43 +01002236source "arch/arm/mach-zynqmp/Kconfig"
2237
Michal Simekec48b6c2018-08-22 14:55:27 +02002238source "arch/arm/mach-versal/Kconfig"
2239
Michal Simekf6aebdf2022-09-19 14:21:02 +02002240source "arch/arm/mach-versal-net/Kconfig"
2241
Michal Simek1d6c54e2018-04-12 17:39:46 +02002242source "arch/arm/mach-zynqmp-r5/Kconfig"
2243
Hans de Goedeea624e12014-11-14 09:34:30 +01002244source "arch/arm/cpu/armv7/Kconfig"
2245
Linus Walleij23b58772015-03-09 10:53:21 +01002246source "arch/arm/cpu/armv8/Kconfig"
2247
Stefano Babic552a8482017-06-29 10:16:06 +02002248source "arch/arm/mach-imx/Kconfig"
Boris BREZILLONa05a6042015-03-04 13:13:04 +01002249
Stefan Bosch95e9a8e2020-07-10 19:07:26 +02002250source "arch/arm/mach-nexell/Kconfig"
2251
Jim Liu84335542022-04-19 13:32:19 +08002252source "arch/arm/mach-npcm/Kconfig"
2253
Usama Arif565add12020-08-12 16:12:53 +01002254source "board/armltd/total_compute/Kconfig"
Rui Miguel Silvaf98457d2022-05-11 10:55:41 +01002255source "board/armltd/corstone1000/Kconfig"
Heiko Schocherd8ccbe92016-06-07 08:31:25 +02002256source "board/bosch/shc/Kconfig"
Sjoerd Simons45123802019-02-25 15:33:00 +00002257source "board/bosch/guardian/Kconfig"
Suneel Garapati03c22882019-10-19 18:37:55 -07002258source "board/Marvell/octeontx/Kconfig"
Suneel Garapati0a668f62019-10-19 18:47:37 -07002259source "board/Marvell/octeontx2/Kconfig"
Kristian Amlie15e30102021-09-07 08:37:51 +02002260source "board/armltd/vexpress/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09002261source "board/armltd/vexpress64/Kconfig"
Alex Nemirovsky7d706a82020-01-30 12:34:59 -08002262source "board/cortina/presidio-asic/Kconfig"
Rayagonda Kokatanur291635a2020-07-15 22:48:55 +05302263source "board/broadcom/bcmns3/Kconfig"
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07002264source "board/cavium/thunderx/Kconfig"
Felix Brack85ab0452018-01-23 18:27:22 +01002265source "board/eets/pdu001/Kconfig"
Bin Meng6f332762018-10-15 02:21:18 -07002266source "board/emulation/qemu-arm/Kconfig"
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05302267source "board/freescale/ls2080aqds/Kconfig"
2268source "board/freescale/ls2080ardb/Kconfig"
Ashish Kumare84a3242017-08-31 16:12:54 +05302269source "board/freescale/ls1088a/Kconfig"
Yuantian Tang353f36d2019-04-10 16:43:34 +08002270source "board/freescale/ls1028a/Kconfig"
Wang Huan550e3dc2014-09-05 13:52:44 +08002271source "board/freescale/ls1021aqds/Kconfig"
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08002272source "board/freescale/ls1043aqds/Kconfig"
Wang Huanc8a7d9d2014-09-05 13:52:45 +08002273source "board/freescale/ls1021atwr/Kconfig"
Jianchao Wang87821222019-07-19 00:30:01 +03002274source "board/freescale/ls1021atsn/Kconfig"
Feng Li20c700f2016-11-03 14:15:17 +08002275source "board/freescale/ls1021aiot/Kconfig"
Shaohui Xie126fe702016-09-07 17:56:14 +08002276source "board/freescale/ls1046aqds/Kconfig"
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08002277source "board/freescale/ls1043ardb/Kconfig"
Mingkai Hudd029362016-09-07 18:47:28 +08002278source "board/freescale/ls1046ardb/Kconfig"
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00002279source "board/freescale/ls1046afrwy/Kconfig"
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05302280source "board/freescale/ls1012aqds/Kconfig"
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05302281source "board/freescale/ls1012ardb/Kconfig"
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05302282source "board/freescale/ls1012afrdm/Kconfig"
Priyanka Jain58c3e622018-11-28 13:04:27 +00002283source "board/freescale/lx2160a/Kconfig"
Marcin Niestrojab38bf62017-01-25 09:53:08 +01002284source "board/grinn/chiliboard/Kconfig"
Tom Rini345243e2015-09-02 15:32:20 -04002285source "board/hisilicon/hikey/Kconfig"
Manivannan Sadhasivamc62c7ef2019-08-02 20:40:09 +05302286source "board/hisilicon/hikey960/Kconfig"
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02002287source "board/hisilicon/poplar/Kconfig"
Ladislav Michla96c08f2017-04-01 17:17:16 +02002288source "board/isee/igep003x/Kconfig"
Michael Walle4ceb5c62020-10-15 23:08:57 +02002289source "board/kontron/sl28/Kconfig"
Parthiban Nallathambi10e959a2020-07-27 16:48:41 +02002290source "board/myir/mys_6ulx/Kconfig"
Tom Rini4982e122022-11-19 18:45:26 -05002291source "board/samsung/common/Kconfig"
Tom Rini3a21d452022-06-10 22:59:35 -04002292source "board/siemens/common/Kconfig"
Navin Sankar Velliangiria3a0bc82021-05-18 09:03:20 +05302293source "board/seeed/npi_imx6ull/Kconfig"
Masami Hiramatsu5cd4a352021-06-04 18:45:10 +09002294source "board/socionext/developerbox/Kconfig"
Vikas Manocha9fa32b12014-11-18 10:42:22 -08002295source "board/st/stv0991/Kconfig"
Enric Balletbò i Serra9d1b2982015-09-07 07:43:20 +02002296source "board/tcl/sl50/Kconfig"
Mathew McBridea1d2fd32022-01-31 18:34:43 +05302297source "board/traverse/ten64/Kconfig"
Parthiban Nallathambid8d33b62019-04-18 00:04:09 +02002298source "board/variscite/dart_6ul/Kconfig"
Yegor Yefremov6ce89322015-05-29 19:27:29 +02002299source "board/vscom/baltos/Kconfig"
liu haoe3aafef2019-10-31 07:51:08 +00002300source "board/phytium/durian/Kconfig"
weichangzhengb9d0f002022-03-02 15:09:05 +08002301source "board/phytium/pomelo/Kconfig"
Andrii Anisov770a8ee2020-08-06 12:42:47 +03002302source "board/xen/xenguest_arm64/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09002303
Masahiro Yamada51b17d42014-09-01 11:06:34 +09002304source "arch/arm/Kconfig.debug"
2305
Masahiro Yamadadd840582014-07-30 14:08:14 +09002306endmenu