blob: a0c1f6b5b1ae2773bf472e1fb8ac92d0240365b5 [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"
Tom Rinic2e5eea2023-04-05 19:48:51 -040015 depends on ARM64 && CC_IS_GCC
Marek Vasut270f8712021-08-30 15:05:23 +020016 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
Jit Loon Lim386fca62024-03-12 22:01:03 +080031 default 200000000 if ARCH_SOCFPGA && ARM64 && TARGET_SOCFPGA_AGILEX5
Peng Fanbf8c4ce2022-04-13 17:47:18 +080032 default 0
33 help
34 For platforms with ARMv8-A and ARMv7-A which features a system
35 counter, those platforms needs software to program the counter
36 frequency. Setup time clock frequency for certain platform.
37 0 means no need to configure the system counter frequency.
38 For platforms needs the frequency set in U-Boot with a
39 pre-defined value, should have the macro defined as a non-zero value.
40
Stephen Warren49e93872017-11-02 18:11:27 -060041config POSITION_INDEPENDENT
42 bool "Generate position-independent pre-relocation code"
Chia-Wei Wangcd82f192021-08-03 10:50:10 +080043 depends on ARM64 || CPU_V7A
Stephen Warren49e93872017-11-02 18:11:27 -060044 help
45 U-Boot expects to be linked to a specific hard-coded address, and to
46 be loaded to and run from that address. This option lifts that
Edgar E. Iglesias11f4fbf2020-09-09 19:07:24 +020047 restriction, thus allowing the code to be loaded to and executed from
48 almost any 4K aligned address. This logic relies on the relocation
Robert P. J. Daye852b302019-12-25 06:34:07 -050049 information that is embedded in the binary to support U-Boot
Stephen Warren49e93872017-11-02 18:11:27 -060050 relocating itself to the top-of-RAM later during execution.
Stephen Warrene6c90442017-12-19 18:30:36 -070051
Masahiro Yamada382de4a2019-06-26 13:51:46 +090052config INIT_SP_RELATIVE
53 bool "Specify the early stack pointer relative to the .bss section"
Chia-Wei Wangaa29b212021-08-03 10:50:09 +080054 depends on ARM64
Andre Przywaraf5cb6c32020-09-30 17:39:18 +010055 default n if ARCH_QEMU
Andre Przywara12650e42020-09-30 17:39:15 +010056 default y if POSITION_INDEPENDENT
Stephen Warrene6c90442017-12-19 18:30:36 -070057 help
58 U-Boot typically uses a hard-coded value for the stack pointer
Masahiro Yamada382de4a2019-06-26 13:51:46 +090059 before relocation. Enable this option to instead calculate the
Stephen Warrene6c90442017-12-19 18:30:36 -070060 initial SP at run-time. This is useful to avoid hard-coding addresses
Robert P. J. Daye852b302019-12-25 06:34:07 -050061 into U-Boot, so that it can be loaded and executed at arbitrary
Masahiro Yamada382de4a2019-06-26 13:51:46 +090062 addresses and thus avoid using arbitrary addresses at runtime.
63
64 If this option is enabled, the early stack pointer is set to
65 &_bss_start with a offset value added. The offset is specified by
66 SYS_INIT_SP_BSS_OFFSET.
67
68config SYS_INIT_SP_BSS_OFFSET
69 int "Early stack offset from the .bss base address"
Chia-Wei Wangaa29b212021-08-03 10:50:09 +080070 depends on ARM64
Masahiro Yamada382de4a2019-06-26 13:51:46 +090071 depends on INIT_SP_RELATIVE
72 default 524288
73 help
74 This option's value is the offset added to &_bss_start in order to
Stephen Warrene6c90442017-12-19 18:30:36 -070075 calculate the stack pointer. This offset should be large enough so
76 that the early malloc region, global data (gd), and early stack usage
77 do not overlap any appended DTB.
Stephen Warren8163faf2018-01-03 14:31:51 -070078
Pali Rohár372779a2022-04-06 16:20:18 +020079config SPL_SYS_NO_VECTOR_TABLE
80 depends on SPL
81 bool
82
Csókás Bence29f390b2023-12-19 14:33:18 +010083config SPL_USE_SEPARATE_FAULT_HANDLERS
84 bool "Use separate fault handlers instead of a single common one"
85 depends on !SPL_SYS_NO_VECTOR_TABLE && !ARM64 && !CPU_V7M
86 help
87 Instead of a common fault handler, generate a separate one for
88 undefined_instruction, software_interrupt, prefetch_abort etc.
89 This is for debugging purposes, when you want to set breakpoints
90 on them separately.
91
Stephen Warren8163faf2018-01-03 14:31:51 -070092config LINUX_KERNEL_IMAGE_HEADER
Chia-Wei Wangaa29b212021-08-03 10:50:09 +080093 depends on ARM64
Stephen Warren8163faf2018-01-03 14:31:51 -070094 bool
95 help
96 Place a Linux kernel image header at the start of the U-Boot binary.
97 The format of the header is described in the Linux kernel source at
98 Documentation/arm64/booting.txt. This feature is useful since the
99 image header reports the amount of memory (BSS and similar) that
100 U-Boot needs to use, but which isn't part of the binary.
101
Stephen Warren8163faf2018-01-03 14:31:51 -0700102config LNX_KRNL_IMG_TEXT_OFFSET_BASE
Chia-Wei Wangaa29b212021-08-03 10:50:09 +0800103 depends on LINUX_KERNEL_IMAGE_HEADER
Stephen Warren8163faf2018-01-03 14:31:51 -0700104 hex
105 help
Simon Glass98463902022-10-20 18:22:39 -0600106 The value subtracted from CONFIG_TEXT_BASE to calculate the
Robert P. J. Daye852b302019-12-25 06:34:07 -0500107 TEXT_OFFSET value written to the Linux kernel image header.
Stephen Warren49e93872017-11-02 18:11:27 -0600108
Tom Rini5afdcca2021-08-19 14:19:39 -0400109config GICV2
110 bool
111
112config GICV3
113 bool
114
Bharat Kumar Reddy Gooty0bc43562019-12-16 09:09:43 -0800115config GIC_V3_ITS
116 bool "ARM GICV3 ITS"
Wasim Khan504f8642021-03-08 16:48:14 +0100117 select IRQ
Bharat Kumar Reddy Gooty0bc43562019-12-16 09:09:43 -0800118 help
119 ARM GICV3 Interrupt translation service (ITS).
120 Basic support for programming locality specific peripheral
121 interrupts (LPI) configuration tables and enable LPI tables.
122 LPI configuration table can be used by u-boot or Linux.
123 ARM GICV3 has limitation, once the LPI table is enabled, LPI
124 configuration table can not be re-programmed, unless GICV3 reset.
125
Stephen Warren49e93872017-11-02 18:11:27 -0600126config STATIC_RELA
127 bool
Andre Przywaraeabc0902020-09-30 17:39:13 +0100128 default y if ARM64
Stephen Warren49e93872017-11-02 18:11:27 -0600129
Lokesh Vutla37217f02016-03-24 16:02:00 +0530130config DMA_ADDR_T_64BIT
131 bool
132 default y if ARM64
133
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100134config HAS_VBAR
Tom Rinie009bfa2016-08-22 08:22:18 -0400135 bool
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100136
Albert ARIBAUD62e92072015-10-23 18:06:40 +0200137config HAS_THUMB2
Tom Rinie009bfa2016-08-22 08:22:18 -0400138 bool
Albert ARIBAUD62e92072015-10-23 18:06:40 +0200139
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900140config GPIO_EXTRA_HEADER
141 bool
142
Phil Edworthy111a6af2017-06-01 07:33:28 +0100143# Used for compatibility with asm files copied from the kernel
144config ARM_ASM_UNIFIED
145 bool
146 default y
147
148# Used for compatibility with asm files copied from the kernel
149config THUMB2_KERNEL
150 bool
151
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400152config SYS_ICACHE_OFF
153 bool "Do not enable icache"
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400154 help
155 Do not enable instruction cache in U-Boot.
156
Trevor Woerner10015022019-05-03 09:41:00 -0400157config SPL_SYS_ICACHE_OFF
158 bool "Do not enable icache in SPL"
159 depends on SPL
160 default SYS_ICACHE_OFF
161 help
162 Do not enable instruction cache in SPL.
163
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400164config SYS_DCACHE_OFF
165 bool "Do not enable dcache"
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400166 help
167 Do not enable data cache in U-Boot.
168
Trevor Woerner10015022019-05-03 09:41:00 -0400169config SPL_SYS_DCACHE_OFF
170 bool "Do not enable dcache in SPL"
171 depends on SPL
172 default SYS_DCACHE_OFF
173 help
174 Do not enable data cache in SPL.
175
Lokesh Vutlaf4bcd762018-04-26 18:21:28 +0530176config SYS_ARM_CACHE_CP15
177 bool "CP15 based cache enabling support"
178 help
179 Select this if your processor suports enabling caches by using
180 CP15 registers.
181
Lokesh Vutla7240b802018-04-26 18:21:27 +0530182config SYS_ARM_MMU
183 bool "MMU-based Paged Memory Management Support"
Lokesh Vutlaf4bcd762018-04-26 18:21:28 +0530184 select SYS_ARM_CACHE_CP15
Lokesh Vutla7240b802018-04-26 18:21:27 +0530185 help
186 Select if you want MMU-based virtualised addressing space
Robert P. J. Daye852b302019-12-25 06:34:07 -0500187 support via paged memory management.
Lokesh Vutla7240b802018-04-26 18:21:27 +0530188
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530189config SYS_ARM_MPU
190 bool 'Use the ARM v7 PMSA Compliant MPU'
191 help
192 Some ARM systems without an MMU have instead a Memory Protection
193 Unit (MPU) that defines the type and permissions for regions of
194 memory.
195 If your CPU has an MPU then you should choose 'y' here unless you
196 know that you do not want to use the MPU.
197
Tom Rini8dda2e22017-03-07 07:13:42 -0500198# If set, the workarounds for these ARM errata are applied early during U-Boot
199# startup. Note that in general these options force the workarounds to be
200# applied; no CPU-type/version detection exists, unlike the similar options in
201# the Linux kernel. Do not set these options unless they apply! Also note that
Robert P. J. Daye852b302019-12-25 06:34:07 -0500202# the following can be machine-specific errata. These do have ability to
203# provide rudimentary version and machine-specific checks, but expect no
Tom Rini8dda2e22017-03-07 07:13:42 -0500204# product checks:
205# CONFIG_ARM_ERRATA_430973
206# CONFIG_ARM_ERRATA_454179
207# CONFIG_ARM_ERRATA_621766
208# CONFIG_ARM_ERRATA_798870
209# CONFIG_ARM_ERRATA_801819
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500210# CONFIG_ARM_CORTEX_A8_CVE_2017_5715
Nishanth Menonc2ca3fd2018-06-12 15:24:09 -0500211# CONFIG_ARM_CORTEX_A15_CVE_2017_5715
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500212
Tom Rini8dda2e22017-03-07 07:13:42 -0500213config ARM_ERRATA_430973
214 bool
215
216config ARM_ERRATA_454179
217 bool
218
219config ARM_ERRATA_621766
220 bool
221
222config ARM_ERRATA_716044
223 bool
224
Siarhei Siamashka19a75b82017-03-06 03:16:53 +0200225config ARM_ERRATA_725233
226 bool
227
Tom Rini8dda2e22017-03-07 07:13:42 -0500228config ARM_ERRATA_742230
229 bool
230
231config ARM_ERRATA_743622
232 bool
233
234config ARM_ERRATA_751472
235 bool
236
237config ARM_ERRATA_761320
238 bool
239
240config ARM_ERRATA_773022
241 bool
242
243config ARM_ERRATA_774769
244 bool
245
246config ARM_ERRATA_794072
247 bool
248
249config ARM_ERRATA_798870
250 bool
251
252config ARM_ERRATA_801819
253 bool
254
255config ARM_ERRATA_826974
256 bool
257
258config ARM_ERRATA_828024
259 bool
260
261config ARM_ERRATA_829520
262 bool
263
264config ARM_ERRATA_833069
265 bool
266
267config ARM_ERRATA_833471
268 bool
269
Peng Fan11d94312017-08-08 13:34:52 +0800270config ARM_ERRATA_845369
Michal Simek6e7bdde2018-07-23 15:55:12 +0200271 bool
Peng Fan11d94312017-08-08 13:34:52 +0800272
Nisal Menuka87763502017-04-26 16:18:01 -0500273config ARM_ERRATA_852421
274 bool
275
276config ARM_ERRATA_852423
277 bool
278
Alison Wangab0ab542017-12-28 13:00:55 +0800279config ARM_ERRATA_855873
280 bool
281
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500282config ARM_CORTEX_A8_CVE_2017_5715
283 bool
284
Nishanth Menonc2ca3fd2018-06-12 15:24:09 -0500285config ARM_CORTEX_A15_CVE_2017_5715
286 bool
287
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100288config CPU_ARM720T
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
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100292
293config CPU_ARM920T
Tom Rinie009bfa2016-08-22 08:22:18 -0400294 bool
Tom Rini067716b2016-08-22 08:22:17 -0400295 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530296 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100297
298config CPU_ARM926EJS
Tom Rinie009bfa2016-08-22 08:22:18 -0400299 bool
Tom Rini067716b2016-08-22 08:22:17 -0400300 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530301 imply SYS_ARM_MMU
Sean Anderson1dd56db2022-04-12 10:59:04 -0400302 imply SPL_SEPARATE_BSS
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100303
304config CPU_ARM946ES
Tom Rinie009bfa2016-08-22 08:22:18 -0400305 bool
Tom Rini067716b2016-08-22 08:22:17 -0400306 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530307 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100308
309config CPU_ARM1136
Tom Rinie009bfa2016-08-22 08:22:18 -0400310 bool
Tom Rini067716b2016-08-22 08:22:17 -0400311 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530312 imply SYS_ARM_MMU
Sean Anderson1dd56db2022-04-12 10:59:04 -0400313 imply SPL_SEPARATE_BSS
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100314
315config CPU_ARM1176
Tom Rinie009bfa2016-08-22 08:22:18 -0400316 bool
317 select HAS_VBAR
Tom Rini067716b2016-08-22 08:22:17 -0400318 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530319 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100320
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530321config CPU_V7A
Tom Rinie009bfa2016-08-22 08:22:18 -0400322 bool
Tom Rinie009bfa2016-08-22 08:22:18 -0400323 select HAS_THUMB2
Michal Simek5ed063d2018-07-23 15:55:13 +0200324 select HAS_VBAR
Tom Rini067716b2016-08-22 08:22:17 -0400325 select SYS_CACHE_SHIFT_6
Lokesh Vutla7240b802018-04-26 18:21:27 +0530326 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100327
rev13@wp.pl12d8a722015-03-01 12:44:39 +0100328config CPU_V7M
329 bool
Tom Rinie009bfa2016-08-22 08:22:18 -0400330 select HAS_THUMB2
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530331 select SYS_ARM_MPU
Michal Simek5ed063d2018-07-23 15:55:13 +0200332 select SYS_CACHE_SHIFT_5
Tom Riniea37f0b2018-05-07 20:46:52 -0400333 select SYS_THUMB_BUILD
Michal Simek5ed063d2018-07-23 15:55:13 +0200334 select THUMB2_KERNEL
rev13@wp.pl12d8a722015-03-01 12:44:39 +0100335
Michal Simek4bbd6b12018-04-26 18:21:29 +0530336config CPU_V7R
337 bool
338 select HAS_THUMB2
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530339 select SYS_ARM_CACHE_CP15
Michal Simek5ed063d2018-07-23 15:55:13 +0200340 select SYS_ARM_MPU
341 select SYS_CACHE_SHIFT_6
Michal Simek4bbd6b12018-04-26 18:21:29 +0530342
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100343config SYS_CPU
Tom Rinie009bfa2016-08-22 08:22:18 -0400344 default "arm720t" if CPU_ARM720T
345 default "arm920t" if CPU_ARM920T
346 default "arm926ejs" if CPU_ARM926EJS
347 default "arm946es" if CPU_ARM946ES
348 default "arm1136" if CPU_ARM1136
349 default "arm1176" if CPU_ARM1176
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530350 default "armv7" if CPU_V7A
Michal Simek4bbd6b12018-04-26 18:21:29 +0530351 default "armv7" if CPU_V7R
Tom Rinie009bfa2016-08-22 08:22:18 -0400352 default "armv7m" if CPU_V7M
Masahiro Yamada01541ee2014-11-06 11:39:27 +0900353 default "armv8" if ARM64
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100354
Marek Vasut66020a62016-05-26 18:01:36 +0200355config SYS_ARM_ARCH
356 int
357 default 4 if CPU_ARM720T
358 default 4 if CPU_ARM920T
359 default 5 if CPU_ARM926EJS
360 default 5 if CPU_ARM946ES
361 default 6 if CPU_ARM1136
362 default 6 if CPU_ARM1176
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530363 default 7 if CPU_V7A
Marek Vasut66020a62016-05-26 18:01:36 +0200364 default 7 if CPU_V7M
Michal Simek4bbd6b12018-04-26 18:21:29 +0530365 default 7 if CPU_V7R
Marek Vasut66020a62016-05-26 18:01:36 +0200366 default 8 if ARM64
367
Patrick Delaunayf8dc7f22020-04-10 16:02:02 +0200368choice
369 prompt "Select the ARM data write cache policy"
Tom Rini1f2e4022023-07-18 19:33:28 -0400370 default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMNS || RZA1
Patrick Delaunayf8dc7f22020-04-10 16:02:02 +0200371 default SYS_ARM_CACHE_WRITEBACK
372
373config SYS_ARM_CACHE_WRITEBACK
374 bool "Write-back (WB)"
375 help
376 A write updates the cache only and marks the cache line as dirty.
377 External memory is updated only when the line is evicted or explicitly
378 cleaned.
379
380config SYS_ARM_CACHE_WRITETHROUGH
381 bool "Write-through (WT)"
382 help
383 A write updates both the cache and the external memory system.
384 This does not mark the cache line as dirty.
385
386config SYS_ARM_CACHE_WRITEALLOC
387 bool "Write allocation (WA)"
388 help
389 A cache line is allocated on a write miss. This means that executing a
390 store instruction on the processor might cause a burst read to occur.
391 There is a linefill to obtain the data for the cache line, before the
392 write is performed.
393endchoice
394
Pali Rohár948da772022-05-06 11:05:13 +0200395config ARCH_VERY_EARLY_INIT
396 bool
397
398config SPL_ARCH_VERY_EARLY_INIT
399 bool
400
Adam Ford1bf33012019-08-14 08:29:25 -0500401config ARCH_CPU_INIT
402 bool "Enable ARCH_CPU_INIT"
403 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500404 Some architectures require a call to arch_cpu_init().
Adam Ford1bf33012019-08-14 08:29:25 -0500405 Say Y here to enable it
406
Andre Przywara7842b6a2018-04-12 04:24:46 +0300407config SYS_ARCH_TIMER
408 bool "ARM Generic Timer support"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530409 depends on CPU_V7A || ARM64
Andre Przywara7842b6a2018-04-12 04:24:46 +0300410 default y if ARM64
411 help
412 The ARM Generic Timer (aka arch-timer) provides an architected
413 interface to a timer source on an SoC.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500414 It is mandatory for ARMv8 implementation and widely available
Andre Przywara7842b6a2018-04-12 04:24:46 +0300415 on ARMv7 systems.
416
Masahiro Yamadac54bcf62017-04-14 11:10:23 +0900417config ARM_SMCCC
418 bool "Support for ARM SMC Calling Convention (SMCCC)"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530419 depends on CPU_V7A || ARM64
Masahiro Yamada573a3812017-04-14 11:10:24 +0900420 select ARM_PSCI_FW
Masahiro Yamadac54bcf62017-04-14 11:10:23 +0900421 help
422 Say Y here if you want to enable ARM SMC Calling Convention.
423 This should be enabled if U-Boot needs to communicate with system
424 firmware (for example, PSCI) according to SMCCC.
425
Tom Rini3a649402017-03-18 09:01:44 -0400426config SYS_THUMB_BUILD
427 bool "Build U-Boot using the Thumb instruction set"
428 depends on !ARM64
429 help
430 Use this flag to build U-Boot 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
435config SPL_SYS_THUMB_BUILD
436 bool "Build SPL using the Thumb instruction set"
437 default y if SYS_THUMB_BUILD
Adam Ford05705562019-08-13 14:32:30 -0500438 depends on !ARM64 && SPL
Tom Rini3a649402017-03-18 09:01:44 -0400439 help
440 Use this flag to build SPL using the Thumb instruction set for
441 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
Kever Yang1e32c512019-04-02 20:41:20 +0800445config TPL_SYS_THUMB_BUILD
446 bool "Build TPL using the Thumb instruction set"
447 default y if SYS_THUMB_BUILD
448 depends on TPL && !ARM64
449 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500450 Use this flag to build TPL using the Thumb instruction set for
Kever Yang1e32c512019-04-02 20:41:20 +0800451 ARM architectures. Thumb instruction set provides better code
452 density. For ARM architectures that support Thumb2 this flag will
453 result in Thumb2 code generated by GCC.
454
Philip Oberfichtner11168882022-08-17 15:07:12 +0200455config SYS_L2_PL310
456 bool "ARM PL310 L2 cache controller"
457 help
458 Enable support for ARM PL310 L2 cache controller in U-Boot
Kever Yang1e32c512019-04-02 20:41:20 +0800459
Philip Oberfichtnerb6664ea2022-08-17 15:07:13 +0200460config SPL_SYS_L2_PL310
461 bool "ARM PL310 L2 cache controller in SPL"
462 help
463 Enable support for ARM PL310 L2 cache controller in SPL
464
Peng Fanf3e9bec2015-08-19 15:48:57 +0800465config SYS_L2CACHE_OFF
466 bool "L2cache off"
467 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500468 If SoC does not support L2CACHE or one does not want to enable
Peng Fanf3e9bec2015-08-19 15:48:57 +0800469 L2CACHE, choose this option.
470
Andre Przywaracdaa6332016-05-31 10:45:06 -0700471config ENABLE_ARM_SOC_BOOT0_HOOK
472 bool "prepare BOOT0 header"
473 help
474 If the SoC's BOOT0 requires a header area filled with (magic)
Simon Goldschmidt7d531e82018-02-13 13:18:00 +0100475 values, then choose this option, and create a file included as
476 <asm/arch/boot0.h> which contains the required assembler code.
Andre Przywaracdaa6332016-05-31 10:45:06 -0700477
Fabio Estevambe725912016-12-15 19:30:40 -0200478config USE_ARCH_MEMCPY
479 bool "Use an assembly optimized implementation of memcpy"
Stefan Roese4e062fc2021-09-02 17:00:19 +0200480 default y if !ARM64
481 depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
Tom Rini40d55342017-01-12 13:16:02 -0500482 help
483 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500484 Such an implementation may be faster under some conditions
Tom Rini40d55342017-01-12 13:16:02 -0500485 but may increase the binary size.
486
487config SPL_USE_ARCH_MEMCPY
Andy Yanf8136e62017-06-28 16:27:37 +0800488 bool "Use an assembly optimized implementation of memcpy for SPL"
Tom Rini40d55342017-01-12 13:16:02 -0500489 default y if USE_ARCH_MEMCPY
Stefan Roese4e062fc2021-09-02 17:00:19 +0200490 depends on SPL
Fabio Estevambe725912016-12-15 19:30:40 -0200491 help
492 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500493 Such an implementation may be faster under some conditions
Fabio Estevambe725912016-12-15 19:30:40 -0200494 but may increase the binary size.
495
Kever Yang1e32c512019-04-02 20:41:20 +0800496config TPL_USE_ARCH_MEMCPY
497 bool "Use an assembly optimized implementation of memcpy for TPL"
498 default y if USE_ARCH_MEMCPY
Stefan Roese4e062fc2021-09-02 17:00:19 +0200499 depends on TPL
Kever Yang1e32c512019-04-02 20:41:20 +0800500 help
501 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500502 Such an implementation may be faster under some conditions
Kever Yang1e32c512019-04-02 20:41:20 +0800503 but may increase the binary size.
504
Stefan Roese4e062fc2021-09-02 17:00:19 +0200505config USE_ARCH_MEMMOVE
506 bool "Use an assembly optimized implementation of memmove" if !ARM64
507 default USE_ARCH_MEMCPY if ARM64
508 depends on ARM64
509 help
510 Enable the generation of an optimized version of memmove.
511 Such an implementation may be faster under some conditions
512 but may increase the binary size.
513
514config SPL_USE_ARCH_MEMMOVE
515 bool "Use an assembly optimized implementation of memmove for SPL" if !ARM64
516 default SPL_USE_ARCH_MEMCPY if ARM64
517 depends on SPL && ARM64
518 help
519 Enable the generation of an optimized version of memmove.
520 Such an implementation may be faster under some conditions
521 but may increase the binary size.
522
523config TPL_USE_ARCH_MEMMOVE
524 bool "Use an assembly optimized implementation of memmove for TPL" if !ARM64
525 default TPL_USE_ARCH_MEMCPY if ARM64
526 depends on TPL && ARM64
527 help
528 Enable the generation of an optimized version of memmove.
529 Such an implementation may be faster under some conditions
530 but may increase the binary size.
531
Fabio Estevambe725912016-12-15 19:30:40 -0200532config USE_ARCH_MEMSET
533 bool "Use an assembly optimized implementation of memset"
Stefan Roese4e062fc2021-09-02 17:00:19 +0200534 default y if !ARM64
535 depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
Tom Rini40d55342017-01-12 13:16:02 -0500536 help
537 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500538 Such an implementation may be faster under some conditions
Tom Rini40d55342017-01-12 13:16:02 -0500539 but may increase the binary size.
540
541config SPL_USE_ARCH_MEMSET
Andy Yanf8136e62017-06-28 16:27:37 +0800542 bool "Use an assembly optimized implementation of memset for SPL"
Tom Rini40d55342017-01-12 13:16:02 -0500543 default y if USE_ARCH_MEMSET
Stefan Roese4e062fc2021-09-02 17:00:19 +0200544 depends on SPL
Fabio Estevambe725912016-12-15 19:30:40 -0200545 help
546 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500547 Such an implementation may be faster under some conditions
Fabio Estevambe725912016-12-15 19:30:40 -0200548 but may increase the binary size.
549
Kever Yang1e32c512019-04-02 20:41:20 +0800550config TPL_USE_ARCH_MEMSET
551 bool "Use an assembly optimized implementation of memset for TPL"
552 default y if USE_ARCH_MEMSET
Stefan Roese4e062fc2021-09-02 17:00:19 +0200553 depends on TPL
Kever Yang1e32c512019-04-02 20:41:20 +0800554 help
555 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500556 Such an implementation may be faster under some conditions
Kever Yang1e32c512019-04-02 20:41:20 +0800557 but may increase the binary size.
558
Alison Wangec6617c2016-11-10 10:49:03 +0800559config ARM64_SUPPORT_AARCH32
560 bool "ARM64 system support AArch32 execution state"
Adam Ford05705562019-08-13 14:32:30 -0500561 depends on ARM64
562 default y if !TARGET_THUNDERX_88XX
Alison Wangec6617c2016-11-10 10:49:03 +0800563 help
564 This ARM64 system supports AArch32 execution state.
565
Tom Rinie95bcfb2022-12-04 10:14:12 -0500566config IPROC
567 bool
568
Tom Rini24ec3de2022-06-10 22:59:33 -0400569config S5P
570 def_bool y if ARCH_EXYNOS || ARCH_S5PC1XX
571
Masahiro Yamadadd840582014-07-30 14:08:14 +0900572choice
573 prompt "Target select"
Simon Glassb928e652015-08-30 19:19:30 -0600574 default TARGET_HIKEY
Masahiro Yamadadd840582014-07-30 14:08:14 +0900575
Masahiro Yamada4614b892015-02-20 17:04:01 +0900576config ARCH_AT91
577 bool "Atmel AT91"
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900578 select GPIO_EXTRA_HEADER
Tom Rinif58e9462018-05-10 07:15:52 -0400579 select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
Gregory CLEMENTc7c120c2020-06-05 10:43:36 +0200580 select SPL_SEPARATE_BSS if SPL
Sean Andersona9a73792023-11-04 22:27:42 -0400581 imply SYS_THUMB_BUILD
Masahiro Yamadadd840582014-07-30 14:08:14 +0900582
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900583config ARCH_DAVINCI
584 bool "TI DaVinci"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100585 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900586 select GPIO_EXTRA_HEADER
Lukasz Majewski56c40462020-06-04 23:11:53 +0800587 select SPL_DM_SPI if SPL
Simon Glass15dc63d2017-08-04 16:34:43 -0600588 imply CMD_SAVES
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900589 help
590 Support for TI's DaVinci platform.
Masahiro Yamadadd840582014-07-30 14:08:14 +0900591
Yang Xiwene90711f2023-04-01 19:17:33 +0800592config ARCH_HISTB
593 bool "Hisilicon HiSTB SoCs"
594 select DM
595 select DM_SERIAL
596 select OF_CONTROL
597 select PL01X_SERIAL
598 imply CMD_DM
599 help
600 Support for HiSTB SoCs.
601
Trevor Woernerbb0fb4c2020-05-06 08:02:40 -0400602config ARCH_KIRKWOOD
Masahiro Yamada47539e22014-08-31 07:10:59 +0900603 bool "Marvell Kirkwood"
Simon Glass45856012017-01-23 13:31:21 -0700604 select ARCH_MISC_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200605 select BOARD_EARLY_INIT_F
606 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900607 select GPIO_EXTRA_HEADER
Stefan Roese7b530bb2022-09-15 16:20:39 +0200608 select TIMER
Masahiro Yamadadd840582014-07-30 14:08:14 +0900609
Stefan Roesec3d89142015-08-25 13:18:38 +0200610config ARCH_MVEBU
Stefan Roese21b29fc2016-05-25 08:13:45 +0200611 bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
Tom Riniefb0aa72023-02-15 22:36:48 -0500612 select ARCH_EARLY_INIT_R if ARM64
Stefan Roese9cffb232015-09-01 11:27:52 +0200613 select DM
Stefan Roese1d51ea12015-09-02 08:41:41 +0200614 select DM_SERIAL
Stefan Roese09a54c02015-11-20 13:51:57 +0100615 select DM_SPI
616 select DM_SPI_FLASH
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900617 select GPIO_EXTRA_HEADER
Tom Rinidb04ff42024-01-10 13:46:10 -0500618 select MTD
Lukasz Majewski56c40462020-06-04 23:11:53 +0800619 select SPL_DM_SPI if SPL
620 select SPL_DM_SPI_FLASH if SPL
Stefan Roese7b530bb2022-09-15 16:20:39 +0200621 select SPL_TIMER if SPL
Chris Packham3988e6d2022-11-05 17:23:55 +1300622 select TIMER if !ARM64
Michal Simek5ed063d2018-07-23 15:55:13 +0200623 select OF_CONTROL
624 select OF_SEPARATE
Adam Fordf1b1f772018-04-15 13:51:26 -0400625 select SPI
Michal Simek08a00cb2018-07-23 15:55:14 +0200626 imply CMD_DM
Stefan Roesea4884832014-10-22 12:13:19 +0200627
Trevor Woernerb16a3312020-05-06 08:02:38 -0400628config ARCH_ORION5X
Masahiro Yamada22f2be72014-08-31 07:11:06 +0900629 bool "Marvell Orion"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100630 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900631 select GPIO_EXTRA_HEADER
Sean Anderson1dd56db2022-04-12 10:59:04 -0400632 select SPL_SEPARATE_BSS if SPL
Stefan Roese7b530bb2022-09-15 16:20:39 +0200633 select TIMER
Masahiro Yamadadd840582014-07-30 14:08:14 +0900634
Vikas Manocha9fa32b12014-11-18 10:42:22 -0800635config TARGET_STV0991
636 bool "Support stv0991"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530637 select CPU_V7A
Masahiro Yamadacac0ca72015-03-31 12:48:01 +0900638 select DM
639 select DM_SERIAL
Vikas Manochae67abca2015-07-02 18:29:41 -0700640 select DM_SPI
641 select DM_SPI_FLASH
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900642 select GPIO_EXTRA_HEADER
Michal Simek5ed063d2018-07-23 15:55:13 +0200643 select PL01X_SERIAL
Tom Rinidb04ff42024-01-10 13:46:10 -0500644 select MTD
Adam Fordf1b1f772018-04-15 13:51:26 -0400645 select SPI
Vikas Manochae67abca2015-07-02 18:29:41 -0700646 select SPI_FLASH
Michal Simek08a00cb2018-07-23 15:55:14 +0200647 imply CMD_DM
Vikas Manocha9fa32b12014-11-18 10:42:22 -0800648
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +0900649config ARCH_BCM283X
650 bool "Broadcom BCM283X family"
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900651 select DM
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900652 select DM_GPIO
Michal Simek5ed063d2018-07-23 15:55:13 +0200653 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900654 select GPIO_EXTRA_HEADER
Fabian Vogt76709092016-09-26 14:26:51 +0200655 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +0100656 select PL01X_SERIAL
Alexander Grafae5326a2018-01-29 13:57:20 +0100657 select SERIAL_SEARCH_ALL
Michal Simek08a00cb2018-07-23 15:55:14 +0200658 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -0400659 imply FAT_WRITE
Stephen Warren46414292015-02-16 12:16:15 -0700660
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -0400661config ARCH_BCMSTB
662 bool "Broadcom BCM7XXX family"
663 select CPU_V7A
664 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900665 select GPIO_EXTRA_HEADER
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -0400666 select OF_CONTROL
Michal Simek08a00cb2018-07-23 15:55:14 +0200667 imply CMD_DM
Simon Glass239d22c2021-12-16 20:59:36 -0700668 imply OF_HAS_PRIOR_STAGE
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -0400669 help
670 This enables support for Broadcom ARM-based set-top box
671 chipsets, including the 7445 family of chips.
672
William Zhangf8209d32022-05-09 09:28:02 -0700673config ARCH_BCMBCA
674 bool "Broadcom broadband chip family"
675 select DM
676 select OF_CONTROL
William Zhang07f97bd2022-08-22 11:19:45 -0700677 imply CMD_DM
William Zhangf8209d32022-05-09 09:28:02 -0700678
Kristian Amlie15e30102021-09-07 08:37:51 +0200679config TARGET_VEXPRESS_CA9X4
680 bool "Support vexpress_ca9x4"
681 select CPU_V7A
Ole P. Orhagen798ad3e2024-01-26 13:47:50 +0100682 select PL01X_SERIAL
Kristian Amlie15e30102021-09-07 08:37:51 +0200683
Linus Walleijd3d9cd82023-04-24 09:38:29 +0200684config TARGET_BCMNS
685 bool "Support Broadcom Northstar"
686 select CPU_V7A
687 select DM
688 select DM_GPIO
689 select DM_SERIAL
690 select OF_CONTROL
691 select TIMER
692 select SYS_NS16550
693 select ARM_GLOBAL_TIMER
694 imply SYS_THUMB_BUILD
695 imply MTD_RAW_NAND
696 imply NAND_BRCMNAND
697 imply NAND_BRCMNAND_IPROC
698 help
699 Support for Broadcom Northstar SoCs. NS is a dual-core 32-bit
700 ARMv7 Cortex-A9 SoC family including BCM4708, BCM47094,
701 BCM5301x etc.
702
Jon Mason274bced2017-03-17 12:12:14 -0400703config TARGET_BCMNS2
704 bool "Support Broadcom Northstar2"
705 select ARM64
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900706 select GPIO_EXTRA_HEADER
Jon Mason274bced2017-03-17 12:12:14 -0400707 help
708 Support for Broadcom Northstar 2 SoCs. NS2 is a quad-core 64-bit
709 ARMv8 Cortex-A57 processors targeting a broad range of networking
Robert P. J. Daye852b302019-12-25 06:34:07 -0500710 applications.
Jon Mason274bced2017-03-17 12:12:14 -0400711
Rayagonda Kokatanur291635a2020-07-15 22:48:55 +0530712config TARGET_BCMNS3
713 bool "Support Broadcom NS3"
714 select ARM64
715 select BOARD_LATE_INIT
716 help
717 Support for Broadcom Northstar 3 SoCs. NS3 is a octo-core 64-bit
718 ARMv8 Cortex-A72 processors targeting a broad range of networking
719 applications.
720
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900721config ARCH_EXYNOS
722 bool "Samsung EXYNOS"
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900723 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +0200724 select DM_GPIO
Simon Glassfc47cf92016-11-23 06:34:40 -0700725 select DM_I2C
Michal Simek5ed063d2018-07-23 15:55:13 +0200726 select DM_KEYBOARD
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900727 select DM_SERIAL
728 select DM_SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200729 select DM_SPI_FLASH
Tom Rinidb04ff42024-01-10 13:46:10 -0500730 select MTD
Adam Fordf1b1f772018-04-15 13:51:26 -0400731 select SPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900732 select GPIO_EXTRA_HEADER
Guillaume GARDETc96d9032018-11-20 14:15:13 +0100733 imply SYS_THUMB_BUILD
Michal Simek08a00cb2018-07-23 15:55:14 +0200734 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -0400735 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900736
Simon Glass311757b2014-10-07 22:01:50 -0600737config ARCH_S5PC1XX
738 bool "Samsung S5PC1XX"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530739 select CPU_V7A
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900740 select DM
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900741 select DM_GPIO
Simon Glass08848e92016-11-23 06:34:41 -0700742 select DM_I2C
Michal Simek5ed063d2018-07-23 15:55:13 +0200743 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900744 select GPIO_EXTRA_HEADER
Michal Simek08a00cb2018-07-23 15:55:14 +0200745 imply CMD_DM
Simon Glass311757b2014-10-07 22:01:50 -0600746
Masahiro Yamadaef2b6942014-08-31 07:11:07 +0900747config ARCH_HIGHBANK
748 bool "Calxeda Highbank"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530749 select CPU_V7A
Andre Przywara109552d2021-04-12 01:04:51 +0100750 select PL01X_SERIAL
751 select DM
752 select DM_SERIAL
753 select OF_CONTROL
Andre Przywara109552d2021-04-12 01:04:51 +0100754 select CLK
755 select CLK_CCF
756 select AHCI
Andre Przywara1238d012021-04-12 01:04:54 +0100757 select PHYS_64BIT
Andre Przywara44b7abf2022-10-20 23:10:25 +0100758 select TIMER
759 select SP804_TIMER
Simon Glass239d22c2021-12-16 20:59:36 -0700760 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900761
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +0900762config ARCH_INTEGRATOR
763 bool "ARM Ltd. Integrator family"
Linus Walleij3f394e72015-07-27 11:22:48 +0200764 select DM
765 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900766 select GPIO_EXTRA_HEADER
Alexander Grafcf2c7782018-01-25 12:05:52 +0100767 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +0200768 imply CMD_DM
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +0900769
Robert Markoe479a7d2020-07-06 10:37:54 +0200770config ARCH_IPQ40XX
771 bool "Qualcomm IPQ40xx SoCs"
772 select CPU_V7A
773 select DM
774 select DM_GPIO
775 select DM_SERIAL
Robert Marko496a3aa2020-09-10 16:00:03 +0200776 select DM_RESET
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900777 select GPIO_EXTRA_HEADER
Robert Marko6ef099b2020-09-10 16:00:01 +0200778 select MSM_SMEM
Robert Markoe479a7d2020-07-06 10:37:54 +0200779 select PINCTRL
780 select CLK
Robert Marko6ef099b2020-09-10 16:00:01 +0200781 select SMEM
Robert Markoe479a7d2020-07-06 10:37:54 +0200782 select OF_CONTROL
Caleb Connollyfac21212023-11-07 12:41:00 +0000783 select CLK_QCOM_IPQ4019
Caleb Connolly24d29082023-11-14 12:55:41 +0000784 select PINCTRL_QCOM_IPQ4019
Robert Markoe479a7d2020-07-06 10:37:54 +0200785 imply CMD_DM
786
Masahiro Yamadac338f092014-08-31 07:11:05 +0900787config ARCH_KEYSTONE
788 bool "TI Keystone"
Andrew Davisa4650bf2023-07-25 10:54:16 -0500789 select CMD_DDR3
Michal Simek5ed063d2018-07-23 15:55:13 +0200790 select CMD_POWEROFF
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530791 select CPU_V7A
Tom Rini222d22a2021-08-21 13:50:16 -0400792 select DDR_SPD
Andrew Davisa4650bf2023-07-25 10:54:16 -0500793 select SPL_BOARD_INIT if SPL
Masahiro Yamada02627352014-10-20 17:45:56 +0900794 select SUPPORT_SPL
Andre Przywara7842b6a2018-04-12 04:24:46 +0300795 select SYS_ARCH_TIMER
Michal Simek5ed063d2018-07-23 15:55:13 +0200796 select SYS_THUMB_BUILD
Tom Rinid56b4b12017-07-22 18:36:16 -0400797 imply CMD_MTDPARTS
Andrew Davisf2ae98a2023-07-25 10:54:15 -0500798 imply CMD_NFS
Simon Glass15dc63d2017-08-04 16:34:43 -0600799 imply CMD_SAVES
Andrew Davisa4650bf2023-07-25 10:54:16 -0500800 imply DM_I2C
Michal Simek5ed063d2018-07-23 15:55:13 +0200801 imply FIT
Andrew Davisa4650bf2023-07-25 10:54:16 -0500802 imply SOC_TI
803 imply TI_KEYSTONE_SERDES
Masahiro Yamadadd840582014-07-30 14:08:14 +0900804
Lokesh Vutla586bde92018-08-27 15:57:08 +0530805config ARCH_K3
806 bool "Texas Instruments' K3 Architecture"
807 select SPL
808 select SUPPORT_SPL
809 select FIT
Andrew Davis913cea32023-07-14 11:22:33 +0530810 select REGEX
Manorit Chawdhry86fab112023-07-14 11:22:40 +0530811 select FIT_SIGNATURE if ARM64
Andrew Davis1a1d48e2023-08-03 09:54:41 -0500812 imply TI_SECURE_DEVICE
Lokesh Vutla586bde92018-08-27 15:57:08 +0530813
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900814config ARCH_OMAP2PLUS
815 bool "TI OMAP2+"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530816 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900817 select GPIO_EXTRA_HEADER
Ley Foon Tan0680f1b2017-05-03 17:13:32 +0800818 select SPL_BOARD_INIT if SPL
Tom Riniff6c3122017-09-17 11:44:49 -0400819 select SPL_STACK_R if SPL
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900820 select SUPPORT_SPL
Dario Binacchi92cc4e12020-12-30 00:06:29 +0100821 imply TI_SYSC if DM && OF_CONTROL
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900822 imply FIT
Sean Anderson1dd56db2022-04-12 10:59:04 -0400823 imply SPL_SEPARATE_BSS
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900824
Beniamino Galvanibfcef282016-05-08 08:30:16 +0200825config ARCH_MESON
826 bool "Amlogic Meson"
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900827 select GPIO_EXTRA_HEADER
Masahiro Yamada7325f6c2018-04-25 18:47:52 +0900828 imply DISTRO_DEFAULTS
Heinrich Schuchardt6da749d2020-04-05 12:20:23 +0200829 imply DM_RNG
Beniamino Galvanibfcef282016-05-08 08:30:16 +0200830 help
831 Support for the Meson SoC family developed by Amlogic Inc.,
832 targeted at media players and tablet computers. We currently
833 support the S905 (GXBaby) 64-bit SoC.
834
Ryder Leecbd2fba2018-11-15 10:07:52 +0800835config ARCH_MEDIATEK
836 bool "MediaTek SoCs"
Ryder Leecbd2fba2018-11-15 10:07:52 +0800837 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900838 select GPIO_EXTRA_HEADER
Ryder Leecbd2fba2018-11-15 10:07:52 +0800839 select OF_CONTROL
840 select SPL_DM if SPL
841 select SPL_LIBCOMMON_SUPPORT if SPL
842 select SPL_LIBGENERIC_SUPPORT if SPL
843 select SPL_OF_CONTROL if SPL
844 select SUPPORT_SPL
845 help
846 Support for the MediaTek SoCs family developed by MediaTek Inc.
847 Please refer to doc/README.mediatek for more information.
848
Vladimir Zapolskiyee54dfe2018-09-17 21:43:03 +0300849config ARCH_LPC32XX
850 bool "NXP LPC32xx platform"
851 select CPU_ARM926EJS
852 select DM
853 select DM_GPIO
854 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900855 select GPIO_EXTRA_HEADER
Vladimir Zapolskiyee54dfe2018-09-17 21:43:03 +0300856 select SPL_DM if SPL
857 select SUPPORT_SPL
858 imply CMD_DM
859
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200860config ARCH_IMX8
861 bool "NXP i.MX8 platform"
862 select ARM64
Gaurav Jaincb5d0412022-03-24 11:50:33 +0530863 select SYS_FSL_HAS_SEC
864 select SYS_FSL_SEC_COMPAT_4
865 select SYS_FSL_SEC_LE
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200866 select DM
Tom Rini448e2b62023-01-16 15:46:49 -0500867 select DM_EVENT
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900868 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400869 select MACH_IMX
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200870 select OF_CONTROL
Ye Li9a273852019-07-12 09:33:52 +0000871 select ENABLE_ARM_SOC_BOOT0_HOOK
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200872
Peng Fancd357ad2018-11-20 10:19:25 +0000873config ARCH_IMX8M
Peng Fan7a7391f2018-01-10 13:20:19 +0800874 bool "NXP i.MX8M platform"
875 select ARM64
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900876 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400877 select MACH_IMX
Gaurav Jain2cddfcb2022-03-24 11:50:27 +0530878 select SYS_FSL_HAS_SEC
Aymen Sghaier940d36d2021-03-25 17:30:25 +0800879 select SYS_FSL_SEC_COMPAT_4
880 select SYS_FSL_SEC_LE
Tom Rini15e7b762021-08-18 23:12:33 -0400881 select SYS_I2C_MXC
Peng Fan7a7391f2018-01-10 13:20:19 +0800882 select DM
Tom Rini448e2b62023-01-16 15:46:49 -0500883 select DM_EVENT if CLK
Peng Fan7a7391f2018-01-10 13:20:19 +0800884 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200885 imply CMD_DM
Peng Fan7a7391f2018-01-10 13:20:19 +0800886
Peng Fan19b990b2021-08-07 16:00:30 +0800887config ARCH_IMX8ULP
888 bool "NXP i.MX8ULP platform"
889 select ARM64
890 select DM
Tom Rini448e2b62023-01-16 15:46:49 -0500891 select DM_EVENT
Tom Rini0c2729e2021-08-24 20:40:59 -0400892 select MACH_IMX
Peng Fan19b990b2021-08-07 16:00:30 +0800893 select OF_CONTROL
894 select SUPPORT_SPL
895 select GPIO_EXTRA_HEADER
Ye Li03fcf962022-07-26 16:40:49 +0800896 select MISC
Peng Fand3ee9db2023-06-15 18:09:05 +0800897 select IMX_ELE
Peng Fan19b990b2021-08-07 16:00:30 +0800898 imply CMD_DM
899
Peng Fan881df6e2022-07-26 16:40:39 +0800900config ARCH_IMX9
901 bool "NXP i.MX9 platform"
902 select ARM64
903 select DM
Tom Rini448e2b62023-01-16 15:46:49 -0500904 select DM_EVENT
Peng Fan881df6e2022-07-26 16:40:39 +0800905 select MACH_IMX
906 select SUPPORT_SPL
Ye Li12f23222022-07-26 16:41:01 +0800907 select GPIO_EXTRA_HEADER
Ye Li03fcf962022-07-26 16:40:49 +0800908 select MISC
Peng Fand3ee9db2023-06-15 18:09:05 +0800909 select IMX_ELE
Giulio Benetti77eb9a92020-01-10 15:51:47 +0100910 imply CMD_DM
Masahiro Yamadadd840582014-07-30 14:08:14 +0900911
Giulio Benetti77eb9a92020-01-10 15:51:47 +0100912config ARCH_IMXRT
913 bool "NXP i.MXRT platform"
914 select CPU_V7M
915 select DM
916 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900917 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400918 select MACH_IMX
Giulio Benetti77eb9a92020-01-10 15:51:47 +0100919 select SUPPORT_SPL
920 imply CMD_DM
921
Stefan Agnerc5343d42018-02-06 09:44:34 +0100922config ARCH_MX23
923 bool "NXP i.MX23 family"
924 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900925 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400926 select MACH_IMX
Stefan Agnerc5343d42018-02-06 09:44:34 +0100927 select SUPPORT_SPL
928
Stefan Agner25c5b4e2018-02-06 09:44:35 +0100929config ARCH_MX28
930 bool "NXP i.MX28 family"
931 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900932 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400933 select MACH_IMX
Stefan Agner25c5b4e2018-02-06 09:44:35 +0100934 select SUPPORT_SPL
935
Magnus Lilja3159ec62018-05-11 14:06:54 +0200936config ARCH_MX31
937 bool "NXP i.MX31 family"
938 select CPU_ARM1136
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900939 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400940 select MACH_IMX
Magnus Lilja3159ec62018-05-11 14:06:54 +0200941
Peng Fane90a08d2017-02-22 16:21:39 +0800942config ARCH_MX7ULP
Michal Simek6e7bdde2018-07-23 15:55:12 +0200943 bool "NXP MX7ULP"
Tom Rini6d21dd32022-02-25 11:19:47 -0500944 select BOARD_POSTCLK_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530945 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900946 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400947 select MACH_IMX
Gaurav Jain75d3a9f2022-03-24 11:50:31 +0530948 select SYS_FSL_HAS_SEC
Franck LENORMANDb5438002021-03-25 17:30:23 +0800949 select SYS_FSL_SEC_COMPAT_4
950 select SYS_FSL_SEC_LE
Peng Fane90a08d2017-02-22 16:21:39 +0800951 select ROM_UNIFIED_SECTIONS
Adam Ford8bbff6a2018-02-04 09:32:43 -0600952 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500953 imply SYS_THUMB_BUILD
Peng Fane90a08d2017-02-22 16:21:39 +0800954
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500955config ARCH_MX7
956 bool "Freescale MX7"
Michal Simek5ed063d2018-07-23 15:55:13 +0200957 select ARCH_MISC_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530958 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900959 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400960 select MACH_IMX
Tom Rini9b0240f2022-12-02 16:42:18 -0500961 select MXC_GPT_HCLK
Gaurav Jain4f1375d2022-03-24 11:50:30 +0530962 select SYS_FSL_HAS_SEC
York Sun2c2e2c92016-12-28 08:43:30 -0800963 select SYS_FSL_SEC_COMPAT_4
York Sun90b80382016-12-28 08:43:31 -0800964 select SYS_FSL_SEC_LE
Marek Vasut72041602020-05-22 01:13:00 +0200965 imply BOARD_EARLY_INIT_F
Adam Ford8bbff6a2018-02-04 09:32:43 -0600966 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500967 imply SYS_THUMB_BUILD
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500968
Boris BREZILLON89ebc822015-03-04 13:13:03 +0100969config ARCH_MX6
970 bool "Freescale MX6"
Tom Rini6d21dd32022-02-25 11:19:47 -0500971 select BOARD_POSTCLK_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530972 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900973 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400974 select MACH_IMX
Tom Rini9b0240f2022-12-02 16:42:18 -0500975 select MXC_GPT_HCLK
Heinrich Schuchardt90865612020-06-26 19:57:55 +0200976 select SYS_FSL_HAS_SEC
York Sun2c2e2c92016-12-28 08:43:30 -0800977 select SYS_FSL_SEC_COMPAT_4
York Sun90b80382016-12-28 08:43:31 -0800978 select SYS_FSL_SEC_LE
Philip Oberfichtner11168882022-08-17 15:07:12 +0200979 select SYS_L2_PL310 if !SYS_L2CACHE_OFF
Adam Ford8bbff6a2018-02-04 09:32:43 -0600980 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500981 imply SYS_THUMB_BUILD
Sean Anderson1dd56db2022-04-12 10:59:04 -0400982 imply SPL_SEPARATE_BSS
Boris BREZILLON89ebc822015-03-04 13:13:03 +0100983
Andrej Rosano424ee3d2015-04-08 18:56:29 +0200984config ARCH_MX5
985 bool "Freescale MX5"
Simon Glassa5d67542017-01-23 13:31:20 -0700986 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200987 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900988 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400989 select MACH_IMX
Adam Ford8bbff6a2018-02-04 09:32:43 -0600990 imply MXC_GPIO
Andrej Rosano424ee3d2015-04-08 18:56:29 +0200991
Stefan Bosch95e9a8e2020-07-10 19:07:26 +0200992config ARCH_NEXELL
993 bool "Nexell S5P4418/S5P6818 SoC"
994 select ENABLE_ARM_SOC_BOOT0_HOOK
995 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900996 select GPIO_EXTRA_HEADER
Stefan Bosch95e9a8e2020-07-10 19:07:26 +0200997
Jim Liu84335542022-04-19 13:32:19 +0800998config ARCH_NPCM
999 bool "Support Nuvoton SoCs"
1000 select DM
1001 select OF_CONTROL
1002 imply CMD_DM
1003
Mark Kettenis003b6572021-10-23 16:58:03 +02001004config ARCH_APPLE
1005 bool "Apple SoCs"
1006 select ARM64
Mark Kettenisd520e1f2021-10-23 16:58:04 +02001007 select CLK
Mark Kettenisbdebb002023-01-21 20:27:58 +01001008 select CMD_PCI
Mark Kettenis003b6572021-10-23 16:58:03 +02001009 select CMD_USB
1010 select DM
Mark Kettenisb814e002021-11-02 18:21:57 +01001011 select DM_GPIO
Mark Kettenis003b6572021-10-23 16:58:03 +02001012 select DM_KEYBOARD
Mark Kettenis456305e2022-01-22 20:38:12 +01001013 select DM_MAILBOX
Mark Kettenis81fafbb2022-01-22 20:38:17 +01001014 select DM_RESET
Mark Kettenis003b6572021-10-23 16:58:03 +02001015 select DM_SERIAL
Mark Kettenis7184e292022-01-23 16:48:12 +01001016 select DM_SPI
Mark Kettenis003b6572021-10-23 16:58:03 +02001017 select DM_USB
Simon Glassb86986c2022-10-18 07:46:31 -06001018 select VIDEO
Mark Kettenis785cfde2021-10-23 16:58:05 +02001019 select IOMMU
Mark Kettenis003b6572021-10-23 16:58:03 +02001020 select LINUX_KERNEL_IMAGE_HEADER
Tom Rinidb04ff42024-01-10 13:46:10 -05001021 select MTD
Mark Kettenisa6093532022-04-19 21:20:31 +02001022 select OF_BOARD_SETUP
Mark Kettenis003b6572021-10-23 16:58:03 +02001023 select OF_CONTROL
Mark Kettenisbdebb002023-01-21 20:27:58 +01001024 select PCI
Mark Kettenisb99c6352023-07-14 22:21:42 +02001025 select PHY
Mark Kettenisb814e002021-11-02 18:21:57 +01001026 select PINCTRL
Mark Kettenis003b6572021-10-23 16:58:03 +02001027 select POSITION_INDEPENDENT
Mark Kettenis97187d52022-01-10 20:58:44 +01001028 select POWER_DOMAIN
1029 select REGMAP
Mark Kettenis7184e292022-01-23 16:48:12 +01001030 select SPI
Mark Kettenis97187d52022-01-10 20:58:44 +01001031 select SYSCON
Mark Kettenis9a8e3732022-01-12 19:55:17 +01001032 select SYSRESET
1033 select SYSRESET_WATCHDOG
1034 select SYSRESET_WATCHDOG_AUTO
Mark Kettenis003b6572021-10-23 16:58:03 +02001035 select USB
1036 imply CMD_DM
1037 imply CMD_GPT
1038 imply DISTRO_DEFAULTS
Simon Glass239d22c2021-12-16 20:59:36 -07001039 imply OF_HAS_PRIOR_STAGE
Mark Kettenis003b6572021-10-23 16:58:03 +02001040
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301041config ARCH_OWL
1042 bool "Actions Semi OWL SoCs"
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301043 select DM
1044 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001045 select GPIO_EXTRA_HEADER
Amit Singh Tomarb1a6bb32020-04-19 19:28:25 +05301046 select OWL_SERIAL
Amit Singh Tomar8b520ac2020-04-19 19:28:30 +05301047 select CLK
1048 select CLK_OWL
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301049 select OF_CONTROL
Tom Rini36c2f022020-05-01 10:52:11 -04001050 select SYS_RELOC_GD_ENV_ADDR
Michal Simek08a00cb2018-07-23 15:55:14 +02001051 imply CMD_DM
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301052
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03001053config ARCH_QEMU
1054 bool "QEMU Virtual Platform"
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03001055 select DM
1056 select DM_SERIAL
1057 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001058 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001059 imply CMD_DM
Heinrich Schuchardt684710d2020-09-19 07:55:35 +02001060 imply DM_RNG
AKASHI Takahiroa47c1b52018-09-14 17:06:54 +09001061 imply DM_RTC
1062 imply RTC_PL031
Simon Glass239d22c2021-12-16 20:59:36 -07001063 imply OF_HAS_PRIOR_STAGE
Alper Nebi Yasak4d6641d2023-08-14 20:39:41 +03001064 imply VIDEO
1065 imply VIDEO_BOCHS
1066 imply SYS_WHITE_ON_BLACK
1067 imply SYS_CONSOLE_IS_IN_ENV
Alper Nebi Yasak120f5402023-08-14 20:39:42 +03001068 imply PRE_CONSOLE_BUFFER
Alper Nebi Yasak05e2fa72023-08-14 20:39:43 +03001069 imply USB
1070 imply USB_XHCI_HCD
1071 imply USB_XHCI_PCI
1072 imply USB_KEYBOARD
1073 imply CMD_USB
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03001074
Marek Vasutf9aabd42024-02-27 17:05:55 +01001075config ARCH_RENESAS
Masahiro Yamadaf40b9892014-08-31 07:10:57 +09001076 bool "Renesas ARM SoCs"
Nobuhiro Iwamatsu1cc95f62015-10-10 05:58:28 +09001077 select DM
1078 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001079 select GPIO_EXTRA_HEADER
Marek Vasut87f9ffb2024-02-11 18:34:30 +01001080 select LTO
Biju Das5157b012020-09-22 13:06:49 +01001081 imply BOARD_EARLY_INIT_F
Michal Simek08a00cb2018-07-23 15:55:14 +02001082 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -04001083 imply FAT_WRITE
Tom Rini3a649402017-03-18 09:01:44 -04001084 imply SYS_THUMB_BUILD
Marek Vasut00e4b572018-12-03 13:28:25 +01001085 imply ARCH_MISC_INIT if DISPLAY_CPUINFO
Masahiro Yamadadd840582014-07-30 14:08:14 +09001086
Mateusz Kulikowski08592132016-03-31 23:12:32 +02001087config ARCH_SNAPDRAGON
1088 bool "Qualcomm Snapdragon SoCs"
1089 select ARM64
1090 select DM
1091 select DM_GPIO
1092 select DM_SERIAL
Konrad Dybcio3ead6612023-11-07 12:41:01 +00001093 select DM_RESET
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001094 select GPIO_EXTRA_HEADER
Michal Simek5ed063d2018-07-23 15:55:13 +02001095 select MSM_SMEM
Mateusz Kulikowski08592132016-03-31 23:12:32 +02001096 select OF_CONTROL
1097 select OF_SEPARATE
Ramon Fried654dd4a2018-07-02 02:57:56 +03001098 select SMEM
Michal Simek5ed063d2018-07-23 15:55:13 +02001099 select SPMI
Michal Simek08a00cb2018-07-23 15:55:14 +02001100 imply CMD_DM
Mateusz Kulikowski08592132016-03-31 23:12:32 +02001101
Masahiro Yamada7865f4b2015-04-21 20:38:20 +09001102config ARCH_SOCFPGA
1103 bool "Altera SOCFPGA family"
Simon Glassa4211922017-01-23 13:31:19 -07001104 select ARCH_EARLY_INIT_R
Marek Vasutd6a61da2018-08-13 20:06:46 +02001105 select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
Siew Chin Lim9a5bbdf2021-03-01 20:04:10 +08001106 select ARM64 if TARGET_SOCFPGA_SOC64
Ley Foon Tana6847292018-05-24 00:17:32 +08001107 select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Marek Vasut48befc02018-05-11 22:25:59 +02001108 select DM
Marek Vasut73172752018-05-11 22:26:35 +02001109 select DM_SERIAL
Tom Rini5afdcca2021-08-19 14:19:39 -04001110 select GICV2
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001111 select GPIO_EXTRA_HEADER
Ley Foon Tana6847292018-05-24 00:17:32 +08001112 select ENABLE_ARM_SOC_BOOT0_HOOK if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Marek Vasut48befc02018-05-11 22:25:59 +02001113 select OF_CONTROL
Ley Foon Tan00057ee2018-07-13 13:40:23 +08001114 select SPL_DM_RESET if DM_RESET
Michal Simek5ed063d2018-07-23 15:55:13 +02001115 select SPL_DM_SERIAL
Marek Vasut48befc02018-05-11 22:25:59 +02001116 select SPL_LIBCOMMON_SUPPORT
Marek Vasut48befc02018-05-11 22:25:59 +02001117 select SPL_LIBGENERIC_SUPPORT
Marek Vasut48befc02018-05-11 22:25:59 +02001118 select SPL_OF_CONTROL
Siew Chin Lim9a5bbdf2021-03-01 20:04:10 +08001119 select SPL_SEPARATE_BSS if TARGET_SOCFPGA_SOC64
Wan Yee Lau3f190c52024-02-05 11:47:16 +08001120 select SPL_DRIVERS_MISC if TARGET_SOCFPGA_SOC64
1121 select SPL_SOCFPGA_DT_REG if TARGET_SOCFPGA_SOC64
Simon Glass2a736062021-08-08 12:20:12 -06001122 select SPL_SERIAL
Simon Goldschmidtef72ba02019-07-15 21:47:55 +02001123 select SPL_SYSRESET
Simon Glass078111b2021-07-10 21:14:28 -06001124 select SPL_WATCHDOG
Marek Vasut48befc02018-05-11 22:25:59 +02001125 select SUPPORT_SPL
Marek Vasut73172752018-05-11 22:26:35 +02001126 select SYS_NS16550
Ley Foon Tana6847292018-05-24 00:17:32 +08001127 select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Simon Goldschmidtef72ba02019-07-15 21:47:55 +02001128 select SYSRESET
1129 select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Jit Loon Lim386fca62024-03-12 22:01:03 +08001130 select SYSRESET_SOCFPGA_SOC64 if !TARGET_SOCFPGA_AGILEX5 && \
1131 TARGET_SOCFPGA_SOC64
Michal Simek08a00cb2018-07-23 15:55:14 +02001132 imply CMD_DM
Tom Rinid56b4b12017-07-22 18:36:16 -04001133 imply CMD_MTDPARTS
Daniel Thompson221a9492017-05-19 17:26:58 +01001134 imply CRC32_VERIFY
Simon Goldschmidtfef4a542018-02-13 06:34:14 +01001135 imply DM_SPI
1136 imply DM_SPI_FLASH
Tom Rini91d27a12017-06-02 11:03:50 -04001137 imply FAT_WRITE
Tom Rinidb04ff42024-01-10 13:46:10 -05001138 imply MTD
Simon Goldschmidtaef44282019-04-09 21:02:05 +02001139 imply SPL
1140 imply SPL_DM
Lukasz Majewski56c40462020-06-04 23:11:53 +08001141 imply SPL_DM_SPI
1142 imply SPL_DM_SPI_FLASH
Simon Goldschmidta9024dc2018-11-29 21:17:08 +01001143 imply SPL_LIBDISK_SUPPORT
Simon Glass103c5f12021-08-08 12:20:09 -06001144 imply SPL_MMC
Simon Goldschmidtfef4a542018-02-13 06:34:14 +01001145 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
Simon Goldschmidtf48db4e2018-10-30 20:21:49 +01001146 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
Simon Goldschmidta9024dc2018-11-29 21:17:08 +01001147 imply SPL_SPI_FLASH_SUPPORT
Simon Glassea2ca7e2021-08-08 12:20:14 -06001148 imply SPL_SPI
Dinh Nguyenaaa64802019-04-23 16:55:06 -05001149 imply L2X0_CACHE
Masahiro Yamadadd840582014-07-30 14:08:14 +09001150
Ian Campbell2c7e3b92014-10-24 21:20:44 +01001151config ARCH_SUNXI
1152 bool "Support sunxi (Allwinner) SoCs"
Masahiro Yamadad6a0c782017-10-17 13:42:44 +09001153 select BINMAN
Hans de Goede88bb8002016-04-03 09:41:44 +02001154 select CMD_GPIO
Hans de Goede0878a8a2016-05-15 13:51:58 +02001155 select CMD_MMC if MMC
Tom Rinibe5c0602021-07-09 10:11:56 -04001156 select CMD_USB if DISTRO_DEFAULTS && USB_HOST
Jagan Tekie236ff02019-01-11 16:40:20 +05301157 select CLK
Hans de Goedeb6006ba2015-04-15 20:46:48 +02001158 select DM
Hans de Goede211d57a2015-12-21 20:22:00 +01001159 select DM_GPIO
Samuel Hollandf9437b02021-10-08 00:17:25 -05001160 select DM_I2C if I2C
Andre Przywara81a46c12022-01-11 12:46:02 +00001161 select DM_SPI if SPI
Tom Rinidb04ff42024-01-10 13:46:10 -05001162 select DM_SPI_FLASH if SPI && MTD
Hans de Goede211d57a2015-12-21 20:22:00 +01001163 select DM_KEYBOARD
Jagan Tekibb3362b2019-04-12 16:48:25 +05301164 select DM_MMC if MMC
Tom Rini45368822015-06-30 16:51:15 -04001165 select DM_SERIAL
Hans de Goeded75111a2016-03-22 22:51:52 +01001166 select OF_BOARD_SETUP
Hans de Goedeb6006ba2015-04-15 20:46:48 +02001167 select OF_CONTROL
1168 select OF_SEPARATE
Samuel Hollandb799eab2021-08-12 20:09:43 -05001169 select PINCTRL
Tom Rini6f6b7cf2018-03-06 19:02:27 -05001170 select SPECIFY_CONSOLE_INDEX
Samuel Hollanda3010bc2021-08-22 13:23:53 -05001171 select SPL_SEPARATE_BSS if SPL
Tom Riniab43de82017-06-21 07:54:46 -04001172 select SPL_STACK_R if SPL
1173 select SPL_SYS_MALLOC_SIMPLE if SPL
Andre Przywara5375fb12024-01-03 00:12:27 +00001174 select SPL_SYS_THUMB_BUILD if SPL && !ARM64
Andre Przywara10cfbaa2019-06-23 15:09:46 +01001175 select SUNXI_GPIO
Michal Simek5ed063d2018-07-23 15:55:13 +02001176 select SYS_NS16550
Maxime Ripardce2e44d2017-10-19 11:49:29 +02001177 select SYS_THUMB_BUILD if !ARM64
Yann E. MORIN2997ee52016-10-31 22:33:40 +01001178 select USB if DISTRO_DEFAULTS
Tom Rinibe5c0602021-07-09 10:11:56 -04001179 select USB_KEYBOARD if DISTRO_DEFAULTS && USB_HOST
1180 select USB_STORAGE if DISTRO_DEFAULTS && USB_HOST
Andre Przywara5375fb12024-01-03 00:12:27 +00001181 select SPL_USE_TINY_PRINTF if SPL
Andre Przywara48313fe2020-02-20 17:51:14 +00001182 select USE_PREBOOT
1183 select SYS_RELOC_GD_ENV_ADDR
Andy Shevchenko92600ed2020-12-08 17:45:31 +02001184 imply BOARD_LATE_INIT
Michal Simek08a00cb2018-07-23 15:55:14 +02001185 imply CMD_DM
Maxime Riparda12fb0e2017-08-24 11:54:03 +02001186 imply CMD_GPT
Miquel Raynal88718be2019-10-03 19:50:03 +02001187 imply CMD_UBI if MTD_RAW_NAND
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001188 imply DISTRO_DEFAULTS
Andre Przywaraae79c1d2022-07-15 16:52:14 +01001189 imply DM_REGULATOR
1190 imply DM_REGULATOR_FIXED
Tom Rini91d27a12017-06-02 11:03:50 -04001191 imply FAT_WRITE
Marek Vasut2f13cf32018-10-10 18:27:35 +02001192 imply FIT
Andre Heidereff264d2018-01-16 09:44:22 +01001193 imply OF_LIBFDT_OVERLAY
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001194 imply PRE_CONSOLE_BUFFER
Simon Glass83061db2021-07-10 21:14:30 -06001195 imply SPL_GPIO
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001196 imply SPL_LIBCOMMON_SUPPORT
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001197 imply SPL_LIBGENERIC_SUPPORT
Simon Glass103c5f12021-08-08 12:20:09 -06001198 imply SPL_MMC if MMC
Simon Glass933b2f02021-07-10 21:14:24 -06001199 imply SPL_POWER
Simon Glass2a736062021-08-08 12:20:12 -06001200 imply SPL_SERIAL
Samuel Holland40edc322021-11-03 22:55:16 -05001201 imply SYSRESET
1202 imply SYSRESET_WATCHDOG
1203 imply SYSRESET_WATCHDOG_AUTO
Maxime Ripard654b02b2017-09-07 10:46:24 +02001204 imply USB_GADGET
Samuel Hollandb147bd32021-08-22 13:53:28 -05001205 imply WDT
Chen-Yu Tsai8ebe4f42014-10-22 16:47:44 +08001206
Stephan Gerhold689088f2020-01-04 18:45:17 +01001207config ARCH_U8500
1208 bool "ST-Ericsson U8500 Series"
1209 select CPU_V7A
1210 select DM
1211 select DM_GPIO
1212 select DM_MMC if MMC
1213 select DM_SERIAL
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001214 select DM_USB_GADGET if DM_USB
Stephan Gerhold689088f2020-01-04 18:45:17 +01001215 select OF_CONTROL
1216 select SYSRESET
1217 select TIMER
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001218 imply AB8500_USB_PHY
Stephan Gerhold689088f2020-01-04 18:45:17 +01001219 imply ARM_PL180_MMCI
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001220 imply CLK
1221 imply DM_PMIC
Stephan Gerhold689088f2020-01-04 18:45:17 +01001222 imply DM_RTC
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001223 imply NOMADIK_GPIO
Stephan Gerhold689088f2020-01-04 18:45:17 +01001224 imply NOMADIK_MTU_TIMER
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001225 imply PHY
Stephan Gerhold689088f2020-01-04 18:45:17 +01001226 imply PL01X_SERIAL
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001227 imply PMIC_AB8500
Stephan Gerhold689088f2020-01-04 18:45:17 +01001228 imply RTC_PL031
Stephan Gerhold89568542021-08-07 15:07:24 +02001229 imply SYS_THUMB_BUILD
Stephan Gerhold689088f2020-01-04 18:45:17 +01001230 imply SYSRESET_SYSCON
1231
Michal Simekec48b6c2018-08-22 14:55:27 +02001232config ARCH_VERSAL
1233 bool "Support Xilinx Versal Platform"
1234 select ARM64
1235 select CLK
1236 select DM
Michal Simekfa797152019-01-15 08:52:46 +01001237 select DM_MMC if MMC
Michal Simekec48b6c2018-08-22 14:55:27 +02001238 select DM_SERIAL
Tom Rini5afdcca2021-08-19 14:19:39 -04001239 select GICV3
Michal Simekec48b6c2018-08-22 14:55:27 +02001240 select OF_CONTROL
T Karthik Reddy42e20f52021-08-10 06:50:19 -06001241 select SOC_DEVICE
Siva Durga Prasad Paladugubfd092f2019-01-31 17:28:14 +05301242 imply BOARD_LATE_INIT
Michal Simek62b96262020-07-28 12:45:47 +02001243 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simekec48b6c2018-08-22 14:55:27 +02001244
Michal Simekf6aebdf2022-09-19 14:21:02 +02001245config ARCH_VERSAL_NET
Michal Simek6b067f42022-11-05 18:21:27 -07001246 bool "Support Xilinx Versal NET Platform"
Michal Simekf6aebdf2022-09-19 14:21:02 +02001247 select ARM64
1248 select CLK
1249 select DM
Michal Simekf6aebdf2022-09-19 14:21:02 +02001250 select DM_MMC if MMC
1251 select DM_SERIAL
1252 select OF_CONTROL
1253 imply BOARD_LATE_INIT
1254 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1255
Stefan Agner7966b432017-03-13 18:41:36 -07001256config ARCH_VF610
1257 bool "Freescale Vybrid"
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301258 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001259 select GPIO_EXTRA_HEADER
Tom Rinic136a862022-11-19 18:45:22 -05001260 select IOMUX_SHARE_CONF_REG
Tom Rini0c2729e2021-08-24 20:40:59 -04001261 select MACH_IMX
York Sunc01e4a12016-12-28 08:43:42 -08001262 select SYS_FSL_ERRATUM_ESDHC111
Tom Rinid56b4b12017-07-22 18:36:16 -04001263 imply CMD_MTDPARTS
Miquel Raynal88718be2019-10-03 19:50:03 +02001264 imply MTD_RAW_NAND
Masahiro Yamadadd840582014-07-30 14:08:14 +09001265
Masahiro Yamada5ca269a2015-03-16 16:43:24 +09001266config ARCH_ZYNQ
Michal Simekb8d44972017-11-23 08:25:41 +01001267 bool "Xilinx Zynq based platform"
Stefan Herbrechtsmeierb7e07502022-08-05 08:16:28 +02001268 select ARM_TWD_TIMER
Tom Rinid0bfa292023-02-15 22:36:49 -05001269 select ARCH_EARLY_INIT_R if FPGA || (SPL && SPL_FPGA)
Michal Simek5ed063d2018-07-23 15:55:13 +02001270 select CLK
1271 select CLK_ZYNQ
1272 select CPU_V7A
Michal Simek05f0f262022-02-17 14:28:41 +01001273 select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
Masahiro Yamada8981f052015-03-31 12:47:55 +09001274 select DM
Michal Simekc4a142f2018-01-09 14:49:28 +01001275 select DM_MMC if MMC
Simon Glass42800ff2015-10-17 19:41:27 -06001276 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001277 select DM_SPI
Jagan Teki9f7a4502015-06-27 00:51:32 +05301278 select DM_SPI_FLASH
Michal Simek5ed063d2018-07-23 15:55:13 +02001279 select OF_CONTROL
Tom Rinidb04ff42024-01-10 13:46:10 -05001280 select MTD
Adam Fordf1b1f772018-04-15 13:51:26 -04001281 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +02001282 select SPL_BOARD_INIT if SPL
1283 select SPL_CLK if SPL
1284 select SPL_DM if SPL
Lukasz Majewski56c40462020-06-04 23:11:53 +08001285 select SPL_DM_SPI if SPL
1286 select SPL_DM_SPI_FLASH if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001287 select SPL_OF_CONTROL if SPL
1288 select SPL_SEPARATE_BSS if SPL
Stefan Herbrechtsmeierb7e07502022-08-05 08:16:28 +02001289 select SPL_TIMER if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001290 select SUPPORT_SPL
Stefan Herbrechtsmeierb7e07502022-08-05 08:16:28 +02001291 select TIMER
Michal Simek8eb55e12018-08-20 08:24:14 +02001292 imply BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +02001293 imply CMD_CLK
Michal Simek08a00cb2018-07-23 15:55:14 +02001294 imply CMD_DM
Michal Simek5ed063d2018-07-23 15:55:13 +02001295 imply CMD_SPL
Michal Simek62b96262020-07-28 12:45:47 +02001296 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simek5ed063d2018-07-23 15:55:13 +02001297 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +09001298
Michal Simek1d6c54e2018-04-12 17:39:46 +02001299config ARCH_ZYNQMP_R5
1300 bool "Xilinx ZynqMP R5 based platform"
Michal Simek5ed063d2018-07-23 15:55:13 +02001301 select CLK
Michal Simek1d6c54e2018-04-12 17:39:46 +02001302 select CPU_V7R
Michal Simek1d6c54e2018-04-12 17:39:46 +02001303 select DM
Michal Simek6f96fb52019-01-15 09:06:46 +01001304 select DM_MMC if MMC
Michal Simek1d6c54e2018-04-12 17:39:46 +02001305 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001306 select OF_CONTROL
Michal Simek08a00cb2018-07-23 15:55:14 +02001307 imply CMD_DM
Jean-Jacques Hiblot687ab542018-11-29 10:52:42 +01001308 imply DM_USB_GADGET
Michal Simek1d6c54e2018-04-12 17:39:46 +02001309
Siva Durga Prasad Paladugu0b54a9d2015-06-10 15:50:57 +05301310config ARCH_ZYNQMP
Michal Simekb8d44972017-11-23 08:25:41 +01001311 bool "Xilinx ZynqMP based platform"
Michal Simek84c72042015-01-15 10:01:51 +01001312 select ARM64
Michal Simek1f297382016-07-14 15:07:54 +02001313 select CLK
Michal Simek5ed063d2018-07-23 15:55:13 +02001314 select DM
Michal Simek11381fb2022-02-17 14:28:42 +01001315 select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
Michal Simek92e69002022-11-29 16:09:42 +01001316 imply DM_MAILBOX
Michal Simekfb693102019-01-15 08:52:51 +01001317 select DM_MMC if MMC
Michal Simek5ed063d2018-07-23 15:55:13 +02001318 select DM_SERIAL
Tom Rinidb04ff42024-01-10 13:46:10 -05001319 select MTD
Michal Simek088f83e2019-01-15 10:50:39 +01001320 select DM_SPI if SPI
1321 select DM_SPI_FLASH if DM_SPI
Michal Simek71efd452022-01-14 13:08:42 +01001322 imply FIRMWARE
Tom Rini5afdcca2021-08-19 14:19:39 -04001323 select GICV2
Michal Simek5ed063d2018-07-23 15:55:13 +02001324 select OF_CONTROL
Ley Foon Tan0680f1b2017-05-03 17:13:32 +08001325 select SPL_BOARD_INIT if SPL
Michal Simek2f039682017-12-01 15:13:36 +01001326 select SPL_CLK if SPL
Michal Simek6cb402f2020-08-19 10:30:39 +02001327 select SPL_DM if SPL
1328 select SPL_DM_SPI if SPI && SPL_DM
Lukasz Majewski56c40462020-06-04 23:11:53 +08001329 select SPL_DM_SPI_FLASH if SPL_DM_SPI
Ibai Erkiaga325a22d2019-09-27 11:37:04 +01001330 select SPL_DM_MAILBOX if SPL
Michal Simek71efd452022-01-14 13:08:42 +01001331 imply SPL_FIRMWARE if SPL
Michal Simek850e7792018-11-23 09:01:44 +01001332 select SPL_SEPARATE_BSS if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001333 select SUPPORT_SPL
Michal Simek92e69002022-11-29 16:09:42 +01001334 imply ZYNQMP_IPI if DM_MAILBOX
T Karthik Reddya890a532021-08-10 06:50:18 -06001335 select SOC_DEVICE
Michal Simek8eb55e12018-08-20 08:24:14 +02001336 imply BOARD_LATE_INIT
Michal Simek08a00cb2018-07-23 15:55:14 +02001337 imply CMD_DM
Michal Simek62b96262020-07-28 12:45:47 +02001338 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Tom Rini91d27a12017-06-02 11:03:50 -04001339 imply FAT_WRITE
Michal Simek22270ca032018-10-04 14:26:13 +02001340 imply MP
Jean-Jacques Hiblot687ab542018-11-29 10:52:42 +01001341 imply DM_USB_GADGET
T Karthik Reddy3b441cf2021-10-29 13:11:43 +02001342 imply ZYNQMP_GPIO_MODEPIN if DM_GPIO && USB
Michal Simek84c72042015-01-15 10:01:51 +01001343
Trevor Woerner18138ab2020-05-06 08:02:41 -04001344config ARCH_TEGRA
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09001345 bool "NVIDIA Tegra"
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001346 select GPIO_EXTRA_HEADER
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001347 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001348 imply FAT_WRITE
Svyatoslav Ryhel412a4c62023-02-01 10:53:03 +02001349 imply SPL_TIMER if SPL
Masahiro Yamadadd840582014-07-30 14:08:14 +09001350
Andre Przywarafac7fc42022-03-04 16:30:09 +00001351config ARCH_VEXPRESS64
1352 bool "Support ARMv8 Arm Ltd. VExpress based boards and models"
Masahiro Yamada016a9542014-09-14 03:01:51 +09001353 select ARM64
Andre Przywarab3270e92020-04-27 19:18:01 +01001354 select DM
Andre Przywarab3270e92020-04-27 19:18:01 +01001355 select DM_SERIAL
Andre Przywarafac7fc42022-03-04 16:30:09 +00001356 select PL01X_SERIAL
Andre Przywarac0fce922022-03-04 16:30:11 +00001357 select OF_CONTROL
1358 select CLK
Andre Przywara58650382022-03-04 16:30:13 +00001359 select BLK
1360 select MTD_NOR_FLASH if MTD
1361 select FLASH_CFI_DRIVER if MTD
1362 select ENV_IS_IN_FLASH if MTD
Andre Przywara8a0a8ff2022-03-04 16:30:14 +00001363 imply DISTRO_DEFAULTS
Linus Walleijffc10372015-01-23 14:41:10 +01001364
Rui Miguel Silvaf98457d2022-05-11 10:55:41 +01001365config TARGET_CORSTONE1000
1366 bool "Support Corstone1000 Platform"
1367 select ARM64
1368 select PL01X_SERIAL
1369 select DM
1370
Usama Arif565add12020-08-12 16:12:53 +01001371config TARGET_TOTAL_COMPUTE
1372 bool "Support Total Compute Platform"
1373 select ARM64
1374 select PL01X_SERIAL
1375 select DM
1376 select DM_SERIAL
1377 select DM_MMC
1378 select DM_GPIO
1379
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301380config TARGET_LS2080A_EMU
1381 bool "Support ls2080a_emu"
York Sunfb2bf8c2016-10-04 14:31:48 -07001382 select ARCH_LS2080A
Masahiro Yamada016a9542014-09-14 03:01:51 +09001383 select ARM64
Linus Walleij23b58772015-03-09 10:53:21 +01001384 select ARMV8_MULTIENTRY
Rajesh Bhagat32413122019-02-01 05:22:01 +00001385 select FSL_DDR_SYNC_REFRESH
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001386 select GPIO_EXTRA_HEADER
York Sun7288c2c2015-03-20 19:28:23 -07001387 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001388 Support for Freescale LS2080A_EMU platform.
1389 The LS2080A Development System (EMULATOR) is a pre-silicon
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301390 development platform that supports the QorIQ LS2080A
York Sun7288c2c2015-03-20 19:28:23 -07001391 Layerscape Architecture processor.
1392
Ashish Kumar77697762017-08-31 16:12:55 +05301393config TARGET_LS1088AQDS
1394 bool "Support ls1088aqds"
1395 select ARCH_LS1088A
1396 select ARM64
1397 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001398 select ARCH_SUPPORT_TFABOOT
Ashish Kumar77697762017-08-31 16:12:55 +05301399 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001400 select GPIO_EXTRA_HEADER
Ashish Kumar91fded62017-11-06 13:18:44 +05301401 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001402 select FSL_DDR_INTERACTIVE if !SD_BOOT
Ashish Kumar77697762017-08-31 16:12:55 +05301403 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001404 Support for NXP LS1088AQDS platform.
Ashish Kumar77697762017-08-31 16:12:55 +05301405 The LS1088A Development System (QDS) is a high-performance
1406 development platform that supports the QorIQ LS1088A
1407 Layerscape Architecture processor.
1408
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301409config TARGET_LS2080AQDS
1410 bool "Support ls2080aqds"
York Sunfb2bf8c2016-10-04 14:31:48 -07001411 select ARCH_LS2080A
York Sune2b65ea2015-03-20 19:28:24 -07001412 select ARM64
1413 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001414 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001415 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001416 select GPIO_EXTRA_HEADER
Scott Wood32eda7c2015-03-24 13:25:03 -07001417 select SUPPORT_SPL
Simon Glassfedb4282017-06-14 21:28:21 -06001418 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001419 imply SCSI_AHCI
Rajesh Bhagat32413122019-02-01 05:22:01 +00001420 select FSL_DDR_BIST
1421 select FSL_DDR_INTERACTIVE if !SPL
York Sune2b65ea2015-03-20 19:28:24 -07001422 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001423 Support for Freescale LS2080AQDS platform.
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301424 The LS2080A Development System (QDS) is a high-performance
1425 development platform that supports the QorIQ LS2080A
1426 Layerscape Architecture processor.
1427
1428config TARGET_LS2080ARDB
1429 bool "Support ls2080ardb"
York Sunfb2bf8c2016-10-04 14:31:48 -07001430 select ARCH_LS2080A
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301431 select ARM64
1432 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001433 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001434 select BOARD_LATE_INIT
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301435 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001436 select FSL_DDR_BIST
1437 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001438 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001439 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001440 imply SCSI_AHCI
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301441 help
1442 Support for Freescale LS2080ARDB platform.
1443 The LS2080A Reference design board (RDB) is a high-performance
1444 development platform that supports the QorIQ LS2080A
York Sune2b65ea2015-03-20 19:28:24 -07001445 Layerscape Architecture processor.
1446
Priyanka Jain3049a582017-04-27 15:08:07 +05301447config TARGET_LS2081ARDB
1448 bool "Support ls2081ardb"
1449 select ARCH_LS2080A
1450 select ARM64
1451 select ARMV8_MULTIENTRY
1452 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001453 select GPIO_EXTRA_HEADER
Priyanka Jain3049a582017-04-27 15:08:07 +05301454 select SUPPORT_SPL
Priyanka Jain3049a582017-04-27 15:08:07 +05301455 help
1456 Support for Freescale LS2081ARDB platform.
1457 The LS2081A Reference design board (RDB) is a high-performance
1458 development platform that supports the QorIQ LS2081A/LS2041A
1459 Layerscape Architecture processor.
1460
Priyanka Jain58c3e622018-11-28 13:04:27 +00001461config TARGET_LX2160ARDB
1462 bool "Support lx2160ardb"
1463 select ARCH_LX2160A
Priyanka Jain58c3e622018-11-28 13:04:27 +00001464 select ARM64
1465 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001466 select ARCH_SUPPORT_TFABOOT
Priyanka Jain58c3e622018-11-28 13:04:27 +00001467 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001468 select GPIO_EXTRA_HEADER
Priyanka Jain58c3e622018-11-28 13:04:27 +00001469 help
1470 Support for NXP LX2160ARDB platform.
1471 The lx2160ardb (LX2160A Reference design board (RDB)
1472 is a high-performance development platform that supports the
1473 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1474
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001475config TARGET_LX2160AQDS
1476 bool "Support lx2160aqds"
1477 select ARCH_LX2160A
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001478 select ARM64
1479 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001480 select ARCH_SUPPORT_TFABOOT
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001481 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001482 select GPIO_EXTRA_HEADER
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001483 help
1484 Support for NXP LX2160AQDS platform.
1485 The lx2160aqds (LX2160A QorIQ Development System (QDS)
1486 is a high-performance development platform that supports the
1487 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1488
Meenakshi Aggarwal9ed303d2020-12-04 20:17:28 +05301489config TARGET_LX2162AQDS
1490 bool "Support lx2162aqds"
1491 select ARCH_LX2162A
1492 select ARCH_MISC_INIT
1493 select ARM64
1494 select ARMV8_MULTIENTRY
1495 select ARCH_SUPPORT_TFABOOT
1496 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001497 select GPIO_EXTRA_HEADER
Meenakshi Aggarwal9ed303d2020-12-04 20:17:28 +05301498 help
1499 Support for NXP LX2162AQDS platform.
1500 The lx2162aqds support is based on LX2160A Layerscape Architecture processor.
1501
Peter Griffin11ac2362015-07-30 18:55:23 +01001502config TARGET_HIKEY
1503 bool "Support HiKey 96boards Consumer Edition Platform"
1504 select ARM64
Peter Griffinefd7b602015-09-10 21:55:16 +01001505 select DM
1506 select DM_GPIO
Peter Griffin9c71bcd2015-09-10 21:55:17 +01001507 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001508 select GPIO_EXTRA_HEADER
Peter Griffincd593ed2016-04-20 17:13:59 +01001509 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001510 select PL01X_SERIAL
Tom Rini6f6b7cf2018-03-06 19:02:27 -05001511 select SPECIFY_CONSOLE_INDEX
Michal Simek08a00cb2018-07-23 15:55:14 +02001512 imply CMD_DM
Peter Griffin11ac2362015-07-30 18:55:23 +01001513 help
1514 Support for HiKey 96boards platform. It features a HI6220
1515 SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
1516
Manivannan Sadhasivamc62c7ef2019-08-02 20:40:09 +05301517config TARGET_HIKEY960
1518 bool "Support HiKey960 96boards Consumer Edition Platform"
1519 select ARM64
1520 select DM
1521 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001522 select GPIO_EXTRA_HEADER
Manivannan Sadhasivamc62c7ef2019-08-02 20:40:09 +05301523 select OF_CONTROL
1524 select PL01X_SERIAL
1525 imply CMD_DM
1526 help
1527 Support for HiKey960 96boards platform. It features a HI3660
1528 SoC, with 4xA73 CPU, 4xA53 CPU, MALI-G71 GPU, and 3GB RAM.
1529
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001530config TARGET_POPLAR
1531 bool "Support Poplar 96boards Enterprise Edition Platform"
1532 select ARM64
1533 select DM
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001534 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001535 select GPIO_EXTRA_HEADER
Michal Simek5ed063d2018-07-23 15:55:13 +02001536 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001537 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001538 imply CMD_DM
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001539 help
1540 Support for Poplar 96boards EE platform. It features a HI3798cv200
1541 SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
1542 making it capable of running any commercial set-top solution based on
1543 Linux or Android.
1544
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301545config TARGET_LS1012AQDS
1546 bool "Support ls1012aqds"
York Sun9533acf2016-09-26 08:09:26 -07001547 select ARCH_LS1012A
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301548 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001549 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001550 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001551 select GPIO_EXTRA_HEADER
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301552 help
1553 Support for Freescale LS1012AQDS platform.
1554 The LS1012A Development System (QDS) is a high-performance
1555 development platform that supports the QorIQ LS1012A
1556 Layerscape Architecture processor.
1557
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301558config TARGET_LS1012ARDB
1559 bool "Support ls1012ardb"
York Sun9533acf2016-09-26 08:09:26 -07001560 select ARCH_LS1012A
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301561 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001562 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001563 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001564 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001565 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001566 imply SCSI_AHCI
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301567 help
1568 Support for Freescale LS1012ARDB platform.
1569 The LS1012A Reference design board (RDB) is a high-performance
1570 development platform that supports the QorIQ LS1012A
1571 Layerscape Architecture processor.
1572
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301573config TARGET_LS1012A2G5RDB
1574 bool "Support ls1012a2g5rdb"
1575 select ARCH_LS1012A
1576 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001577 select ARCH_SUPPORT_TFABOOT
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301578 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001579 select GPIO_EXTRA_HEADER
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301580 imply SCSI
1581 help
1582 Support for Freescale LS1012A2G5RDB platform.
1583 The LS1012A 2G5 Reference design board (RDB) is a high-performance
1584 development platform that supports the QorIQ LS1012A
1585 Layerscape Architecture processor.
1586
Bhaskar Upadhaya9629ccd2018-05-23 11:03:30 +05301587config TARGET_LS1012AFRWY
1588 bool "Support ls1012afrwy"
1589 select ARCH_LS1012A
1590 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001591 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001592 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001593 select GPIO_EXTRA_HEADER
Bhaskar Upadhaya9629ccd2018-05-23 11:03:30 +05301594 imply SCSI
1595 imply SCSI_AHCI
1596 help
1597 Support for Freescale LS1012AFRWY platform.
1598 The LS1012A FRWY board (FRWY) is a high-performance
1599 development platform that supports the QorIQ LS1012A
1600 Layerscape Architecture processor.
1601
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301602config TARGET_LS1012AFRDM
1603 bool "Support ls1012afrdm"
York Sun9533acf2016-09-26 08:09:26 -07001604 select ARCH_LS1012A
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301605 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001606 select ARCH_SUPPORT_TFABOOT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001607 select GPIO_EXTRA_HEADER
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301608 help
1609 Support for Freescale LS1012AFRDM platform.
1610 The LS1012A Freedom board (FRDM) is a high-performance
1611 development platform that supports the QorIQ LS1012A
1612 Layerscape Architecture processor.
1613
Yuantian Tangf278a212019-04-10 16:43:35 +08001614config TARGET_LS1028AQDS
1615 bool "Support ls1028aqds"
1616 select ARCH_LS1028A
1617 select ARM64
1618 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001619 select ARCH_SUPPORT_TFABOOT
Yuantian Tangacf40f52019-07-02 16:16:22 +08001620 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001621 select GPIO_EXTRA_HEADER
Yuantian Tangf278a212019-04-10 16:43:35 +08001622 help
1623 Support for Freescale LS1028AQDS platform
1624 The LS1028A Development System (QDS) is a high-performance
1625 development platform that supports the QorIQ LS1028A
1626 Layerscape Architecture processor.
1627
Yuantian Tang353f36d2019-04-10 16:43:34 +08001628config TARGET_LS1028ARDB
1629 bool "Support ls1028ardb"
1630 select ARCH_LS1028A
1631 select ARM64
1632 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001633 select ARCH_SUPPORT_TFABOOT
Yuantian Tangc40ebf72020-03-09 14:10:07 +08001634 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001635 select GPIO_EXTRA_HEADER
Yuantian Tang353f36d2019-04-10 16:43:34 +08001636 help
1637 Support for Freescale LS1028ARDB platform
1638 The LS1028A Development System (RDB) is a high-performance
1639 development platform that supports the QorIQ LS1028A
1640 Layerscape Architecture processor.
1641
Ashish Kumare84a3242017-08-31 16:12:54 +05301642config TARGET_LS1088ARDB
1643 bool "Support ls1088ardb"
1644 select ARCH_LS1088A
1645 select ARM64
1646 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001647 select ARCH_SUPPORT_TFABOOT
Ashish Kumare84a3242017-08-31 16:12:54 +05301648 select BOARD_LATE_INIT
Ashish Kumar099f4092017-11-06 13:18:43 +05301649 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001650 select FSL_DDR_INTERACTIVE if !SD_BOOT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001651 select GPIO_EXTRA_HEADER
Ashish Kumare84a3242017-08-31 16:12:54 +05301652 help
1653 Support for NXP LS1088ARDB platform.
1654 The LS1088A Reference design board (RDB) is a high-performance
1655 development platform that supports the QorIQ LS1088A
1656 Layerscape Architecture processor.
1657
Wang Huan550e3dc2014-09-05 13:52:44 +08001658config TARGET_LS1021AQDS
Alison Wang0de15702014-12-03 16:18:09 +08001659 bool "Support ls1021aqds"
Michal Simek5ed063d2018-07-23 15:55:13 +02001660 select ARCH_LS1021A
1661 select ARCH_SUPPORT_PSCI
1662 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001663 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301664 select CPU_V7A
Hongbo Zhangadee1d42016-09-21 18:31:04 +08001665 select CPU_V7_HAS_NONSEC
1666 select CPU_V7_HAS_VIRT
York Sun5e8bd7e2016-09-26 08:09:29 -07001667 select LS1_DEEP_SLEEP
Tom Rini2b210542022-12-02 16:42:40 -05001668 select PEN_ADDR_BIG_ENDIAN
Michal Simek5ed063d2018-07-23 15:55:13 +02001669 select SUPPORT_SPL
York Sund26e34c2016-12-28 08:43:40 -08001670 select SYS_FSL_DDR
Rajesh Bhagat32413122019-02-01 05:22:01 +00001671 select FSL_DDR_INTERACTIVE
Lukasz Majewski28964222020-06-04 23:11:52 +08001672 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001673 select GPIO_EXTRA_HEADER
Lukasz Majewski28964222020-06-04 23:11:52 +08001674 select SPI_FLASH_DATAFLASH if FSL_DSPI || FSL_QSPI
Simon Glassfedb4282017-06-14 21:28:21 -06001675 imply SCSI
Masahiro Yamada217f92b2016-08-30 16:22:22 +09001676
Wang Huanc8a7d9d2014-09-05 13:52:45 +08001677config TARGET_LS1021ATWR
Alison Wang0de15702014-12-03 16:18:09 +08001678 bool "Support ls1021atwr"
Michal Simek5ed063d2018-07-23 15:55:13 +02001679 select ARCH_LS1021A
1680 select ARCH_SUPPORT_PSCI
1681 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001682 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301683 select CPU_V7A
Hongbo Zhangadee1d42016-09-21 18:31:04 +08001684 select CPU_V7_HAS_NONSEC
1685 select CPU_V7_HAS_VIRT
York Sun5e8bd7e2016-09-26 08:09:29 -07001686 select LS1_DEEP_SLEEP
Tom Rini2b210542022-12-02 16:42:40 -05001687 select PEN_ADDR_BIG_ENDIAN
Michal Simek5ed063d2018-07-23 15:55:13 +02001688 select SUPPORT_SPL
Lukasz Majewski28964222020-06-04 23:11:52 +08001689 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001690 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001691 imply SCSI
Wang Huanc8a7d9d2014-09-05 13:52:45 +08001692
Aleksandar Gerasimovski91ee5472021-02-22 18:18:11 +00001693config TARGET_PG_WCOM_SELI8
1694 bool "Support Hitachi-Powergrids SELI8 service unit card"
1695 select ARCH_LS1021A
1696 select ARCH_SUPPORT_PSCI
1697 select BOARD_EARLY_INIT_F
1698 select BOARD_LATE_INIT
1699 select CPU_V7A
1700 select CPU_V7_HAS_NONSEC
1701 select CPU_V7_HAS_VIRT
1702 select SYS_FSL_DDR
1703 select FSL_DDR_INTERACTIVE
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001704 select GPIO_EXTRA_HEADER
Aleksandar Gerasimovski91ee5472021-02-22 18:18:11 +00001705 select VENDOR_KM
1706 imply SCSI
1707 help
1708 Support for Hitachi-Powergrids SELI8 service unit card.
1709 SELI8 is a QorIQ LS1021a based service unit card used
1710 in XMC20 and FOX615 product families.
1711
Aleksandar Gerasimovskia7fd6fa2021-06-08 14:16:28 +00001712config TARGET_PG_WCOM_EXPU1
1713 bool "Support Hitachi-Powergrids EXPU1 service unit card"
1714 select ARCH_LS1021A
1715 select ARCH_SUPPORT_PSCI
1716 select BOARD_EARLY_INIT_F
1717 select BOARD_LATE_INIT
1718 select CPU_V7A
1719 select CPU_V7_HAS_NONSEC
1720 select CPU_V7_HAS_VIRT
1721 select SYS_FSL_DDR
1722 select FSL_DDR_INTERACTIVE
1723 select VENDOR_KM
1724 imply SCSI
1725 help
1726 Support for Hitachi-Powergrids EXPU1 service unit card.
1727 EXPU1 is a QorIQ LS1021a based service unit card used
1728 in XMC20 and FOX615 product families.
1729
Jianchao Wang87821222019-07-19 00:30:01 +03001730config TARGET_LS1021ATSN
1731 bool "Support ls1021atsn"
1732 select ARCH_LS1021A
1733 select ARCH_SUPPORT_PSCI
1734 select BOARD_EARLY_INIT_F
1735 select BOARD_LATE_INIT
1736 select CPU_V7A
1737 select CPU_V7_HAS_NONSEC
1738 select CPU_V7_HAS_VIRT
1739 select LS1_DEEP_SLEEP
1740 select SUPPORT_SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001741 select GPIO_EXTRA_HEADER
Jianchao Wang87821222019-07-19 00:30:01 +03001742 imply SCSI
1743
Feng Li20c700f2016-11-03 14:15:17 +08001744config TARGET_LS1021AIOT
1745 bool "Support ls1021aiot"
Michal Simek5ed063d2018-07-23 15:55:13 +02001746 select ARCH_LS1021A
1747 select ARCH_SUPPORT_PSCI
Tom Rinie5ec4812017-01-22 19:43:11 -05001748 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301749 select CPU_V7A
Feng Li20c700f2016-11-03 14:15:17 +08001750 select CPU_V7_HAS_NONSEC
1751 select CPU_V7_HAS_VIRT
Tom Rini2b210542022-12-02 16:42:40 -05001752 select PEN_ADDR_BIG_ENDIAN
Feng Li20c700f2016-11-03 14:15:17 +08001753 select SUPPORT_SPL
Lukasz Majewski28964222020-06-04 23:11:52 +08001754 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001755 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001756 imply SCSI
Feng Li20c700f2016-11-03 14:15:17 +08001757 help
1758 Support for Freescale LS1021AIOT platform.
1759 The LS1021A Freescale board (IOT) is a high-performance
1760 development platform that supports the QorIQ LS1021A
1761 Layerscape Architecture processor.
1762
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001763config TARGET_LS1043AQDS
1764 bool "Support ls1043aqds"
York Sun0a37cf82016-09-26 08:09:27 -07001765 select ARCH_LS1043A
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001766 select ARM64
1767 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001768 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001769 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001770 select BOARD_LATE_INIT
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001771 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001772 select FSL_DDR_INTERACTIVE if !SPL
Lukasz Majewski044a66c2020-06-04 23:11:51 +08001773 select FSL_DSPI if !SPL_NO_DSPI
1774 select DM_SPI_FLASH if FSL_DSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001775 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001776 imply SCSI
Peng Maf11e4922019-01-30 19:11:49 +08001777 imply SCSI_AHCI
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001778 help
1779 Support for Freescale LS1043AQDS platform.
1780
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001781config TARGET_LS1043ARDB
1782 bool "Support ls1043ardb"
York Sun0a37cf82016-09-26 08:09:27 -07001783 select ARCH_LS1043A
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001784 select ARM64
Hou Zhiqiang831c0682015-10-26 19:47:57 +08001785 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001786 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001787 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001788 select BOARD_LATE_INIT
Gong Qianyu3ad44722015-10-26 19:47:53 +08001789 select SUPPORT_SPL
Lukasz Majewski044a66c2020-06-04 23:11:51 +08001790 select FSL_DSPI if !SPL_NO_DSPI
1791 select DM_SPI_FLASH if FSL_DSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001792 select GPIO_EXTRA_HEADER
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001793 help
1794 Support for Freescale LS1043ARDB platform.
1795
Shaohui Xie126fe702016-09-07 17:56:14 +08001796config TARGET_LS1046AQDS
1797 bool "Support ls1046aqds"
York Sunda28e582016-09-26 08:09:24 -07001798 select ARCH_LS1046A
Shaohui Xie126fe702016-09-07 17:56:14 +08001799 select ARM64
1800 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001801 select ARCH_SUPPORT_TFABOOT
Simon Glassa5d67542017-01-23 13:31:20 -07001802 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +02001803 select BOARD_LATE_INIT
1804 select DM_SPI_FLASH if DM_SPI
1805 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001806 select FSL_DDR_BIST if !SPL
1807 select FSL_DDR_INTERACTIVE if !SPL
1808 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001809 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001810 imply SCSI
Shaohui Xie126fe702016-09-07 17:56:14 +08001811 help
1812 Support for Freescale LS1046AQDS platform.
1813 The LS1046A Development System (QDS) is a high-performance
1814 development platform that supports the QorIQ LS1046A
1815 Layerscape Architecture processor.
1816
Mingkai Hudd029362016-09-07 18:47:28 +08001817config TARGET_LS1046ARDB
1818 bool "Support ls1046ardb"
York Sunda28e582016-09-26 08:09:24 -07001819 select ARCH_LS1046A
Mingkai Hudd029362016-09-07 18:47:28 +08001820 select ARM64
1821 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001822 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001823 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001824 select BOARD_LATE_INIT
Mingkai Hudd029362016-09-07 18:47:28 +08001825 select DM_SPI_FLASH if DM_SPI
Hou Zhiqiangdccef2e2016-12-09 16:09:01 +08001826 select POWER_MC34VR500
Michal Simek5ed063d2018-07-23 15:55:13 +02001827 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001828 select FSL_DDR_BIST
1829 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001830 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001831 imply SCSI
Mingkai Hudd029362016-09-07 18:47:28 +08001832 help
1833 Support for Freescale LS1046ARDB platform.
1834 The LS1046A Reference Design Board (RDB) is a high-performance
1835 development platform that supports the QorIQ LS1046A
1836 Layerscape Architecture processor.
1837
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001838config TARGET_LS1046AFRWY
1839 bool "Support ls1046afrwy"
1840 select ARCH_LS1046A
1841 select ARM64
1842 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001843 select ARCH_SUPPORT_TFABOOT
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001844 select BOARD_EARLY_INIT_F
1845 select BOARD_LATE_INIT
1846 select DM_SPI_FLASH if DM_SPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001847 select GPIO_EXTRA_HEADER
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001848 imply SCSI
1849 help
1850 Support for Freescale LS1046AFRWY platform.
1851 The LS1046A Freeway Board (FRWY) is a high-performance
1852 development platform that supports the QorIQ LS1046A
1853 Layerscape Architecture processor.
Masahiro Yamadadd840582014-07-30 14:08:14 +09001854
Michael Walle4ceb5c62020-10-15 23:08:57 +02001855config TARGET_SL28
1856 bool "Support sl28"
1857 select ARCH_LS1028A
1858 select ARM64
1859 select ARMV8_MULTIENTRY
1860 select SUPPORT_SPL
1861 select BINMAN
Michael Walle356a3382021-03-26 19:40:57 +01001862 select DM
1863 select DM_GPIO
1864 select DM_I2C
1865 select DM_MMC
Tom Rinidb04ff42024-01-10 13:46:10 -05001866 select MTD
Michael Walle356a3382021-03-26 19:40:57 +01001867 select DM_SPI_FLASH
Michael Walle356a3382021-03-26 19:40:57 +01001868 select DM_MDIO
Simon Glass3232bdf2021-08-01 18:54:44 -06001869 select PCI
Michael Walle356a3382021-03-26 19:40:57 +01001870 select DM_RNG
1871 select DM_RTC
Tom Rinib630f8b2023-10-27 20:59:51 -04001872 select SCSI
Michael Walle6d1ab4a2021-03-26 19:40:58 +01001873 select DM_SERIAL
Michael Walle356a3382021-03-26 19:40:57 +01001874 select DM_SPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001875 select GPIO_EXTRA_HEADER
Michael Walle356a3382021-03-26 19:40:57 +01001876 select SPL_DM if SPL
1877 select SPL_DM_SPI if SPL
1878 select SPL_DM_SPI_FLASH if SPL
1879 select SPL_DM_I2C if SPL
1880 select SPL_DM_MMC if SPL
1881 select SPL_DM_SERIAL if SPL
Michael Walle4ceb5c62020-10-15 23:08:57 +02001882 help
1883 Support for Kontron SMARC-sAL28 board.
1884
Mathew McBridea1d2fd32022-01-31 18:34:43 +05301885config TARGET_TEN64
1886 bool "Support ten64"
1887 select ARCH_LS1088A
1888 select ARCH_MISC_INIT
1889 select ARM64
1890 select ARMV8_MULTIENTRY
1891 select ARCH_SUPPORT_TFABOOT
1892 select BOARD_LATE_INIT
1893 select SUPPORT_SPL
1894 select FSL_DDR_INTERACTIVE if !SD_BOOT
1895 select GPIO_EXTRA_HEADER
1896 help
1897 Support for Traverse Technologies Ten64 board, based
1898 on NXP LS1088A.
1899
Masahiro Yamada66cba042014-10-03 19:21:07 +09001900config ARCH_UNIPHIER
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +09001901 bool "Socionext UniPhier SoCs"
Tom Rinie5ec4812017-01-22 19:43:11 -05001902 select BOARD_LATE_INIT
Masahiro Yamada4e819952015-03-31 12:47:54 +09001903 select DM
Masahiro Yamadab800cbd2016-02-16 17:03:50 +09001904 select DM_GPIO
Masahiro Yamada4e819952015-03-31 12:47:54 +09001905 select DM_I2C
Masahiro Yamada4aceb3f2016-02-18 19:52:49 +09001906 select DM_MMC
Masahiro Yamada407b01b2020-01-30 22:07:59 +09001907 select DM_MTD
Masahiro Yamada4fb96c42016-10-08 13:25:31 +09001908 select DM_RESET
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001909 select DM_SERIAL
Masahiro Yamada65fce762018-07-19 16:28:25 +09001910 select OF_BOARD_SETUP
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001911 select OF_CONTROL
1912 select OF_LIBFDT
Masahiro Yamada27350c92016-09-17 03:33:01 +09001913 select PINCTRL
Ley Foon Tan0680f1b2017-05-03 17:13:32 +08001914 select SPL_BOARD_INIT if SPL
Masahiro Yamada561ca642017-01-21 18:05:22 +09001915 select SPL_DM if SPL
1916 select SPL_LIBCOMMON_SUPPORT if SPL
1917 select SPL_LIBGENERIC_SUPPORT if SPL
1918 select SPL_OF_CONTROL if SPL
1919 select SPL_PINCTRL if SPL
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001920 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +02001921 imply CMD_DM
Masahiro Yamada7ef5b1e2018-07-20 21:47:18 +09001922 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001923 imply FAT_WRITE
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +09001924 help
1925 Support for UniPhier SoC family developed by Socionext Inc.
1926 (formerly, System LSI Business Division of Panasonic Corporation)
Masahiro Yamada66cba042014-10-03 19:21:07 +09001927
Masami Hiramatsu5cd4a352021-06-04 18:45:10 +09001928config ARCH_SYNQUACER
1929 bool "Socionext SynQuacer SoCs"
1930 select ARM64
1931 select DM
1932 select GIC_V3
1933 select PSCI_RESET
1934 select SYSRESET
1935 select SYSRESET_PSCI
1936 select OF_CONTROL
1937 help
1938 Support for SynQuacer SoC family developed by Socionext Inc.
1939 This SoC is used on 96boards EE DeveloperBox.
1940
Trevor Woerner71f63542020-05-06 08:02:42 -04001941config ARCH_STM32
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001942 bool "Support STMicroelectronics STM32 MCU with cortex M"
rev13@wp.pled09a552015-03-01 12:44:42 +01001943 select CPU_V7M
Kamil Lulko66562412015-12-01 09:08:19 +01001944 select DM
1945 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001946 imply CMD_DM
rev13@wp.pled09a552015-03-01 12:44:42 +01001947
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001948config ARCH_STI
Patrick Delaunayeae488b2022-05-20 18:38:10 +02001949 bool "Support STMicroelectronics SoCs"
Michal Simek5ed063d2018-07-23 15:55:13 +02001950 select BLK
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301951 select CPU_V7A
Patrice Chotard214a17e2017-02-21 13:37:07 +01001952 select DM
Patrice Chotardeee20f82017-02-21 13:37:09 +01001953 select DM_MMC
Patrice Chotard584861f2017-03-22 10:54:03 +01001954 select DM_RESET
Michal Simek5ed063d2018-07-23 15:55:13 +02001955 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001956 imply CMD_DM
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001957 help
1958 Support for STMicroelectronics STiH407/10 SoC family.
1959 This SoC is used on Linaro 96Board STiH410-B2260
1960
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001961config ARCH_STM32MP
1962 bool "Support STMicroelectronics STM32MP Socs with cortex A"
Patrick Delaunay08772f62018-03-20 10:54:53 +01001963 select ARCH_MISC_INIT
Patrick Delaunay654706b2020-04-01 09:07:33 +02001964 select ARCH_SUPPORT_TFABOOT
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001965 select BOARD_LATE_INIT
1966 select CLK
1967 select DM
1968 select DM_GPIO
1969 select DM_RESET
1970 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001971 select MISC
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001972 select OF_CONTROL
1973 select OF_LIBFDT
Patrick Delaunay05d36932019-07-05 17:20:14 +02001974 select OF_SYSTEM_SETUP
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001975 select PINCTRL
1976 select REGMAP
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001977 select SYSCON
Patrick Delaunay86634a92018-03-20 14:15:06 +01001978 select SYSRESET
Patrice Chotard01a70192023-10-27 16:43:04 +02001979 select SYS_THUMB_BUILD if !ARM64
Kever Yang09259fc2019-04-02 20:41:25 +08001980 imply SPL_SYSRESET
Michal Simek08a00cb2018-07-23 15:55:14 +02001981 imply CMD_DM
Patrick Delaunayc16cc4f2019-04-12 11:55:46 +02001982 imply CMD_POWEROFF
Patrick Delaunayf2193612019-07-30 19:16:28 +02001983 imply OF_LIBFDT_OVERLAY
Patrick Delaunayb4ae34b2019-02-27 17:01:11 +01001984 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Patrick Delaunayce3772c2019-04-18 17:32:38 +02001985 imply USE_PREBOOT
Simon Glassd6b318d2021-12-18 11:27:50 -07001986 imply TIMESTAMP
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001987 help
1988 Support for STM32MP SoC family developed by STMicroelectronics,
1989 MPUs based on ARM cortex A core
Patrick Delaunayabf26782019-02-12 11:44:39 +01001990 U-BOOT is running in DDR, loaded by the First Stage BootLoader (FSBL).
1991 FSBL can be TF-A: Trusted Firmware for Cortex A, for trusted boot
1992 chain.
1993 SPL is the unsecure FSBL for the basic boot chain.
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001994
Simon Glass2444dae2015-08-30 16:55:38 -06001995config ARCH_ROCKCHIP
1996 bool "Support Rockchip SoCs"
Simon Glassaa150382016-06-12 23:30:14 -06001997 select BLK
Quentin Schulz05713d52022-09-02 15:10:52 +02001998 select BINMAN if SPL_OPTEE || SPL
Simon Glass2444dae2015-08-30 16:55:38 -06001999 select DM
Simon Glassaa150382016-06-12 23:30:14 -06002000 select DM_GPIO
2001 select DM_I2C
2002 select DM_MMC
Michal Simek5ed063d2018-07-23 15:55:13 +02002003 select DM_PWM
2004 select DM_REGULATOR
Simon Glassaa150382016-06-12 23:30:14 -06002005 select DM_SERIAL
2006 select DM_SPI
2007 select DM_SPI_FLASH
Jonas Karlmanbcbd9a62023-11-12 17:48:58 +00002008 select DM_USB_GADGET if USB_DWC3_GADGET
Philipp Tomsich14ad6eb2017-10-10 16:21:03 +02002009 select ENABLE_ARM_SOC_BOOT0_HOOK
Michal Simek5ed063d2018-07-23 15:55:13 +02002010 select OF_CONTROL
Tom Rinidb04ff42024-01-10 13:46:10 -05002011 select MTD
Adam Fordf1b1f772018-04-15 13:51:26 -04002012 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +02002013 select SPL_DM if SPL
Lukasz Majewski56c40462020-06-04 23:11:53 +08002014 select SPL_DM_SPI if SPL
2015 select SPL_DM_SPI_FLASH if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02002016 select SYS_MALLOC_F
2017 select SYS_THUMB_BUILD if !ARM64
2018 imply ADC
Michal Simek08a00cb2018-07-23 15:55:14 +02002019 imply CMD_DM
Kever Yangb0a569d2019-03-29 09:08:58 +08002020 imply DEBUG_UART_BOARD_INIT
Simon Glass7755dc52023-04-24 13:49:51 +12002021 imply BOOTSTD_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04002022 imply FAT_WRITE
Philipp Tomsich8e8bccc2017-09-20 13:50:13 +02002023 imply SARADC_ROCKCHIP
Michal Simek5ed063d2018-07-23 15:55:13 +02002024 imply SPL_SYSRESET
Thomas Hebb64eff472019-11-15 08:48:57 -08002025 imply SPL_SYS_MALLOC_SIMPLE
Kever Yangc3c03312018-04-19 11:37:09 +08002026 imply SYS_NS16550
Michal Simek5ed063d2018-07-23 15:55:13 +02002027 imply TPL_SYSRESET
2028 imply USB_FUNCTION_FASTBOOT
Simon Glass2444dae2015-08-30 16:55:38 -06002029
Suneel Garapati03c22882019-10-19 18:37:55 -07002030config ARCH_OCTEONTX
2031 bool "Support OcteonTX SoCs"
Stefan Roese7a780742020-09-23 11:01:30 +02002032 select CLK
Suneel Garapati03c22882019-10-19 18:37:55 -07002033 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +09002034 select GPIO_EXTRA_HEADER
Suneel Garapati03c22882019-10-19 18:37:55 -07002035 select ARM64
2036 select OF_CONTROL
2037 select OF_LIVE
2038 select BOARD_LATE_INIT
2039 select SYS_CACHE_SHIFT_7
Tom Rini7856cd52021-12-12 22:12:32 -05002040 select SYS_PCI_64BIT if PCI
Simon Glass239d22c2021-12-16 20:59:36 -07002041 imply OF_HAS_PRIOR_STAGE
Suneel Garapati0a668f62019-10-19 18:47:37 -07002042
2043config ARCH_OCTEONTX2
2044 bool "Support OcteonTX2 SoCs"
Stefan Roese7a780742020-09-23 11:01:30 +02002045 select CLK
Suneel Garapati0a668f62019-10-19 18:47:37 -07002046 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +09002047 select GPIO_EXTRA_HEADER
Suneel Garapati0a668f62019-10-19 18:47:37 -07002048 select ARM64
2049 select OF_CONTROL
2050 select OF_LIVE
2051 select BOARD_LATE_INIT
2052 select SYS_CACHE_SHIFT_7
Tom Rini7856cd52021-12-12 22:12:32 -05002053 select SYS_PCI_64BIT if PCI
Simon Glass239d22c2021-12-16 20:59:36 -07002054 imply OF_HAS_PRIOR_STAGE
Suneel Garapati0a668f62019-10-19 18:47:37 -07002055
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07002056config TARGET_THUNDERX_88XX
2057 bool "Support ThunderX 88xx"
Marek Vasutb4ba1692016-06-01 02:33:53 +02002058 select ARM64
Masami Hiramatsu7a672052021-06-04 18:43:55 +09002059 select GPIO_EXTRA_HEADER
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07002060 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01002061 select PL01X_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02002062 select SYS_CACHE_SHIFT_7
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07002063
maxims@google.com4697abe2017-01-18 13:44:55 -08002064config ARCH_ASPEED
2065 bool "Support Aspeed SoCs"
maxims@google.com4697abe2017-01-18 13:44:55 -08002066 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +02002067 select OF_CONTROL
Michal Simek08a00cb2018-07-23 15:55:14 +02002068 imply CMD_DM
maxims@google.com4697abe2017-01-18 13:44:55 -08002069
liu haoe3aafef2019-10-31 07:51:08 +00002070config TARGET_DURIAN
2071 bool "Support Phytium Durian Platform"
2072 select ARM64
Masami Hiramatsu7a672052021-06-04 18:43:55 +09002073 select GPIO_EXTRA_HEADER
liu haoe3aafef2019-10-31 07:51:08 +00002074 help
2075 Support for durian platform.
2076 It has 2GB Sdram, uart and pcie.
2077
weichangzhengb9d0f002022-03-02 15:09:05 +08002078config TARGET_POMELO
2079 bool "Support Phytium Pomelo Platform"
2080 select ARM64
2081 select DM
2082 select AHCI
2083 select SCSI_AHCI
2084 select AHCI_PCI
2085 select BLK
2086 select PCI
2087 select DM_PCI
2088 select SCSI
weichangzhengb9d0f002022-03-02 15:09:05 +08002089 select DM_SERIAL
weichangzhengb9d0f002022-03-02 15:09:05 +08002090 imply CMD_PCI
2091 help
2092 Support for pomelo platform.
2093 It has 8GB Sdram, uart and pcie.
2094
TracyMg_Lie6a8c6f2023-12-25 11:21:34 +08002095config TARGET_PE2201
2096 bool "Support Phytium PE2201 Platform"
2097 select ARM64
2098 help
2099 Support for pe2201 platform.It has 2GB Sdram, uart and pcie.
2100
Alex Nemirovsky7d706a82020-01-30 12:34:59 -08002101config TARGET_PRESIDIO_ASIC
2102 bool "Support Cortina Presidio ASIC Platform"
2103 select ARM64
Tom Rini5afdcca2021-08-19 14:19:39 -04002104 select GICV2
Alex Nemirovsky7d706a82020-01-30 12:34:59 -08002105
Andrii Anisov770a8ee2020-08-06 12:42:47 +03002106config TARGET_XENGUEST_ARM64
2107 bool "Xen guest ARM64"
2108 select ARM64
2109 select XEN
2110 select OF_CONTROL
2111 select LINUX_KERNEL_IMAGE_HEADER
Peng Fan384d5cf2020-08-06 12:42:50 +03002112 select XEN_SERIAL
Simon Glass239d22c2021-12-16 20:59:36 -07002113 imply OF_HAS_PRIOR_STAGE
2114
Nick Hawkins4276c9b2022-06-08 16:21:34 -05002115config ARCH_GXP
2116 bool "Support HPE GXP SoCs"
2117 select DM
2118 select OF_CONTROL
2119 imply CMD_DM
2120
Masahiro Yamadadd840582014-07-30 14:08:14 +09002121endchoice
2122
Tom Rini97744622021-08-30 09:16:30 -04002123config SUPPORT_PASSING_ATAGS
2124 bool "Support pre-devicetree ATAG-based booting"
2125 depends on !ARM64
2126 imply SETUP_MEMORY_TAGS
2127 help
2128 Support for booting older Linux kernels, using ATAGs rather than
2129 passing a devicetree. This is option is rarely used, and the
2130 semantics are defined at
2131 https://www.kernel.org/doc/Documentation/arm/Booting at section 4a.
2132
2133config SETUP_MEMORY_TAGS
2134 bool "Pass memory size information via ATAG"
2135 depends on SUPPORT_PASSING_ATAGS
2136
2137config CMDLINE_TAG
2138 bool "Pass Linux kernel cmdline via ATAG"
2139 depends on SUPPORT_PASSING_ATAGS
2140
2141config INITRD_TAG
2142 bool "Pass initrd starting point and size via ATAG"
2143 depends on SUPPORT_PASSING_ATAGS
2144
2145config REVISION_TAG
2146 bool "Pass system revision via ATAG"
2147 depends on SUPPORT_PASSING_ATAGS
2148
2149config SERIAL_TAG
2150 bool "Pass system serial number via ATAG"
2151 depends on SUPPORT_PASSING_ATAGS
2152
Tom Rini87e8d382021-08-30 09:16:31 -04002153config STATIC_MACH_TYPE
2154 bool "Statically define the Machine ID number"
Tom Rini493fd332023-09-04 21:12:28 -04002155 default y if TARGET_DS109 || TARGET_DS414 || DEFAULT_DEVICE_TREE = "sun7i-a20-icnova-swac"
Tom Rini87e8d382021-08-30 09:16:31 -04002156 help
2157 When booting via ATAGs, enable this option if we know the correct
2158 machine ID number to use at compile time. Some systems will be
2159 passed the number dynamically by whatever loads U-Boot.
2160
2161config MACH_TYPE
2162 int "Machine ID number"
2163 depends on STATIC_MACH_TYPE
Pali Rohár012d4be2022-08-11 22:29:03 +02002164 default 527 if TARGET_DS109
Pali Rohár012d4be2022-08-11 22:29:03 +02002165 default 3036 if TARGET_DS414
2166 default 4283 if DEFAULT_DEVICE_TREE = "sun7i-a20-icnova-swac"
Tom Rini87e8d382021-08-30 09:16:31 -04002167 help
2168 When booting via ATAGs, the machine type must be passed as a number.
2169 For the full list see https://www.arm.linux.org.uk/developer/machines
2170
AKASHI Takahiro6324d502019-07-03 10:44:39 +09002171config ARCH_SUPPORT_TFABOOT
2172 bool
2173
2174config TFABOOT
2175 bool "Support for booting from TF-A"
2176 depends on ARCH_SUPPORT_TFABOOT
AKASHI Takahiro6324d502019-07-03 10:44:39 +09002177 help
Andre Przywaracee2e022020-09-30 15:45:07 +01002178 Some platforms support the setup of secure registers (for instance
2179 for CPU errata handling) or provide secure services like PSCI.
2180 Those services could also be provided by other firmware parts
2181 like TF-A (Trusted Firmware for Cortex-A), in which case U-Boot
2182 does not need to (and cannot) execute this code.
2183 Enabling this option will make a U-Boot binary that is relying
2184 on other firmware layers to provide secure functionality.
AKASHI Takahiro6324d502019-07-03 10:44:39 +09002185
Andrew F. Davis5fbed8f2018-02-14 11:53:37 -06002186config TI_SECURE_DEVICE
2187 bool "HS Device Type Support"
Andrew F. Davis3a543a82019-04-12 12:54:45 -04002188 depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
Andrew F. Davis5fbed8f2018-02-14 11:53:37 -06002189 help
2190 If a high secure (HS) device type is being used, this config
2191 must be set. This option impacts various aspects of the
2192 build system (to create signed boot images that can be
2193 authenticated) and the code. See the doc/README.ti-secure
2194 file for further details.
2195
Tom Rini440c00d2021-12-17 18:08:45 -05002196config SYS_KWD_CONFIG
2197 string "kwbimage config file path"
2198 depends on ARCH_KIRKWOOD || ARCH_MVEBU
2199 default "arch/arm/mach-mvebu/kwbimage.cfg"
2200 help
2201 Path within the source directory to the kwbimage.cfg file to use
2202 when packaging the U-Boot image for use.
2203
Mark Kettenis003b6572021-10-23 16:58:03 +02002204source "arch/arm/mach-apple/Kconfig"
2205
maxims@google.com4697abe2017-01-18 13:44:55 -08002206source "arch/arm/mach-aspeed/Kconfig"
2207
Masahiro Yamada4614b892015-02-20 17:04:01 +09002208source "arch/arm/mach-at91/Kconfig"
2209
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +09002210source "arch/arm/mach-bcm283x/Kconfig"
Masahiro Yamada3491ba62014-08-31 07:11:01 +09002211
William Zhangf8209d32022-05-09 09:28:02 -07002212source "arch/arm/mach-bcmbca/Kconfig"
2213
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -04002214source "arch/arm/mach-bcmstb/Kconfig"
2215
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +09002216source "arch/arm/mach-davinci/Kconfig"
Simon Glass34e609c2015-02-05 21:41:39 -07002217
Thomas Abraham77b55e82015-08-03 17:58:00 +05302218source "arch/arm/mach-exynos/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +09002219
Nick Hawkins4276c9b2022-06-08 16:21:34 -05002220source "arch/arm/mach-hpe/gxp/Kconfig"
2221
Masahiro Yamada72a8ff42015-02-20 17:04:08 +09002222source "arch/arm/mach-highbank/Kconfig"
Masahiro Yamadaef2b6942014-08-31 07:11:07 +09002223
Yang Xiwene90711f2023-04-01 19:17:33 +08002224source "arch/arm/mach-histb/Kconfig"
2225
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +09002226source "arch/arm/mach-integrator/Kconfig"
2227
Robert Markoe479a7d2020-07-06 10:37:54 +02002228source "arch/arm/mach-ipq40xx/Kconfig"
2229
Lokesh Vutla586bde92018-08-27 15:57:08 +05302230source "arch/arm/mach-k3/Kconfig"
2231
Masahiro Yamada39a72342015-02-20 17:04:11 +09002232source "arch/arm/mach-keystone/Kconfig"
Masahiro Yamadac338f092014-08-31 07:11:05 +09002233
Masahiro Yamada56f86e32015-02-20 17:04:06 +09002234source "arch/arm/mach-kirkwood/Kconfig"
Masahiro Yamada47539e22014-08-31 07:10:59 +09002235
Trevor Woernerb3d9a8b2020-05-06 08:02:36 -04002236source "arch/arm/mach-lpc32xx/Kconfig"
Vladimir Zapolskiyee54dfe2018-09-17 21:43:03 +03002237
Stefan Roesec3d89142015-08-25 13:18:38 +02002238source "arch/arm/mach-mvebu/Kconfig"
2239
Suneel Garapati03c22882019-10-19 18:37:55 -07002240source "arch/arm/mach-octeontx/Kconfig"
Suneel Garapati0a668f62019-10-19 18:47:37 -07002241
2242source "arch/arm/mach-octeontx2/Kconfig"
2243
York Sun0a37cf82016-09-26 08:09:27 -07002244source "arch/arm/cpu/armv7/ls102xa/Kconfig"
2245
Magnus Lilja3159ec62018-05-11 14:06:54 +02002246source "arch/arm/mach-imx/mx3/Kconfig"
2247
Peng Fan7a7391f2018-01-10 13:20:19 +08002248source "arch/arm/mach-imx/mx5/Kconfig"
Adrian Alonso1a8150d2015-09-03 11:49:28 -05002249
Stefano Babic552a8482017-06-29 10:16:06 +02002250source "arch/arm/mach-imx/mx6/Kconfig"
Boris BREZILLON89ebc822015-03-04 13:13:03 +01002251
Peng Fan7a7391f2018-01-10 13:20:19 +08002252source "arch/arm/mach-imx/mx7/Kconfig"
2253
2254source "arch/arm/mach-imx/mx7ulp/Kconfig"
2255
Peng Fanb2b8b9b2018-10-18 14:28:08 +02002256source "arch/arm/mach-imx/imx8/Kconfig"
2257
Peng Fancd357ad2018-11-20 10:19:25 +00002258source "arch/arm/mach-imx/imx8m/Kconfig"
Andrej Rosano424ee3d2015-04-08 18:56:29 +02002259
Peng Fan19b990b2021-08-07 16:00:30 +08002260source "arch/arm/mach-imx/imx8ulp/Kconfig"
2261
Peng Fan881df6e2022-07-26 16:40:39 +08002262source "arch/arm/mach-imx/imx9/Kconfig"
2263
Giulio Benetti77eb9a92020-01-10 15:51:47 +01002264source "arch/arm/mach-imx/imxrt/Kconfig"
2265
Stefan Agnerc5343d42018-02-06 09:44:34 +01002266source "arch/arm/mach-imx/mxs/Kconfig"
2267
Tom Rini983e3702016-11-07 21:34:54 -05002268source "arch/arm/mach-omap2/Kconfig"
Madan Srinivas63847262016-05-19 19:10:43 -05002269
York Sunda28e582016-09-26 08:09:24 -07002270source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
2271
Masahiro Yamada3e93b4e2015-02-20 17:04:09 +09002272source "arch/arm/mach-orion5x/Kconfig"
Masahiro Yamada22f2be72014-08-31 07:11:06 +09002273
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05302274source "arch/arm/mach-owl/Kconfig"
2275
Marek Vasut40b9d532024-02-27 17:05:56 +01002276source "arch/arm/mach-renesas/Kconfig"
Masahiro Yamadaf40b9892014-08-31 07:10:57 +09002277
Beniamino Galvanibfcef282016-05-08 08:30:16 +02002278source "arch/arm/mach-meson/Kconfig"
2279
Ryder Leecbd2fba2018-11-15 10:07:52 +08002280source "arch/arm/mach-mediatek/Kconfig"
2281
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03002282source "arch/arm/mach-qemu/Kconfig"
2283
Simon Glass2444dae2015-08-30 16:55:38 -06002284source "arch/arm/mach-rockchip/Kconfig"
2285
Minkyu Kang225f5ee2015-11-20 15:24:57 +09002286source "arch/arm/mach-s5pc1xx/Kconfig"
Simon Glass311757b2014-10-07 22:01:50 -06002287
Mateusz Kulikowski08592132016-03-31 23:12:32 +02002288source "arch/arm/mach-snapdragon/Kconfig"
2289
Masahiro Yamada7865f4b2015-04-21 20:38:20 +09002290source "arch/arm/mach-socfpga/Kconfig"
2291
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01002292source "arch/arm/mach-sti/Kconfig"
2293
Vikas Manocha0a61ee82016-01-15 17:49:06 -08002294source "arch/arm/mach-stm32/Kconfig"
2295
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01002296source "arch/arm/mach-stm32mp/Kconfig"
2297
Masahiro Yamada3abfd882017-04-28 19:42:18 +09002298source "arch/arm/mach-sunxi/Kconfig"
2299
Masahiro Yamada09f455d2015-02-20 17:04:04 +09002300source "arch/arm/mach-tegra/Kconfig"
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09002301
Stephan Gerhold689088f2020-01-04 18:45:17 +01002302source "arch/arm/mach-u8500/Kconfig"
2303
Masahiro Yamada4c425572015-02-27 02:26:42 +09002304source "arch/arm/mach-uniphier/Kconfig"
Masahiro Yamada66cba042014-10-03 19:21:07 +09002305
Stefan Agner7966b432017-03-13 18:41:36 -07002306source "arch/arm/cpu/armv7/vf610/Kconfig"
2307
Masahiro Yamada0107f242015-03-16 16:43:22 +09002308source "arch/arm/mach-zynq/Kconfig"
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09002309
Michal Simek274ccb52019-01-17 08:22:43 +01002310source "arch/arm/mach-zynqmp/Kconfig"
2311
Michal Simekec48b6c2018-08-22 14:55:27 +02002312source "arch/arm/mach-versal/Kconfig"
2313
Michal Simekf6aebdf2022-09-19 14:21:02 +02002314source "arch/arm/mach-versal-net/Kconfig"
2315
Michal Simek1d6c54e2018-04-12 17:39:46 +02002316source "arch/arm/mach-zynqmp-r5/Kconfig"
2317
Hans de Goedeea624e12014-11-14 09:34:30 +01002318source "arch/arm/cpu/armv7/Kconfig"
2319
Linus Walleij23b58772015-03-09 10:53:21 +01002320source "arch/arm/cpu/armv8/Kconfig"
2321
Stefano Babic552a8482017-06-29 10:16:06 +02002322source "arch/arm/mach-imx/Kconfig"
Boris BREZILLONa05a6042015-03-04 13:13:04 +01002323
Stefan Bosch95e9a8e2020-07-10 19:07:26 +02002324source "arch/arm/mach-nexell/Kconfig"
2325
Jim Liu84335542022-04-19 13:32:19 +08002326source "arch/arm/mach-npcm/Kconfig"
2327
Usama Arif565add12020-08-12 16:12:53 +01002328source "board/armltd/total_compute/Kconfig"
Rui Miguel Silvaf98457d2022-05-11 10:55:41 +01002329source "board/armltd/corstone1000/Kconfig"
Heiko Schocherd8ccbe92016-06-07 08:31:25 +02002330source "board/bosch/shc/Kconfig"
Sjoerd Simons45123802019-02-25 15:33:00 +00002331source "board/bosch/guardian/Kconfig"
Suneel Garapati03c22882019-10-19 18:37:55 -07002332source "board/Marvell/octeontx/Kconfig"
Suneel Garapati0a668f62019-10-19 18:47:37 -07002333source "board/Marvell/octeontx2/Kconfig"
Kristian Amlie15e30102021-09-07 08:37:51 +02002334source "board/armltd/vexpress/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09002335source "board/armltd/vexpress64/Kconfig"
Alex Nemirovsky7d706a82020-01-30 12:34:59 -08002336source "board/cortina/presidio-asic/Kconfig"
Linus Walleij6f63c292023-04-24 09:38:30 +02002337source "board/broadcom/bcmns/Kconfig"
Rayagonda Kokatanur291635a2020-07-15 22:48:55 +05302338source "board/broadcom/bcmns3/Kconfig"
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07002339source "board/cavium/thunderx/Kconfig"
Felix Brack85ab0452018-01-23 18:27:22 +01002340source "board/eets/pdu001/Kconfig"
Bin Meng6f332762018-10-15 02:21:18 -07002341source "board/emulation/qemu-arm/Kconfig"
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05302342source "board/freescale/ls2080aqds/Kconfig"
2343source "board/freescale/ls2080ardb/Kconfig"
Ashish Kumare84a3242017-08-31 16:12:54 +05302344source "board/freescale/ls1088a/Kconfig"
Yuantian Tang353f36d2019-04-10 16:43:34 +08002345source "board/freescale/ls1028a/Kconfig"
Wang Huan550e3dc2014-09-05 13:52:44 +08002346source "board/freescale/ls1021aqds/Kconfig"
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08002347source "board/freescale/ls1043aqds/Kconfig"
Wang Huanc8a7d9d2014-09-05 13:52:45 +08002348source "board/freescale/ls1021atwr/Kconfig"
Jianchao Wang87821222019-07-19 00:30:01 +03002349source "board/freescale/ls1021atsn/Kconfig"
Feng Li20c700f2016-11-03 14:15:17 +08002350source "board/freescale/ls1021aiot/Kconfig"
Shaohui Xie126fe702016-09-07 17:56:14 +08002351source "board/freescale/ls1046aqds/Kconfig"
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08002352source "board/freescale/ls1043ardb/Kconfig"
Mingkai Hudd029362016-09-07 18:47:28 +08002353source "board/freescale/ls1046ardb/Kconfig"
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00002354source "board/freescale/ls1046afrwy/Kconfig"
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05302355source "board/freescale/ls1012aqds/Kconfig"
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05302356source "board/freescale/ls1012ardb/Kconfig"
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05302357source "board/freescale/ls1012afrdm/Kconfig"
Priyanka Jain58c3e622018-11-28 13:04:27 +00002358source "board/freescale/lx2160a/Kconfig"
Marcin Niestrojab38bf62017-01-25 09:53:08 +01002359source "board/grinn/chiliboard/Kconfig"
Tom Rini345243e2015-09-02 15:32:20 -04002360source "board/hisilicon/hikey/Kconfig"
Manivannan Sadhasivamc62c7ef2019-08-02 20:40:09 +05302361source "board/hisilicon/hikey960/Kconfig"
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02002362source "board/hisilicon/poplar/Kconfig"
Ladislav Michla96c08f2017-04-01 17:17:16 +02002363source "board/isee/igep003x/Kconfig"
Michael Walle4ceb5c62020-10-15 23:08:57 +02002364source "board/kontron/sl28/Kconfig"
Parthiban Nallathambi10e959a2020-07-27 16:48:41 +02002365source "board/myir/mys_6ulx/Kconfig"
Tom Rini4982e122022-11-19 18:45:26 -05002366source "board/samsung/common/Kconfig"
Tom Rini3a21d452022-06-10 22:59:35 -04002367source "board/siemens/common/Kconfig"
Navin Sankar Velliangiria3a0bc82021-05-18 09:03:20 +05302368source "board/seeed/npi_imx6ull/Kconfig"
Masami Hiramatsu5cd4a352021-06-04 18:45:10 +09002369source "board/socionext/developerbox/Kconfig"
Vikas Manocha9fa32b12014-11-18 10:42:22 -08002370source "board/st/stv0991/Kconfig"
Enric Balletbò i Serra9d1b2982015-09-07 07:43:20 +02002371source "board/tcl/sl50/Kconfig"
Mathew McBridea1d2fd32022-01-31 18:34:43 +05302372source "board/traverse/ten64/Kconfig"
Parthiban Nallathambid8d33b62019-04-18 00:04:09 +02002373source "board/variscite/dart_6ul/Kconfig"
Yegor Yefremov6ce89322015-05-29 19:27:29 +02002374source "board/vscom/baltos/Kconfig"
liu haoe3aafef2019-10-31 07:51:08 +00002375source "board/phytium/durian/Kconfig"
weichangzhengb9d0f002022-03-02 15:09:05 +08002376source "board/phytium/pomelo/Kconfig"
TracyMg_Lie6a8c6f2023-12-25 11:21:34 +08002377source "board/phytium/pe2201/Kconfig"
Andrii Anisov770a8ee2020-08-06 12:42:47 +03002378source "board/xen/xenguest_arm64/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09002379
Masahiro Yamada51b17d42014-09-01 11:06:34 +09002380source "arch/arm/Kconfig.debug"
2381
Masahiro Yamadadd840582014-07-30 14:08:14 +09002382endmenu