blob: 9898c7d68e1bf3c9d9b10abb6c752c564d8d53c7 [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "ARM architecture"
2 depends on ARM
3
4config SYS_ARCH
Masahiro Yamadadd840582014-07-30 14:08:14 +09005 default "arm"
6
Masahiro Yamada016a9542014-09-14 03:01:51 +09007config ARM64
8 bool
Masahiro Yamadabb6b1422016-07-25 19:56:03 +09009 select PHYS_64BIT
Tom Rini067716b2016-08-22 08:22:17 -040010 select SYS_CACHE_SHIFT_6
Sean Anderson1dd56db2022-04-12 10:59:04 -040011 imply SPL_SEPARATE_BSS
Masahiro Yamada016a9542014-09-14 03:01:51 +090012
Marek Vasut270f8712021-08-30 15:05:23 +020013config ARM64_CRC32
14 bool "Enable support for CRC32 instruction"
15 depends on ARM64
16 default y
17 help
18 ARMv8 implements dedicated crc32 instruction for crc32 calculation.
19 This is faster than software crc32 calculation. This instruction may
20 not be present on all ARMv8.0, but is always present on ARMv8.1 and
21 newer.
22
Peng Fanbf8c4ce2022-04-13 17:47:18 +080023config COUNTER_FREQUENCY
24 int "Timer clock frequency"
25 depends on ARM64 || CPU_V7A
Peng Fan4e651752022-04-13 17:47:19 +080026 default 8000000 if IMX8 || MX7 || MX6UL || MX6ULL
27 default 24000000 if ARCH_SUNXI || ARCH_EXYNOS || ROCKCHIP_RK3128 || \
28 ROCKCHIP_RK3288 || ROCKCHIP_RK322X || ROCKCHIP_RK3036
29 default 25000000 if ARCH_LX2160A || ARCH_LX2162A || ARCH_LS1088A
30 default 100000000 if ARCH_ZYNQMP
Peng Fanbf8c4ce2022-04-13 17:47:18 +080031 default 0
32 help
33 For platforms with ARMv8-A and ARMv7-A which features a system
34 counter, those platforms needs software to program the counter
35 frequency. Setup time clock frequency for certain platform.
36 0 means no need to configure the system counter frequency.
37 For platforms needs the frequency set in U-Boot with a
38 pre-defined value, should have the macro defined as a non-zero value.
39
Stephen Warren49e93872017-11-02 18:11:27 -060040config POSITION_INDEPENDENT
41 bool "Generate position-independent pre-relocation code"
Chia-Wei Wangcd82f192021-08-03 10:50:10 +080042 depends on ARM64 || CPU_V7A
Stephen Warren49e93872017-11-02 18:11:27 -060043 help
44 U-Boot expects to be linked to a specific hard-coded address, and to
45 be loaded to and run from that address. This option lifts that
Edgar E. Iglesias11f4fbf2020-09-09 19:07:24 +020046 restriction, thus allowing the code to be loaded to and executed from
47 almost any 4K aligned address. This logic relies on the relocation
Robert P. J. Daye852b302019-12-25 06:34:07 -050048 information that is embedded in the binary to support U-Boot
Stephen Warren49e93872017-11-02 18:11:27 -060049 relocating itself to the top-of-RAM later during execution.
Stephen Warrene6c90442017-12-19 18:30:36 -070050
Masahiro Yamada382de4a2019-06-26 13:51:46 +090051config INIT_SP_RELATIVE
52 bool "Specify the early stack pointer relative to the .bss section"
Chia-Wei Wangaa29b212021-08-03 10:50:09 +080053 depends on ARM64
Andre Przywaraf5cb6c32020-09-30 17:39:18 +010054 default n if ARCH_QEMU
Andre Przywara12650e42020-09-30 17:39:15 +010055 default y if POSITION_INDEPENDENT
Stephen Warrene6c90442017-12-19 18:30:36 -070056 help
57 U-Boot typically uses a hard-coded value for the stack pointer
Masahiro Yamada382de4a2019-06-26 13:51:46 +090058 before relocation. Enable this option to instead calculate the
Stephen Warrene6c90442017-12-19 18:30:36 -070059 initial SP at run-time. This is useful to avoid hard-coding addresses
Robert P. J. Daye852b302019-12-25 06:34:07 -050060 into U-Boot, so that it can be loaded and executed at arbitrary
Masahiro Yamada382de4a2019-06-26 13:51:46 +090061 addresses and thus avoid using arbitrary addresses at runtime.
62
63 If this option is enabled, the early stack pointer is set to
64 &_bss_start with a offset value added. The offset is specified by
65 SYS_INIT_SP_BSS_OFFSET.
66
67config SYS_INIT_SP_BSS_OFFSET
68 int "Early stack offset from the .bss base address"
Chia-Wei Wangaa29b212021-08-03 10:50:09 +080069 depends on ARM64
Masahiro Yamada382de4a2019-06-26 13:51:46 +090070 depends on INIT_SP_RELATIVE
71 default 524288
72 help
73 This option's value is the offset added to &_bss_start in order to
Stephen Warrene6c90442017-12-19 18:30:36 -070074 calculate the stack pointer. This offset should be large enough so
75 that the early malloc region, global data (gd), and early stack usage
76 do not overlap any appended DTB.
Stephen Warren8163faf2018-01-03 14:31:51 -070077
Pali Rohár372779a2022-04-06 16:20:18 +020078config SPL_SYS_NO_VECTOR_TABLE
79 depends on SPL
80 bool
81
Stephen Warren8163faf2018-01-03 14:31:51 -070082config LINUX_KERNEL_IMAGE_HEADER
Chia-Wei Wangaa29b212021-08-03 10:50:09 +080083 depends on ARM64
Stephen Warren8163faf2018-01-03 14:31:51 -070084 bool
85 help
86 Place a Linux kernel image header at the start of the U-Boot binary.
87 The format of the header is described in the Linux kernel source at
88 Documentation/arm64/booting.txt. This feature is useful since the
89 image header reports the amount of memory (BSS and similar) that
90 U-Boot needs to use, but which isn't part of the binary.
91
Stephen Warren8163faf2018-01-03 14:31:51 -070092config LNX_KRNL_IMG_TEXT_OFFSET_BASE
Chia-Wei Wangaa29b212021-08-03 10:50:09 +080093 depends on LINUX_KERNEL_IMAGE_HEADER
Stephen Warren8163faf2018-01-03 14:31:51 -070094 hex
95 help
96 The value subtracted from CONFIG_SYS_TEXT_BASE to calculate the
Robert P. J. Daye852b302019-12-25 06:34:07 -050097 TEXT_OFFSET value written to the Linux kernel image header.
Stephen Warren49e93872017-11-02 18:11:27 -060098
Tom Rini5afdcca2021-08-19 14:19:39 -040099config GICV2
100 bool
101
102config GICV3
103 bool
104
Bharat Kumar Reddy Gooty0bc43562019-12-16 09:09:43 -0800105config GIC_V3_ITS
106 bool "ARM GICV3 ITS"
Wasim Khan504f8642021-03-08 16:48:14 +0100107 select IRQ
Bharat Kumar Reddy Gooty0bc43562019-12-16 09:09:43 -0800108 help
109 ARM GICV3 Interrupt translation service (ITS).
110 Basic support for programming locality specific peripheral
111 interrupts (LPI) configuration tables and enable LPI tables.
112 LPI configuration table can be used by u-boot or Linux.
113 ARM GICV3 has limitation, once the LPI table is enabled, LPI
114 configuration table can not be re-programmed, unless GICV3 reset.
115
Stephen Warren49e93872017-11-02 18:11:27 -0600116config STATIC_RELA
117 bool
Andre Przywaraeabc0902020-09-30 17:39:13 +0100118 default y if ARM64
Stephen Warren49e93872017-11-02 18:11:27 -0600119
Lokesh Vutla37217f02016-03-24 16:02:00 +0530120config DMA_ADDR_T_64BIT
121 bool
122 default y if ARM64
123
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100124config HAS_VBAR
Tom Rinie009bfa2016-08-22 08:22:18 -0400125 bool
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100126
Albert ARIBAUD62e92072015-10-23 18:06:40 +0200127config HAS_THUMB2
Tom Rinie009bfa2016-08-22 08:22:18 -0400128 bool
Albert ARIBAUD62e92072015-10-23 18:06:40 +0200129
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900130config GPIO_EXTRA_HEADER
131 bool
132
Phil Edworthy111a6af2017-06-01 07:33:28 +0100133# Used for compatibility with asm files copied from the kernel
134config ARM_ASM_UNIFIED
135 bool
136 default y
137
138# Used for compatibility with asm files copied from the kernel
139config THUMB2_KERNEL
140 bool
141
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400142config SYS_ICACHE_OFF
143 bool "Do not enable icache"
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400144 help
145 Do not enable instruction cache in U-Boot.
146
Trevor Woerner10015022019-05-03 09:41:00 -0400147config SPL_SYS_ICACHE_OFF
148 bool "Do not enable icache in SPL"
149 depends on SPL
150 default SYS_ICACHE_OFF
151 help
152 Do not enable instruction cache in SPL.
153
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400154config SYS_DCACHE_OFF
155 bool "Do not enable dcache"
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400156 help
157 Do not enable data cache in U-Boot.
158
Trevor Woerner10015022019-05-03 09:41:00 -0400159config SPL_SYS_DCACHE_OFF
160 bool "Do not enable dcache in SPL"
161 depends on SPL
162 default SYS_DCACHE_OFF
163 help
164 Do not enable data cache in SPL.
165
Lokesh Vutlaf4bcd762018-04-26 18:21:28 +0530166config SYS_ARM_CACHE_CP15
167 bool "CP15 based cache enabling support"
168 help
169 Select this if your processor suports enabling caches by using
170 CP15 registers.
171
Lokesh Vutla7240b802018-04-26 18:21:27 +0530172config SYS_ARM_MMU
173 bool "MMU-based Paged Memory Management Support"
Lokesh Vutlaf4bcd762018-04-26 18:21:28 +0530174 select SYS_ARM_CACHE_CP15
Lokesh Vutla7240b802018-04-26 18:21:27 +0530175 help
176 Select if you want MMU-based virtualised addressing space
Robert P. J. Daye852b302019-12-25 06:34:07 -0500177 support via paged memory management.
Lokesh Vutla7240b802018-04-26 18:21:27 +0530178
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530179config SYS_ARM_MPU
180 bool 'Use the ARM v7 PMSA Compliant MPU'
181 help
182 Some ARM systems without an MMU have instead a Memory Protection
183 Unit (MPU) that defines the type and permissions for regions of
184 memory.
185 If your CPU has an MPU then you should choose 'y' here unless you
186 know that you do not want to use the MPU.
187
Tom Rini8dda2e22017-03-07 07:13:42 -0500188# If set, the workarounds for these ARM errata are applied early during U-Boot
189# startup. Note that in general these options force the workarounds to be
190# applied; no CPU-type/version detection exists, unlike the similar options in
191# the Linux kernel. Do not set these options unless they apply! Also note that
Robert P. J. Daye852b302019-12-25 06:34:07 -0500192# the following can be machine-specific errata. These do have ability to
193# provide rudimentary version and machine-specific checks, but expect no
Tom Rini8dda2e22017-03-07 07:13:42 -0500194# product checks:
195# CONFIG_ARM_ERRATA_430973
196# CONFIG_ARM_ERRATA_454179
197# CONFIG_ARM_ERRATA_621766
198# CONFIG_ARM_ERRATA_798870
199# CONFIG_ARM_ERRATA_801819
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500200# CONFIG_ARM_CORTEX_A8_CVE_2017_5715
Nishanth Menonc2ca3fd2018-06-12 15:24:09 -0500201# CONFIG_ARM_CORTEX_A15_CVE_2017_5715
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500202
Tom Rini8dda2e22017-03-07 07:13:42 -0500203config ARM_ERRATA_430973
204 bool
205
206config ARM_ERRATA_454179
207 bool
208
209config ARM_ERRATA_621766
210 bool
211
212config ARM_ERRATA_716044
213 bool
214
Siarhei Siamashka19a75b82017-03-06 03:16:53 +0200215config ARM_ERRATA_725233
216 bool
217
Tom Rini8dda2e22017-03-07 07:13:42 -0500218config ARM_ERRATA_742230
219 bool
220
221config ARM_ERRATA_743622
222 bool
223
224config ARM_ERRATA_751472
225 bool
226
227config ARM_ERRATA_761320
228 bool
229
230config ARM_ERRATA_773022
231 bool
232
233config ARM_ERRATA_774769
234 bool
235
236config ARM_ERRATA_794072
237 bool
238
239config ARM_ERRATA_798870
240 bool
241
242config ARM_ERRATA_801819
243 bool
244
245config ARM_ERRATA_826974
246 bool
247
248config ARM_ERRATA_828024
249 bool
250
251config ARM_ERRATA_829520
252 bool
253
254config ARM_ERRATA_833069
255 bool
256
257config ARM_ERRATA_833471
258 bool
259
Peng Fan11d94312017-08-08 13:34:52 +0800260config ARM_ERRATA_845369
Michal Simek6e7bdde2018-07-23 15:55:12 +0200261 bool
Peng Fan11d94312017-08-08 13:34:52 +0800262
Nisal Menuka87763502017-04-26 16:18:01 -0500263config ARM_ERRATA_852421
264 bool
265
266config ARM_ERRATA_852423
267 bool
268
Alison Wangab0ab542017-12-28 13:00:55 +0800269config ARM_ERRATA_855873
270 bool
271
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500272config ARM_CORTEX_A8_CVE_2017_5715
273 bool
274
Nishanth Menonc2ca3fd2018-06-12 15:24:09 -0500275config ARM_CORTEX_A15_CVE_2017_5715
276 bool
277
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100278config CPU_ARM720T
Tom Rinie009bfa2016-08-22 08:22:18 -0400279 bool
Tom Rini067716b2016-08-22 08:22:17 -0400280 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530281 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100282
283config CPU_ARM920T
Tom Rinie009bfa2016-08-22 08:22:18 -0400284 bool
Tom Rini067716b2016-08-22 08:22:17 -0400285 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530286 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100287
288config CPU_ARM926EJS
Tom Rinie009bfa2016-08-22 08:22:18 -0400289 bool
Tom Rini067716b2016-08-22 08:22:17 -0400290 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530291 imply SYS_ARM_MMU
Sean Anderson1dd56db2022-04-12 10:59:04 -0400292 imply SPL_SEPARATE_BSS
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100293
294config CPU_ARM946ES
Tom Rinie009bfa2016-08-22 08:22:18 -0400295 bool
Tom Rini067716b2016-08-22 08:22:17 -0400296 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530297 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100298
299config CPU_ARM1136
Tom Rinie009bfa2016-08-22 08:22:18 -0400300 bool
Tom Rini067716b2016-08-22 08:22:17 -0400301 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530302 imply SYS_ARM_MMU
Sean Anderson1dd56db2022-04-12 10:59:04 -0400303 imply SPL_SEPARATE_BSS
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100304
305config CPU_ARM1176
Tom Rinie009bfa2016-08-22 08:22:18 -0400306 bool
307 select HAS_VBAR
Tom Rini067716b2016-08-22 08:22:17 -0400308 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530309 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100310
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530311config CPU_V7A
Tom Rinie009bfa2016-08-22 08:22:18 -0400312 bool
Tom Rinie009bfa2016-08-22 08:22:18 -0400313 select HAS_THUMB2
Michal Simek5ed063d2018-07-23 15:55:13 +0200314 select HAS_VBAR
Tom Rini067716b2016-08-22 08:22:17 -0400315 select SYS_CACHE_SHIFT_6
Lokesh Vutla7240b802018-04-26 18:21:27 +0530316 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100317
rev13@wp.pl12d8a722015-03-01 12:44:39 +0100318config CPU_V7M
319 bool
Tom Rinie009bfa2016-08-22 08:22:18 -0400320 select HAS_THUMB2
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530321 select SYS_ARM_MPU
Michal Simek5ed063d2018-07-23 15:55:13 +0200322 select SYS_CACHE_SHIFT_5
Tom Riniea37f0b2018-05-07 20:46:52 -0400323 select SYS_THUMB_BUILD
Michal Simek5ed063d2018-07-23 15:55:13 +0200324 select THUMB2_KERNEL
rev13@wp.pl12d8a722015-03-01 12:44:39 +0100325
Michal Simek4bbd6b12018-04-26 18:21:29 +0530326config CPU_V7R
327 bool
328 select HAS_THUMB2
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530329 select SYS_ARM_CACHE_CP15
Michal Simek5ed063d2018-07-23 15:55:13 +0200330 select SYS_ARM_MPU
331 select SYS_CACHE_SHIFT_6
Michal Simek4bbd6b12018-04-26 18:21:29 +0530332
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100333config CPU_PXA
Tom Rinie009bfa2016-08-22 08:22:18 -0400334 bool
Tom Rini067716b2016-08-22 08:22:17 -0400335 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530336 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100337
Tom Rini3aca2b62021-12-17 18:08:40 -0500338config CPU_PXA27X
339 bool
340 select CPU_PXA
341
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100342config CPU_SA1100
Tom Rinie009bfa2016-08-22 08:22:18 -0400343 bool
Tom Rini067716b2016-08-22 08:22:17 -0400344 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530345 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100346
347config SYS_CPU
Tom Rinie009bfa2016-08-22 08:22:18 -0400348 default "arm720t" if CPU_ARM720T
349 default "arm920t" if CPU_ARM920T
350 default "arm926ejs" if CPU_ARM926EJS
351 default "arm946es" if CPU_ARM946ES
352 default "arm1136" if CPU_ARM1136
353 default "arm1176" if CPU_ARM1176
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530354 default "armv7" if CPU_V7A
Michal Simek4bbd6b12018-04-26 18:21:29 +0530355 default "armv7" if CPU_V7R
Tom Rinie009bfa2016-08-22 08:22:18 -0400356 default "armv7m" if CPU_V7M
357 default "pxa" if CPU_PXA
358 default "sa1100" if CPU_SA1100
Masahiro Yamada01541ee2014-11-06 11:39:27 +0900359 default "armv8" if ARM64
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100360
Marek Vasut66020a62016-05-26 18:01:36 +0200361config SYS_ARM_ARCH
362 int
363 default 4 if CPU_ARM720T
364 default 4 if CPU_ARM920T
365 default 5 if CPU_ARM926EJS
366 default 5 if CPU_ARM946ES
367 default 6 if CPU_ARM1136
368 default 6 if CPU_ARM1176
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530369 default 7 if CPU_V7A
Marek Vasut66020a62016-05-26 18:01:36 +0200370 default 7 if CPU_V7M
Michal Simek4bbd6b12018-04-26 18:21:29 +0530371 default 7 if CPU_V7R
Marek Vasut66020a62016-05-26 18:01:36 +0200372 default 5 if CPU_PXA
373 default 4 if CPU_SA1100
374 default 8 if ARM64
375
Patrick Delaunayf8dc7f22020-04-10 16:02:02 +0200376choice
377 prompt "Select the ARM data write cache policy"
378 default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS || \
Tom Rinida426462021-02-20 20:05:57 -0500379 CPU_PXA || RZA1
Patrick Delaunayf8dc7f22020-04-10 16:02:02 +0200380 default SYS_ARM_CACHE_WRITEBACK
381
382config SYS_ARM_CACHE_WRITEBACK
383 bool "Write-back (WB)"
384 help
385 A write updates the cache only and marks the cache line as dirty.
386 External memory is updated only when the line is evicted or explicitly
387 cleaned.
388
389config SYS_ARM_CACHE_WRITETHROUGH
390 bool "Write-through (WT)"
391 help
392 A write updates both the cache and the external memory system.
393 This does not mark the cache line as dirty.
394
395config SYS_ARM_CACHE_WRITEALLOC
396 bool "Write allocation (WA)"
397 help
398 A cache line is allocated on a write miss. This means that executing a
399 store instruction on the processor might cause a burst read to occur.
400 There is a linefill to obtain the data for the cache line, before the
401 write is performed.
402endchoice
403
Pali Rohár948da772022-05-06 11:05:13 +0200404config ARCH_VERY_EARLY_INIT
405 bool
406
407config SPL_ARCH_VERY_EARLY_INIT
408 bool
409
Adam Ford1bf33012019-08-14 08:29:25 -0500410config ARCH_CPU_INIT
411 bool "Enable ARCH_CPU_INIT"
412 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500413 Some architectures require a call to arch_cpu_init().
Adam Ford1bf33012019-08-14 08:29:25 -0500414 Say Y here to enable it
415
Andre Przywara7842b6a2018-04-12 04:24:46 +0300416config SYS_ARCH_TIMER
417 bool "ARM Generic Timer support"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530418 depends on CPU_V7A || ARM64
Andre Przywara7842b6a2018-04-12 04:24:46 +0300419 default y if ARM64
420 help
421 The ARM Generic Timer (aka arch-timer) provides an architected
422 interface to a timer source on an SoC.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500423 It is mandatory for ARMv8 implementation and widely available
Andre Przywara7842b6a2018-04-12 04:24:46 +0300424 on ARMv7 systems.
425
Masahiro Yamadac54bcf62017-04-14 11:10:23 +0900426config ARM_SMCCC
427 bool "Support for ARM SMC Calling Convention (SMCCC)"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530428 depends on CPU_V7A || ARM64
Masahiro Yamada573a3812017-04-14 11:10:24 +0900429 select ARM_PSCI_FW
Masahiro Yamadac54bcf62017-04-14 11:10:23 +0900430 help
431 Say Y here if you want to enable ARM SMC Calling Convention.
432 This should be enabled if U-Boot needs to communicate with system
433 firmware (for example, PSCI) according to SMCCC.
434
Linus Walleijf91afc42015-01-23 11:50:53 +0100435config SEMIHOSTING
Sean Anderson8e1c9fe2022-03-22 16:59:19 -0400436 bool "Support ARM semihosting"
Linus Walleijf91afc42015-01-23 11:50:53 +0100437 help
Sean Anderson8e1c9fe2022-03-22 16:59:19 -0400438 Semihosting is a method for a target to communicate with a host
439 debugger. It uses special instructions which the debugger will trap
440 on and interpret. This allows U-Boot to read/write files, print to
441 the console, and execute arbitrary commands on the host system.
442
443 Enabling this option will add support for reading and writing files
444 on the host system. If you don't have a debugger attached then trying
445 to do this will likely cause U-Boot to hang. Say 'n' if you are unsure.
446
Sean Anderson385d69d2022-03-22 16:59:30 -0400447config SEMIHOSTING_FALLBACK
448 bool "Recover gracefully when semihosting fails"
449 depends on SEMIHOSTING && ARM64
450 default y
451 help
452 Normally, if U-Boot makes a semihosting call and no debugger is
453 attached, then it will panic due to a synchronous abort
454 exception. This config adds an exception handler which will allow
455 U-Boot to recover. Say 'y' if unsure.
456
Sean Anderson8e1c9fe2022-03-22 16:59:19 -0400457config SPL_SEMIHOSTING
458 bool "Support ARM semihosting in SPL"
459 depends on SPL
460 help
461 Semihosting is a method for a target to communicate with a host
462 debugger. It uses special instructions which the debugger will trap
463 on and interpret. This allows U-Boot to read/write files, print to
464 the console, and execute arbitrary commands on the host system.
465
466 Enabling this option will add support for reading and writing files
467 on the host system. If you don't have a debugger attached then trying
468 to do this will likely cause U-Boot to hang. Say 'n' if you are unsure.
Linus Walleijf91afc42015-01-23 11:50:53 +0100469
Sean Anderson385d69d2022-03-22 16:59:30 -0400470config SPL_SEMIHOSTING_FALLBACK
471 bool "Recover gracefully when semihosting fails in SPL"
472 depends on SPL_SEMIHOSTING && ARM64
473 select ARMV8_SPL_EXCEPTION_VECTORS
474 default y
475 help
476 Normally, if U-Boot makes a semihosting call and no debugger is
477 attached, then it will panic due to a synchronous abort
478 exception. This config adds an exception handler which will allow
479 U-Boot to recover. Say 'y' if unsure.
480
Tom Rini3a649402017-03-18 09:01:44 -0400481config SYS_THUMB_BUILD
482 bool "Build U-Boot using the Thumb instruction set"
483 depends on !ARM64
484 help
485 Use this flag to build U-Boot using the Thumb instruction set for
486 ARM architectures. Thumb instruction set provides better code
487 density. For ARM architectures that support Thumb2 this flag will
488 result in Thumb2 code generated by GCC.
489
490config SPL_SYS_THUMB_BUILD
491 bool "Build SPL using the Thumb instruction set"
492 default y if SYS_THUMB_BUILD
Adam Ford05705562019-08-13 14:32:30 -0500493 depends on !ARM64 && SPL
Tom Rini3a649402017-03-18 09:01:44 -0400494 help
495 Use this flag to build SPL using the Thumb instruction set for
496 ARM architectures. Thumb instruction set provides better code
497 density. For ARM architectures that support Thumb2 this flag will
498 result in Thumb2 code generated by GCC.
499
Kever Yang1e32c512019-04-02 20:41:20 +0800500config TPL_SYS_THUMB_BUILD
501 bool "Build TPL using the Thumb instruction set"
502 default y if SYS_THUMB_BUILD
503 depends on TPL && !ARM64
504 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500505 Use this flag to build TPL using the Thumb instruction set for
Kever Yang1e32c512019-04-02 20:41:20 +0800506 ARM architectures. Thumb instruction set provides better code
507 density. For ARM architectures that support Thumb2 this flag will
508 result in Thumb2 code generated by GCC.
509
510
Peng Fanf3e9bec2015-08-19 15:48:57 +0800511config SYS_L2CACHE_OFF
512 bool "L2cache off"
513 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500514 If SoC does not support L2CACHE or one does not want to enable
Peng Fanf3e9bec2015-08-19 15:48:57 +0800515 L2CACHE, choose this option.
516
Andre Przywaracdaa6332016-05-31 10:45:06 -0700517config ENABLE_ARM_SOC_BOOT0_HOOK
518 bool "prepare BOOT0 header"
519 help
520 If the SoC's BOOT0 requires a header area filled with (magic)
Simon Goldschmidt7d531e82018-02-13 13:18:00 +0100521 values, then choose this option, and create a file included as
522 <asm/arch/boot0.h> which contains the required assembler code.
Andre Przywaracdaa6332016-05-31 10:45:06 -0700523
Fabio Estevambe725912016-12-15 19:30:40 -0200524config USE_ARCH_MEMCPY
525 bool "Use an assembly optimized implementation of memcpy"
Stefan Roese4e062fc2021-09-02 17:00:19 +0200526 default y if !ARM64
527 depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
Tom Rini40d55342017-01-12 13:16:02 -0500528 help
529 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500530 Such an implementation may be faster under some conditions
Tom Rini40d55342017-01-12 13:16:02 -0500531 but may increase the binary size.
532
533config SPL_USE_ARCH_MEMCPY
Andy Yanf8136e62017-06-28 16:27:37 +0800534 bool "Use an assembly optimized implementation of memcpy for SPL"
Tom Rini40d55342017-01-12 13:16:02 -0500535 default y if USE_ARCH_MEMCPY
Stefan Roese4e062fc2021-09-02 17:00:19 +0200536 depends on SPL
Fabio Estevambe725912016-12-15 19:30:40 -0200537 help
538 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500539 Such an implementation may be faster under some conditions
Fabio Estevambe725912016-12-15 19:30:40 -0200540 but may increase the binary size.
541
Kever Yang1e32c512019-04-02 20:41:20 +0800542config TPL_USE_ARCH_MEMCPY
543 bool "Use an assembly optimized implementation of memcpy for TPL"
544 default y if USE_ARCH_MEMCPY
Stefan Roese4e062fc2021-09-02 17:00:19 +0200545 depends on TPL
Kever Yang1e32c512019-04-02 20:41:20 +0800546 help
547 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500548 Such an implementation may be faster under some conditions
Kever Yang1e32c512019-04-02 20:41:20 +0800549 but may increase the binary size.
550
Stefan Roese4e062fc2021-09-02 17:00:19 +0200551config USE_ARCH_MEMMOVE
552 bool "Use an assembly optimized implementation of memmove" if !ARM64
553 default USE_ARCH_MEMCPY if ARM64
554 depends on ARM64
555 help
556 Enable the generation of an optimized version of memmove.
557 Such an implementation may be faster under some conditions
558 but may increase the binary size.
559
560config SPL_USE_ARCH_MEMMOVE
561 bool "Use an assembly optimized implementation of memmove for SPL" if !ARM64
562 default SPL_USE_ARCH_MEMCPY if ARM64
563 depends on SPL && ARM64
564 help
565 Enable the generation of an optimized version of memmove.
566 Such an implementation may be faster under some conditions
567 but may increase the binary size.
568
569config TPL_USE_ARCH_MEMMOVE
570 bool "Use an assembly optimized implementation of memmove for TPL" if !ARM64
571 default TPL_USE_ARCH_MEMCPY if ARM64
572 depends on TPL && ARM64
573 help
574 Enable the generation of an optimized version of memmove.
575 Such an implementation may be faster under some conditions
576 but may increase the binary size.
577
Fabio Estevambe725912016-12-15 19:30:40 -0200578config USE_ARCH_MEMSET
579 bool "Use an assembly optimized implementation of memset"
Stefan Roese4e062fc2021-09-02 17:00:19 +0200580 default y if !ARM64
581 depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
Tom Rini40d55342017-01-12 13:16:02 -0500582 help
583 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500584 Such an implementation may be faster under some conditions
Tom Rini40d55342017-01-12 13:16:02 -0500585 but may increase the binary size.
586
587config SPL_USE_ARCH_MEMSET
Andy Yanf8136e62017-06-28 16:27:37 +0800588 bool "Use an assembly optimized implementation of memset for SPL"
Tom Rini40d55342017-01-12 13:16:02 -0500589 default y if USE_ARCH_MEMSET
Stefan Roese4e062fc2021-09-02 17:00:19 +0200590 depends on SPL
Fabio Estevambe725912016-12-15 19:30:40 -0200591 help
592 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500593 Such an implementation may be faster under some conditions
Fabio Estevambe725912016-12-15 19:30:40 -0200594 but may increase the binary size.
595
Kever Yang1e32c512019-04-02 20:41:20 +0800596config TPL_USE_ARCH_MEMSET
597 bool "Use an assembly optimized implementation of memset for TPL"
598 default y if USE_ARCH_MEMSET
Stefan Roese4e062fc2021-09-02 17:00:19 +0200599 depends on TPL
Kever Yang1e32c512019-04-02 20:41:20 +0800600 help
601 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500602 Such an implementation may be faster under some conditions
Kever Yang1e32c512019-04-02 20:41:20 +0800603 but may increase the binary size.
604
Alison Wangec6617c2016-11-10 10:49:03 +0800605config ARM64_SUPPORT_AARCH32
606 bool "ARM64 system support AArch32 execution state"
Adam Ford05705562019-08-13 14:32:30 -0500607 depends on ARM64
608 default y if !TARGET_THUNDERX_88XX
Alison Wangec6617c2016-11-10 10:49:03 +0800609 help
610 This ARM64 system supports AArch32 execution state.
611
Masahiro Yamadadd840582014-07-30 14:08:14 +0900612choice
613 prompt "Target select"
Simon Glassb928e652015-08-30 19:19:30 -0600614 default TARGET_HIKEY
Masahiro Yamadadd840582014-07-30 14:08:14 +0900615
Masahiro Yamada4614b892015-02-20 17:04:01 +0900616config ARCH_AT91
617 bool "Atmel AT91"
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900618 select GPIO_EXTRA_HEADER
Tom Rinif58e9462018-05-10 07:15:52 -0400619 select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
Gregory CLEMENTc7c120c2020-06-05 10:43:36 +0200620 select SPL_SEPARATE_BSS if SPL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900621
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900622config ARCH_DAVINCI
623 bool "TI DaVinci"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100624 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900625 select GPIO_EXTRA_HEADER
Lukasz Majewski56c40462020-06-04 23:11:53 +0800626 select SPL_DM_SPI if SPL
Simon Glass15dc63d2017-08-04 16:34:43 -0600627 imply CMD_SAVES
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900628 help
629 Support for TI's DaVinci platform.
Masahiro Yamadadd840582014-07-30 14:08:14 +0900630
Trevor Woernerbb0fb4c2020-05-06 08:02:40 -0400631config ARCH_KIRKWOOD
Masahiro Yamada47539e22014-08-31 07:10:59 +0900632 bool "Marvell Kirkwood"
Simon Glass45856012017-01-23 13:31:21 -0700633 select ARCH_MISC_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200634 select BOARD_EARLY_INIT_F
635 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900636 select GPIO_EXTRA_HEADER
Masahiro Yamadadd840582014-07-30 14:08:14 +0900637
Stefan Roesec3d89142015-08-25 13:18:38 +0200638config ARCH_MVEBU
Stefan Roese21b29fc2016-05-25 08:13:45 +0200639 bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
Stefan Roese9cffb232015-09-01 11:27:52 +0200640 select DM
Stefan Roesee3b9c982015-11-19 07:46:15 +0100641 select DM_ETH
Stefan Roese1d51ea12015-09-02 08:41:41 +0200642 select DM_SERIAL
Stefan Roese09a54c02015-11-20 13:51:57 +0100643 select DM_SPI
644 select DM_SPI_FLASH
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900645 select GPIO_EXTRA_HEADER
Lukasz Majewski56c40462020-06-04 23:11:53 +0800646 select SPL_DM_SPI if SPL
647 select SPL_DM_SPI_FLASH if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +0200648 select OF_CONTROL
649 select OF_SEPARATE
Adam Fordf1b1f772018-04-15 13:51:26 -0400650 select SPI
Michal Simek08a00cb2018-07-23 15:55:14 +0200651 imply CMD_DM
Stefan Roesea4884832014-10-22 12:13:19 +0200652
Trevor Woernerb16a3312020-05-06 08:02:38 -0400653config ARCH_ORION5X
Masahiro Yamada22f2be72014-08-31 07:11:06 +0900654 bool "Marvell Orion"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100655 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900656 select GPIO_EXTRA_HEADER
Sean Anderson1dd56db2022-04-12 10:59:04 -0400657 select SPL_SEPARATE_BSS if SPL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900658
Vikas Manocha9fa32b12014-11-18 10:42:22 -0800659config TARGET_STV0991
660 bool "Support stv0991"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530661 select CPU_V7A
Masahiro Yamadacac0ca72015-03-31 12:48:01 +0900662 select DM
663 select DM_SERIAL
Vikas Manochae67abca2015-07-02 18:29:41 -0700664 select DM_SPI
665 select DM_SPI_FLASH
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900666 select GPIO_EXTRA_HEADER
Michal Simek5ed063d2018-07-23 15:55:13 +0200667 select PL01X_SERIAL
Adam Fordf1b1f772018-04-15 13:51:26 -0400668 select SPI
Vikas Manochae67abca2015-07-02 18:29:41 -0700669 select SPI_FLASH
Michal Simek08a00cb2018-07-23 15:55:14 +0200670 imply CMD_DM
Vikas Manocha9fa32b12014-11-18 10:42:22 -0800671
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +0900672config ARCH_BCM283X
673 bool "Broadcom BCM283X family"
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900674 select DM
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900675 select DM_GPIO
Michal Simek5ed063d2018-07-23 15:55:13 +0200676 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900677 select GPIO_EXTRA_HEADER
Fabian Vogt76709092016-09-26 14:26:51 +0200678 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +0100679 select PL01X_SERIAL
Alexander Grafae5326a2018-01-29 13:57:20 +0100680 select SERIAL_SEARCH_ALL
Michal Simek08a00cb2018-07-23 15:55:14 +0200681 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -0400682 imply FAT_WRITE
Stephen Warren46414292015-02-16 12:16:15 -0700683
Philippe Reynesea1a7de2019-01-31 18:57:35 +0100684config ARCH_BCM63158
685 bool "Broadcom BCM63158 family"
686 select DM
687 select OF_CONTROL
688 imply CMD_DM
689
Philippe Reynes1d5555f2022-02-11 19:18:34 +0100690config ARCH_BCM6753
691 bool "Broadcom BCM6753 family"
692 select CPU_V7A
693 select DM
694 select OF_CONTROL
695 imply CMD_DM
696
Philippe Reynes6454e952020-01-07 20:14:10 +0100697config ARCH_BCM68360
698 bool "Broadcom BCM68360 family"
699 select DM
700 select OF_CONTROL
701 imply CMD_DM
702
Philippe Reynes40b59b02018-10-11 18:31:58 +0200703config ARCH_BCM6858
704 bool "Broadcom BCM6858 family"
705 select DM
706 select OF_CONTROL
707 imply CMD_DM
708
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -0400709config ARCH_BCMSTB
710 bool "Broadcom BCM7XXX family"
711 select CPU_V7A
712 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900713 select GPIO_EXTRA_HEADER
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -0400714 select OF_CONTROL
Michal Simek08a00cb2018-07-23 15:55:14 +0200715 imply CMD_DM
Simon Glass239d22c2021-12-16 20:59:36 -0700716 imply OF_HAS_PRIOR_STAGE
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -0400717 help
718 This enables support for Broadcom ARM-based set-top box
719 chipsets, including the 7445 family of chips.
720
Kristian Amlie15e30102021-09-07 08:37:51 +0200721config TARGET_VEXPRESS_CA9X4
722 bool "Support vexpress_ca9x4"
723 select CPU_V7A
724 select PL011_SERIAL
725
Steve Raeabb16782014-11-11 11:32:18 -0800726config TARGET_BCMCYGNUS
727 bool "Support bcmcygnus"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530728 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900729 select GPIO_EXTRA_HEADER
Michal Simek5ed063d2018-07-23 15:55:13 +0200730 imply BCM_SF2_ETH
731 imply BCM_SF2_ETH_GMAC
Simon Glass551c3932017-05-17 03:25:25 -0600732 imply CMD_HASH
Michal Simek5ed063d2018-07-23 15:55:13 +0200733 imply CRC32_VERIFY
Tom Rini91d27a12017-06-02 11:03:50 -0400734 imply FAT_WRITE
Daniel Thompson221a9492017-05-19 17:26:58 +0100735 imply HASH_VERIFY
Suji Velupillaic89782d2017-07-10 14:05:41 -0700736 imply NETDEVICES
Steve Rae9dec5272014-08-11 13:58:26 -0700737
Jon Mason274bced2017-03-17 12:12:14 -0400738config TARGET_BCMNS2
739 bool "Support Broadcom Northstar2"
740 select ARM64
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900741 select GPIO_EXTRA_HEADER
Jon Mason274bced2017-03-17 12:12:14 -0400742 help
743 Support for Broadcom Northstar 2 SoCs. NS2 is a quad-core 64-bit
744 ARMv8 Cortex-A57 processors targeting a broad range of networking
Robert P. J. Daye852b302019-12-25 06:34:07 -0500745 applications.
Jon Mason274bced2017-03-17 12:12:14 -0400746
Rayagonda Kokatanur291635a2020-07-15 22:48:55 +0530747config TARGET_BCMNS3
748 bool "Support Broadcom NS3"
749 select ARM64
750 select BOARD_LATE_INIT
751 help
752 Support for Broadcom Northstar 3 SoCs. NS3 is a octo-core 64-bit
753 ARMv8 Cortex-A72 processors targeting a broad range of networking
754 applications.
755
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900756config ARCH_EXYNOS
757 bool "Samsung EXYNOS"
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900758 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +0200759 select DM_GPIO
Simon Glassfc47cf92016-11-23 06:34:40 -0700760 select DM_I2C
Simon Glass5e19f4a2021-07-18 19:02:40 -0600761 select DM_ETH
Michal Simek5ed063d2018-07-23 15:55:13 +0200762 select DM_KEYBOARD
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900763 select DM_SERIAL
764 select DM_SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200765 select DM_SPI_FLASH
Adam Fordf1b1f772018-04-15 13:51:26 -0400766 select SPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900767 select GPIO_EXTRA_HEADER
Guillaume GARDETc96d9032018-11-20 14:15:13 +0100768 imply SYS_THUMB_BUILD
Michal Simek08a00cb2018-07-23 15:55:14 +0200769 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -0400770 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900771
Simon Glass311757b2014-10-07 22:01:50 -0600772config ARCH_S5PC1XX
773 bool "Samsung S5PC1XX"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530774 select CPU_V7A
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900775 select DM
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900776 select DM_GPIO
Simon Glass08848e92016-11-23 06:34:41 -0700777 select DM_I2C
Michal Simek5ed063d2018-07-23 15:55:13 +0200778 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900779 select GPIO_EXTRA_HEADER
Michal Simek08a00cb2018-07-23 15:55:14 +0200780 imply CMD_DM
Simon Glass311757b2014-10-07 22:01:50 -0600781
Masahiro Yamadaef2b6942014-08-31 07:11:07 +0900782config ARCH_HIGHBANK
783 bool "Calxeda Highbank"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530784 select CPU_V7A
Andre Przywara109552d2021-04-12 01:04:51 +0100785 select PL01X_SERIAL
786 select DM
787 select DM_SERIAL
788 select OF_CONTROL
Andre Przywara109552d2021-04-12 01:04:51 +0100789 select CLK
790 select CLK_CCF
791 select AHCI
Andre Przywaradebb07b2021-04-12 01:04:52 +0100792 select DM_ETH
Andre Przywara1238d012021-04-12 01:04:54 +0100793 select PHYS_64BIT
Simon Glass239d22c2021-12-16 20:59:36 -0700794 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900795
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +0900796config ARCH_INTEGRATOR
797 bool "ARM Ltd. Integrator family"
Linus Walleij3f394e72015-07-27 11:22:48 +0200798 select DM
799 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900800 select GPIO_EXTRA_HEADER
Alexander Grafcf2c7782018-01-25 12:05:52 +0100801 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +0200802 imply CMD_DM
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +0900803
Robert Markoe479a7d2020-07-06 10:37:54 +0200804config ARCH_IPQ40XX
805 bool "Qualcomm IPQ40xx SoCs"
806 select CPU_V7A
807 select DM
808 select DM_GPIO
809 select DM_SERIAL
Robert Marko496a3aa2020-09-10 16:00:03 +0200810 select DM_RESET
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900811 select GPIO_EXTRA_HEADER
Robert Marko6ef099b2020-09-10 16:00:01 +0200812 select MSM_SMEM
Robert Markoe479a7d2020-07-06 10:37:54 +0200813 select PINCTRL
814 select CLK
Robert Marko6ef099b2020-09-10 16:00:01 +0200815 select SMEM
Robert Markoe479a7d2020-07-06 10:37:54 +0200816 select OF_CONTROL
817 imply CMD_DM
818
Masahiro Yamadac338f092014-08-31 07:11:05 +0900819config ARCH_KEYSTONE
820 bool "TI Keystone"
Michal Simek5ed063d2018-07-23 15:55:13 +0200821 select CMD_POWEROFF
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530822 select CPU_V7A
Tom Rini222d22a2021-08-21 13:50:16 -0400823 select DDR_SPD
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900824 select GPIO_EXTRA_HEADER
Masahiro Yamada02627352014-10-20 17:45:56 +0900825 select SUPPORT_SPL
Andre Przywara7842b6a2018-04-12 04:24:46 +0300826 select SYS_ARCH_TIMER
Michal Simek5ed063d2018-07-23 15:55:13 +0200827 select SYS_THUMB_BUILD
Tom Rinid56b4b12017-07-22 18:36:16 -0400828 imply CMD_MTDPARTS
Simon Glass15dc63d2017-08-04 16:34:43 -0600829 imply CMD_SAVES
Michal Simek5ed063d2018-07-23 15:55:13 +0200830 imply FIT
Masahiro Yamadadd840582014-07-30 14:08:14 +0900831
Lokesh Vutla586bde92018-08-27 15:57:08 +0530832config ARCH_K3
833 bool "Texas Instruments' K3 Architecture"
834 select SPL
835 select SUPPORT_SPL
836 select FIT
837
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900838config ARCH_OMAP2PLUS
839 bool "TI OMAP2+"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530840 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900841 select GPIO_EXTRA_HEADER
Ley Foon Tan0680f1b2017-05-03 17:13:32 +0800842 select SPL_BOARD_INIT if SPL
Tom Riniff6c3122017-09-17 11:44:49 -0400843 select SPL_STACK_R if SPL
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900844 select SUPPORT_SPL
Dario Binacchi92cc4e12020-12-30 00:06:29 +0100845 imply TI_SYSC if DM && OF_CONTROL
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900846 imply FIT
Simon Glass7fe32b32022-03-04 08:43:05 -0700847 imply DM_EVENT
Sean Anderson1dd56db2022-04-12 10:59:04 -0400848 imply SPL_SEPARATE_BSS
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900849
Beniamino Galvanibfcef282016-05-08 08:30:16 +0200850config ARCH_MESON
851 bool "Amlogic Meson"
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900852 select GPIO_EXTRA_HEADER
Masahiro Yamada7325f6c2018-04-25 18:47:52 +0900853 imply DISTRO_DEFAULTS
Heinrich Schuchardt6da749d2020-04-05 12:20:23 +0200854 imply DM_RNG
Beniamino Galvanibfcef282016-05-08 08:30:16 +0200855 help
856 Support for the Meson SoC family developed by Amlogic Inc.,
857 targeted at media players and tablet computers. We currently
858 support the S905 (GXBaby) 64-bit SoC.
859
Ryder Leecbd2fba2018-11-15 10:07:52 +0800860config ARCH_MEDIATEK
861 bool "MediaTek SoCs"
Ryder Leecbd2fba2018-11-15 10:07:52 +0800862 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900863 select GPIO_EXTRA_HEADER
Ryder Leecbd2fba2018-11-15 10:07:52 +0800864 select OF_CONTROL
865 select SPL_DM if SPL
866 select SPL_LIBCOMMON_SUPPORT if SPL
867 select SPL_LIBGENERIC_SUPPORT if SPL
868 select SPL_OF_CONTROL if SPL
869 select SUPPORT_SPL
870 help
871 Support for the MediaTek SoCs family developed by MediaTek Inc.
872 Please refer to doc/README.mediatek for more information.
873
Vladimir Zapolskiyee54dfe2018-09-17 21:43:03 +0300874config ARCH_LPC32XX
875 bool "NXP LPC32xx platform"
876 select CPU_ARM926EJS
877 select DM
878 select DM_GPIO
879 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900880 select GPIO_EXTRA_HEADER
Vladimir Zapolskiyee54dfe2018-09-17 21:43:03 +0300881 select SPL_DM if SPL
882 select SUPPORT_SPL
883 imply CMD_DM
884
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200885config ARCH_IMX8
886 bool "NXP i.MX8 platform"
887 select ARM64
Gaurav Jaincb5d0412022-03-24 11:50:33 +0530888 select SYS_FSL_HAS_SEC
889 select SYS_FSL_SEC_COMPAT_4
890 select SYS_FSL_SEC_LE
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200891 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900892 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400893 select MACH_IMX
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200894 select OF_CONTROL
Ye Li9a273852019-07-12 09:33:52 +0000895 select ENABLE_ARM_SOC_BOOT0_HOOK
Simon Glass7fe32b32022-03-04 08:43:05 -0700896 imply DM_EVENT
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200897
Peng Fancd357ad2018-11-20 10:19:25 +0000898config ARCH_IMX8M
Peng Fan7a7391f2018-01-10 13:20:19 +0800899 bool "NXP i.MX8M platform"
900 select ARM64
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900901 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400902 select MACH_IMX
Gaurav Jain2cddfcb2022-03-24 11:50:27 +0530903 select SYS_FSL_HAS_SEC
Aymen Sghaier940d36d2021-03-25 17:30:25 +0800904 select SYS_FSL_SEC_COMPAT_4
905 select SYS_FSL_SEC_LE
Tom Rini15e7b762021-08-18 23:12:33 -0400906 select SYS_I2C_MXC
Peng Fan7a7391f2018-01-10 13:20:19 +0800907 select DM
908 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200909 imply CMD_DM
Simon Glass7fe32b32022-03-04 08:43:05 -0700910 imply DM_EVENT
Peng Fan7a7391f2018-01-10 13:20:19 +0800911
Peng Fan19b990b2021-08-07 16:00:30 +0800912config ARCH_IMX8ULP
913 bool "NXP i.MX8ULP platform"
914 select ARM64
915 select DM
Tom Rini0c2729e2021-08-24 20:40:59 -0400916 select MACH_IMX
Peng Fan19b990b2021-08-07 16:00:30 +0800917 select OF_CONTROL
918 select SUPPORT_SPL
919 select GPIO_EXTRA_HEADER
920 imply CMD_DM
Simon Glass7fe32b32022-03-04 08:43:05 -0700921 imply DM_EVENT
Peng Fan19b990b2021-08-07 16:00:30 +0800922
Giulio Benetti77eb9a92020-01-10 15:51:47 +0100923config ARCH_IMXRT
924 bool "NXP i.MXRT platform"
925 select CPU_V7M
926 select DM
927 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900928 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400929 select MACH_IMX
Giulio Benetti77eb9a92020-01-10 15:51:47 +0100930 select SUPPORT_SPL
931 imply CMD_DM
932
Stefan Agnerc5343d42018-02-06 09:44:34 +0100933config ARCH_MX23
934 bool "NXP i.MX23 family"
935 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900936 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400937 select MACH_IMX
Stefan Agnerc5343d42018-02-06 09:44:34 +0100938 select PL011_SERIAL
939 select SUPPORT_SPL
940
Stefan Agner25c5b4e2018-02-06 09:44:35 +0100941config ARCH_MX28
942 bool "NXP i.MX28 family"
943 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900944 select GPIO_EXTRA_HEADER
Stefan Agner25c5b4e2018-02-06 09:44:35 +0100945 select PL011_SERIAL
Tom Rini0c2729e2021-08-24 20:40:59 -0400946 select MACH_IMX
Stefan Agner25c5b4e2018-02-06 09:44:35 +0100947 select SUPPORT_SPL
948
Magnus Lilja3159ec62018-05-11 14:06:54 +0200949config ARCH_MX31
950 bool "NXP i.MX31 family"
951 select CPU_ARM1136
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900952 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400953 select MACH_IMX
Magnus Lilja3159ec62018-05-11 14:06:54 +0200954
Peng Fane90a08d2017-02-22 16:21:39 +0800955config ARCH_MX7ULP
Michal Simek6e7bdde2018-07-23 15:55:12 +0200956 bool "NXP MX7ULP"
Tom Rini6d21dd32022-02-25 11:19:47 -0500957 select BOARD_POSTCLK_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
Gaurav Jain75d3a9f2022-03-24 11:50:31 +0530961 select SYS_FSL_HAS_SEC
Franck LENORMANDb5438002021-03-25 17:30:23 +0800962 select SYS_FSL_SEC_COMPAT_4
963 select SYS_FSL_SEC_LE
Peng Fane90a08d2017-02-22 16:21:39 +0800964 select ROM_UNIFIED_SECTIONS
Adam Ford8bbff6a2018-02-04 09:32:43 -0600965 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500966 imply SYS_THUMB_BUILD
Peng Fane90a08d2017-02-22 16:21:39 +0800967
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500968config ARCH_MX7
969 bool "Freescale MX7"
Michal Simek5ed063d2018-07-23 15:55:13 +0200970 select ARCH_MISC_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530971 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900972 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400973 select MACH_IMX
Gaurav Jain4f1375d2022-03-24 11:50:30 +0530974 select SYS_FSL_HAS_SEC
York Sun2c2e2c92016-12-28 08:43:30 -0800975 select SYS_FSL_SEC_COMPAT_4
York Sun90b80382016-12-28 08:43:31 -0800976 select SYS_FSL_SEC_LE
Marek Vasut72041602020-05-22 01:13:00 +0200977 imply BOARD_EARLY_INIT_F
Adam Ford8bbff6a2018-02-04 09:32:43 -0600978 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500979 imply SYS_THUMB_BUILD
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500980
Boris BREZILLON89ebc822015-03-04 13:13:03 +0100981config ARCH_MX6
982 bool "Freescale MX6"
Tom Rini6d21dd32022-02-25 11:19:47 -0500983 select BOARD_POSTCLK_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530984 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900985 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400986 select MACH_IMX
Heinrich Schuchardt90865612020-06-26 19:57:55 +0200987 select SYS_FSL_HAS_SEC
York Sun2c2e2c92016-12-28 08:43:30 -0800988 select SYS_FSL_SEC_COMPAT_4
York Sun90b80382016-12-28 08:43:31 -0800989 select SYS_FSL_SEC_LE
Adam Ford8bbff6a2018-02-04 09:32:43 -0600990 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500991 imply SYS_THUMB_BUILD
Sean Anderson1dd56db2022-04-12 10:59:04 -0400992 imply SPL_SEPARATE_BSS
Boris BREZILLON89ebc822015-03-04 13:13:03 +0100993
Philipp Tomsichb5299932017-08-03 23:23:55 +0200994if ARCH_MX6
995config SPL_LDSCRIPT
Michal Simek6e7bdde2018-07-23 15:55:12 +0200996 default "arch/arm/mach-omap2/u-boot-spl.lds"
Philipp Tomsichb5299932017-08-03 23:23:55 +0200997endif
998
Andrej Rosano424ee3d2015-04-08 18:56:29 +0200999config ARCH_MX5
1000 bool "Freescale MX5"
Simon Glassa5d67542017-01-23 13:31:20 -07001001 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +02001002 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001003 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -04001004 select MACH_IMX
Adam Ford8bbff6a2018-02-04 09:32:43 -06001005 imply MXC_GPIO
Andrej Rosano424ee3d2015-04-08 18:56:29 +02001006
Stefan Bosch95e9a8e2020-07-10 19:07:26 +02001007config ARCH_NEXELL
1008 bool "Nexell S5P4418/S5P6818 SoC"
1009 select ENABLE_ARM_SOC_BOOT0_HOOK
1010 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001011 select GPIO_EXTRA_HEADER
Stefan Bosch95e9a8e2020-07-10 19:07:26 +02001012
Jim Liu84335542022-04-19 13:32:19 +08001013config ARCH_NPCM
1014 bool "Support Nuvoton SoCs"
1015 select DM
1016 select OF_CONTROL
1017 imply CMD_DM
1018
Mark Kettenis003b6572021-10-23 16:58:03 +02001019config ARCH_APPLE
1020 bool "Apple SoCs"
1021 select ARM64
1022 select BLK
Mark Kettenisd520e1f2021-10-23 16:58:04 +02001023 select CLK
Mark Kettenis003b6572021-10-23 16:58:03 +02001024 select CMD_USB
1025 select DM
Mark Kettenisb814e002021-11-02 18:21:57 +01001026 select DM_GPIO
Mark Kettenis003b6572021-10-23 16:58:03 +02001027 select DM_KEYBOARD
Mark Kettenis456305e2022-01-22 20:38:12 +01001028 select DM_MAILBOX
Mark Kettenis81fafbb2022-01-22 20:38:17 +01001029 select DM_RESET
Mark Kettenis003b6572021-10-23 16:58:03 +02001030 select DM_SERIAL
Mark Kettenis7184e292022-01-23 16:48:12 +01001031 select DM_SPI
Mark Kettenis003b6572021-10-23 16:58:03 +02001032 select DM_USB
1033 select DM_VIDEO
Mark Kettenis785cfde2021-10-23 16:58:05 +02001034 select IOMMU
Mark Kettenis003b6572021-10-23 16:58:03 +02001035 select LINUX_KERNEL_IMAGE_HEADER
Mark Kettenisa6093532022-04-19 21:20:31 +02001036 select OF_BOARD_SETUP
Mark Kettenis003b6572021-10-23 16:58:03 +02001037 select OF_CONTROL
Mark Kettenisb814e002021-11-02 18:21:57 +01001038 select PINCTRL
Mark Kettenis003b6572021-10-23 16:58:03 +02001039 select POSITION_INDEPENDENT
Mark Kettenis97187d52022-01-10 20:58:44 +01001040 select POWER_DOMAIN
1041 select REGMAP
Mark Kettenis7184e292022-01-23 16:48:12 +01001042 select SPI
Mark Kettenis97187d52022-01-10 20:58:44 +01001043 select SYSCON
Mark Kettenis9a8e3732022-01-12 19:55:17 +01001044 select SYSRESET
1045 select SYSRESET_WATCHDOG
1046 select SYSRESET_WATCHDOG_AUTO
Mark Kettenis003b6572021-10-23 16:58:03 +02001047 select USB
1048 imply CMD_DM
1049 imply CMD_GPT
1050 imply DISTRO_DEFAULTS
Simon Glass239d22c2021-12-16 20:59:36 -07001051 imply OF_HAS_PRIOR_STAGE
Mark Kettenis003b6572021-10-23 16:58:03 +02001052
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301053config ARCH_OWL
1054 bool "Actions Semi OWL SoCs"
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301055 select DM
Amit Singh Tomarcd2baaf2020-05-09 19:55:14 +05301056 select DM_ETH
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301057 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001058 select GPIO_EXTRA_HEADER
Amit Singh Tomarb1a6bb32020-04-19 19:28:25 +05301059 select OWL_SERIAL
Amit Singh Tomar8b520ac2020-04-19 19:28:30 +05301060 select CLK
1061 select CLK_OWL
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301062 select OF_CONTROL
Tom Rini36c2f022020-05-01 10:52:11 -04001063 select SYS_RELOC_GD_ENV_ADDR
Michal Simek08a00cb2018-07-23 15:55:14 +02001064 imply CMD_DM
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301065
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03001066config ARCH_QEMU
1067 bool "QEMU Virtual Platform"
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03001068 select DM
1069 select DM_SERIAL
1070 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001071 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001072 imply CMD_DM
Heinrich Schuchardt684710d2020-09-19 07:55:35 +02001073 imply DM_RNG
AKASHI Takahiroa47c1b52018-09-14 17:06:54 +09001074 imply DM_RTC
1075 imply RTC_PL031
Simon Glass239d22c2021-12-16 20:59:36 -07001076 imply OF_HAS_PRIOR_STAGE
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03001077
Nobuhiro Iwamatsu1cc95f62015-10-10 05:58:28 +09001078config ARCH_RMOBILE
Masahiro Yamadaf40b9892014-08-31 07:10:57 +09001079 bool "Renesas ARM SoCs"
Nobuhiro Iwamatsu1cc95f62015-10-10 05:58:28 +09001080 select DM
1081 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001082 select GPIO_EXTRA_HEADER
Biju Das5157b012020-09-22 13:06:49 +01001083 imply BOARD_EARLY_INIT_F
Michal Simek08a00cb2018-07-23 15:55:14 +02001084 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -04001085 imply FAT_WRITE
Tom Rini3a649402017-03-18 09:01:44 -04001086 imply SYS_THUMB_BUILD
Marek Vasut00e4b572018-12-03 13:28:25 +01001087 imply ARCH_MISC_INIT if DISPLAY_CPUINFO
Masahiro Yamadadd840582014-07-30 14:08:14 +09001088
Mateusz Kulikowski08592132016-03-31 23:12:32 +02001089config ARCH_SNAPDRAGON
1090 bool "Qualcomm Snapdragon SoCs"
1091 select ARM64
1092 select DM
1093 select DM_GPIO
1094 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001095 select GPIO_EXTRA_HEADER
Michal Simek5ed063d2018-07-23 15:55:13 +02001096 select MSM_SMEM
Mateusz Kulikowski08592132016-03-31 23:12:32 +02001097 select OF_CONTROL
1098 select OF_SEPARATE
Ramon Fried654dd4a2018-07-02 02:57:56 +03001099 select SMEM
Michal Simek5ed063d2018-07-23 15:55:13 +02001100 select SPMI
Michal Simek08a00cb2018-07-23 15:55:14 +02001101 imply CMD_DM
Mateusz Kulikowski08592132016-03-31 23:12:32 +02001102
Masahiro Yamada7865f4b2015-04-21 20:38:20 +09001103config ARCH_SOCFPGA
1104 bool "Altera SOCFPGA family"
Simon Glassa4211922017-01-23 13:31:19 -07001105 select ARCH_EARLY_INIT_R
Marek Vasutd6a61da2018-08-13 20:06:46 +02001106 select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
Siew Chin Lim9a5bbdf2021-03-01 20:04:10 +08001107 select ARM64 if TARGET_SOCFPGA_SOC64
Ley Foon Tana6847292018-05-24 00:17:32 +08001108 select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Marek Vasut48befc02018-05-11 22:25:59 +02001109 select DM
Marek Vasut73172752018-05-11 22:26:35 +02001110 select DM_SERIAL
Tom Rini5afdcca2021-08-19 14:19:39 -04001111 select GICV2
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001112 select GPIO_EXTRA_HEADER
Ley Foon Tana6847292018-05-24 00:17:32 +08001113 select ENABLE_ARM_SOC_BOOT0_HOOK if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Marek Vasut48befc02018-05-11 22:25:59 +02001114 select OF_CONTROL
Ley Foon Tan00057ee2018-07-13 13:40:23 +08001115 select SPL_DM_RESET if DM_RESET
Michal Simek5ed063d2018-07-23 15:55:13 +02001116 select SPL_DM_SERIAL
Marek Vasut48befc02018-05-11 22:25:59 +02001117 select SPL_LIBCOMMON_SUPPORT
Marek Vasut48befc02018-05-11 22:25:59 +02001118 select SPL_LIBGENERIC_SUPPORT
Marek Vasut48befc02018-05-11 22:25:59 +02001119 select SPL_NAND_SUPPORT if SPL_NAND_DENALI
1120 select SPL_OF_CONTROL
Siew Chin Lim9a5bbdf2021-03-01 20:04:10 +08001121 select SPL_SEPARATE_BSS 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
Siew Chin Lim9a5bbdf2021-03-01 20:04:10 +08001130 select SYSRESET_SOCFPGA_SOC64 if TARGET_SOCFPGA_SOC64
Michal Simek08a00cb2018-07-23 15:55:14 +02001131 imply CMD_DM
Tom Rinid56b4b12017-07-22 18:36:16 -04001132 imply CMD_MTDPARTS
Daniel Thompson221a9492017-05-19 17:26:58 +01001133 imply CRC32_VERIFY
Simon Goldschmidtfef4a542018-02-13 06:34:14 +01001134 imply DM_SPI
1135 imply DM_SPI_FLASH
Tom Rini91d27a12017-06-02 11:03:50 -04001136 imply FAT_WRITE
Simon Goldschmidtaef44282019-04-09 21:02:05 +02001137 imply SPL
1138 imply SPL_DM
Lukasz Majewski56c40462020-06-04 23:11:53 +08001139 imply SPL_DM_SPI
1140 imply SPL_DM_SPI_FLASH
Simon Goldschmidta9024dc2018-11-29 21:17:08 +01001141 imply SPL_LIBDISK_SUPPORT
Simon Glass103c5f12021-08-08 12:20:09 -06001142 imply SPL_MMC
Simon Goldschmidtfef4a542018-02-13 06:34:14 +01001143 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
Simon Goldschmidtf48db4e2018-10-30 20:21:49 +01001144 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
Simon Goldschmidta9024dc2018-11-29 21:17:08 +01001145 imply SPL_SPI_FLASH_SUPPORT
Simon Glassea2ca7e2021-08-08 12:20:14 -06001146 imply SPL_SPI
Dinh Nguyenaaa64802019-04-23 16:55:06 -05001147 imply L2X0_CACHE
Masahiro Yamadadd840582014-07-30 14:08:14 +09001148
Ian Campbell2c7e3b92014-10-24 21:20:44 +01001149config ARCH_SUNXI
1150 bool "Support sunxi (Allwinner) SoCs"
Masahiro Yamadad6a0c782017-10-17 13:42:44 +09001151 select BINMAN
Hans de Goede88bb8002016-04-03 09:41:44 +02001152 select CMD_GPIO
Hans de Goede0878a8a2016-05-15 13:51:58 +02001153 select CMD_MMC if MMC
Tom Rinibe5c0602021-07-09 10:11:56 -04001154 select CMD_USB if DISTRO_DEFAULTS && USB_HOST
Jagan Tekie236ff02019-01-11 16:40:20 +05301155 select CLK
Hans de Goedeb6006ba2015-04-15 20:46:48 +02001156 select DM
Tom Rini45368822015-06-30 16:51:15 -04001157 select DM_ETH
Hans de Goede211d57a2015-12-21 20:22:00 +01001158 select DM_GPIO
Samuel Hollandf9437b02021-10-08 00:17:25 -05001159 select DM_I2C if I2C
Andre Przywara81a46c12022-01-11 12:46:02 +00001160 select DM_SPI if SPI
1161 select DM_SPI_FLASH if SPI
Hans de Goede211d57a2015-12-21 20:22:00 +01001162 select DM_KEYBOARD
Jagan Tekibb3362b2019-04-12 16:48:25 +05301163 select DM_MMC if MMC
1164 select DM_SCSI if SCSI
Tom Rini45368822015-06-30 16:51:15 -04001165 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001166 select GPIO_EXTRA_HEADER
Hans de Goeded75111a2016-03-22 22:51:52 +01001167 select OF_BOARD_SETUP
Hans de Goedeb6006ba2015-04-15 20:46:48 +02001168 select OF_CONTROL
1169 select OF_SEPARATE
Samuel Hollandb799eab2021-08-12 20:09:43 -05001170 select PINCTRL
Tom Rini6f6b7cf2018-03-06 19:02:27 -05001171 select SPECIFY_CONSOLE_INDEX
Samuel Hollanda3010bc2021-08-22 13:23:53 -05001172 select SPL_SEPARATE_BSS if SPL
Tom Riniab43de82017-06-21 07:54:46 -04001173 select SPL_STACK_R if SPL
1174 select SPL_SYS_MALLOC_SIMPLE if SPL
Tom Rini3a649402017-03-18 09:01:44 -04001175 select SPL_SYS_THUMB_BUILD if !ARM64
Andre Przywara10cfbaa2019-06-23 15:09:46 +01001176 select SUNXI_GPIO
Michal Simek5ed063d2018-07-23 15:55:13 +02001177 select SYS_NS16550
Maxime Ripardce2e44d2017-10-19 11:49:29 +02001178 select SYS_THUMB_BUILD if !ARM64
Yann E. MORIN2997ee52016-10-31 22:33:40 +01001179 select USB if DISTRO_DEFAULTS
Tom Rinibe5c0602021-07-09 10:11:56 -04001180 select USB_KEYBOARD if DISTRO_DEFAULTS && USB_HOST
1181 select USB_STORAGE if DISTRO_DEFAULTS && USB_HOST
Simon Glass27084c02019-09-25 08:56:27 -06001182 select SPL_USE_TINY_PRINTF
Andre Przywara48313fe2020-02-20 17:51:14 +00001183 select USE_PREBOOT
1184 select SYS_RELOC_GD_ENV_ADDR
Andy Shevchenko92600ed2020-12-08 17:45:31 +02001185 imply BOARD_LATE_INIT
Michal Simek08a00cb2018-07-23 15:55:14 +02001186 imply CMD_DM
Maxime Riparda12fb0e2017-08-24 11:54:03 +02001187 imply CMD_GPT
Miquel Raynal88718be2019-10-03 19:50:03 +02001188 imply CMD_UBI if MTD_RAW_NAND
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001189 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001190 imply FAT_WRITE
Marek Vasut2f13cf32018-10-10 18:27:35 +02001191 imply FIT
Andre Heidereff264d2018-01-16 09:44:22 +01001192 imply OF_LIBFDT_OVERLAY
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001193 imply PRE_CONSOLE_BUFFER
Simon Glass83061db2021-07-10 21:14:30 -06001194 imply SPL_GPIO
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001195 imply SPL_LIBCOMMON_SUPPORT
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001196 imply SPL_LIBGENERIC_SUPPORT
Simon Glass103c5f12021-08-08 12:20:09 -06001197 imply SPL_MMC if MMC
Simon Glass933b2f02021-07-10 21:14:24 -06001198 imply SPL_POWER
Simon Glass2a736062021-08-08 12:20:12 -06001199 imply SPL_SERIAL
Samuel Holland40edc322021-11-03 22:55:16 -05001200 imply SYSRESET
1201 imply SYSRESET_WATCHDOG
1202 imply SYSRESET_WATCHDOG_AUTO
Maxime Ripard654b02b2017-09-07 10:46:24 +02001203 imply USB_GADGET
Samuel Hollandb147bd32021-08-22 13:53:28 -05001204 imply WDT
Chen-Yu Tsai8ebe4f42014-10-22 16:47:44 +08001205
Stephan Gerhold689088f2020-01-04 18:45:17 +01001206config ARCH_U8500
1207 bool "ST-Ericsson U8500 Series"
1208 select CPU_V7A
1209 select DM
1210 select DM_GPIO
1211 select DM_MMC if MMC
1212 select DM_SERIAL
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001213 select DM_USB_GADGET if DM_USB
Stephan Gerhold689088f2020-01-04 18:45:17 +01001214 select OF_CONTROL
1215 select SYSRESET
1216 select TIMER
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001217 imply AB8500_USB_PHY
Stephan Gerhold689088f2020-01-04 18:45:17 +01001218 imply ARM_PL180_MMCI
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001219 imply CLK
1220 imply DM_PMIC
Stephan Gerhold689088f2020-01-04 18:45:17 +01001221 imply DM_RTC
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001222 imply NOMADIK_GPIO
Stephan Gerhold689088f2020-01-04 18:45:17 +01001223 imply NOMADIK_MTU_TIMER
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001224 imply PHY
Stephan Gerhold689088f2020-01-04 18:45:17 +01001225 imply PL01X_SERIAL
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001226 imply PMIC_AB8500
Stephan Gerhold689088f2020-01-04 18:45:17 +01001227 imply RTC_PL031
Stephan Gerhold89568542021-08-07 15:07:24 +02001228 imply SYS_THUMB_BUILD
Stephan Gerhold689088f2020-01-04 18:45:17 +01001229 imply SYSRESET_SYSCON
1230
Michal Simekec48b6c2018-08-22 14:55:27 +02001231config ARCH_VERSAL
1232 bool "Support Xilinx Versal Platform"
1233 select ARM64
1234 select CLK
1235 select DM
Michal Simekfa797152019-01-15 08:52:46 +01001236 select DM_ETH if NET
1237 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
Stefan Agner7966b432017-03-13 18:41:36 -07001245config ARCH_VF610
1246 bool "Freescale Vybrid"
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301247 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001248 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -04001249 select MACH_IMX
York Sunc01e4a12016-12-28 08:43:42 -08001250 select SYS_FSL_ERRATUM_ESDHC111
Tom Rinid56b4b12017-07-22 18:36:16 -04001251 imply CMD_MTDPARTS
Miquel Raynal88718be2019-10-03 19:50:03 +02001252 imply MTD_RAW_NAND
Masahiro Yamadadd840582014-07-30 14:08:14 +09001253
Masahiro Yamada5ca269a2015-03-16 16:43:24 +09001254config ARCH_ZYNQ
Michal Simekb8d44972017-11-23 08:25:41 +01001255 bool "Xilinx Zynq based platform"
Michal Simek5ed063d2018-07-23 15:55:13 +02001256 select CLK
1257 select CLK_ZYNQ
1258 select CPU_V7A
Michal Simek05f0f262022-02-17 14:28:41 +01001259 select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
Masahiro Yamada8981f052015-03-31 12:47:55 +09001260 select DM
Michal Simekc4a142f2018-01-09 14:49:28 +01001261 select DM_ETH if NET
Michal Simekc4a142f2018-01-09 14:49:28 +01001262 select DM_MMC if MMC
Simon Glass42800ff2015-10-17 19:41:27 -06001263 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001264 select DM_SPI
Jagan Teki9f7a4502015-06-27 00:51:32 +05301265 select DM_SPI_FLASH
Michal Simek5ed063d2018-07-23 15:55:13 +02001266 select OF_CONTROL
Adam Fordf1b1f772018-04-15 13:51:26 -04001267 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +02001268 select SPL_BOARD_INIT if SPL
1269 select SPL_CLK if SPL
1270 select SPL_DM if SPL
Lukasz Majewski56c40462020-06-04 23:11:53 +08001271 select SPL_DM_SPI if SPL
1272 select SPL_DM_SPI_FLASH if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001273 select SPL_OF_CONTROL if SPL
1274 select SPL_SEPARATE_BSS if SPL
1275 select SUPPORT_SPL
Michal Simek4aba5fb2018-01-17 10:56:22 -03001276 imply ARCH_EARLY_INIT_R
Michal Simek8eb55e12018-08-20 08:24:14 +02001277 imply BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +02001278 imply CMD_CLK
Michal Simek08a00cb2018-07-23 15:55:14 +02001279 imply CMD_DM
Michal Simek5ed063d2018-07-23 15:55:13 +02001280 imply CMD_SPL
Michal Simek62b96262020-07-28 12:45:47 +02001281 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simek5ed063d2018-07-23 15:55:13 +02001282 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +09001283
Michal Simek1d6c54e2018-04-12 17:39:46 +02001284config ARCH_ZYNQMP_R5
1285 bool "Xilinx ZynqMP R5 based platform"
Michal Simek5ed063d2018-07-23 15:55:13 +02001286 select CLK
Michal Simek1d6c54e2018-04-12 17:39:46 +02001287 select CPU_V7R
Michal Simek1d6c54e2018-04-12 17:39:46 +02001288 select DM
Michal Simek6f96fb52019-01-15 09:06:46 +01001289 select DM_ETH if NET
1290 select DM_MMC if MMC
Michal Simek1d6c54e2018-04-12 17:39:46 +02001291 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001292 select OF_CONTROL
Michal Simek08a00cb2018-07-23 15:55:14 +02001293 imply CMD_DM
Jean-Jacques Hiblot687ab542018-11-29 10:52:42 +01001294 imply DM_USB_GADGET
Michal Simek1d6c54e2018-04-12 17:39:46 +02001295
Siva Durga Prasad Paladugu0b54a9d2015-06-10 15:50:57 +05301296config ARCH_ZYNQMP
Michal Simekb8d44972017-11-23 08:25:41 +01001297 bool "Xilinx ZynqMP based platform"
Michal Simek84c72042015-01-15 10:01:51 +01001298 select ARM64
Michal Simek1f297382016-07-14 15:07:54 +02001299 select CLK
Michal Simek5ed063d2018-07-23 15:55:13 +02001300 select DM
Michal Simek11381fb2022-02-17 14:28:42 +01001301 select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
Michal Simekfb693102019-01-15 08:52:51 +01001302 select DM_ETH if NET
Ibai Erkiaga1327d162019-09-27 12:51:41 +02001303 select DM_MAILBOX
Michal Simekfb693102019-01-15 08:52:51 +01001304 select DM_MMC if MMC
Michal Simek5ed063d2018-07-23 15:55:13 +02001305 select DM_SERIAL
Michal Simek088f83e2019-01-15 10:50:39 +01001306 select DM_SPI if SPI
1307 select DM_SPI_FLASH if DM_SPI
Michal Simek71efd452022-01-14 13:08:42 +01001308 imply FIRMWARE
Tom Rini5afdcca2021-08-19 14:19:39 -04001309 select GICV2
Michal Simek5ed063d2018-07-23 15:55:13 +02001310 select OF_CONTROL
Ley Foon Tan0680f1b2017-05-03 17:13:32 +08001311 select SPL_BOARD_INIT if SPL
Michal Simek2f039682017-12-01 15:13:36 +01001312 select SPL_CLK if SPL
Michal Simek6cb402f2020-08-19 10:30:39 +02001313 select SPL_DM if SPL
1314 select SPL_DM_SPI if SPI && SPL_DM
Lukasz Majewski56c40462020-06-04 23:11:53 +08001315 select SPL_DM_SPI_FLASH if SPL_DM_SPI
Ibai Erkiaga325a22d2019-09-27 11:37:04 +01001316 select SPL_DM_MAILBOX if SPL
Michal Simek71efd452022-01-14 13:08:42 +01001317 imply SPL_FIRMWARE if SPL
Michal Simek850e7792018-11-23 09:01:44 +01001318 select SPL_SEPARATE_BSS if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001319 select SUPPORT_SPL
Ibai Erkiaga1327d162019-09-27 12:51:41 +02001320 select ZYNQMP_IPI
T Karthik Reddya890a532021-08-10 06:50:18 -06001321 select SOC_DEVICE
Michal Simek8eb55e12018-08-20 08:24:14 +02001322 imply BOARD_LATE_INIT
Michal Simek08a00cb2018-07-23 15:55:14 +02001323 imply CMD_DM
Michal Simek62b96262020-07-28 12:45:47 +02001324 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Tom Rini91d27a12017-06-02 11:03:50 -04001325 imply FAT_WRITE
Michal Simek22270ca032018-10-04 14:26:13 +02001326 imply MP
Jean-Jacques Hiblot687ab542018-11-29 10:52:42 +01001327 imply DM_USB_GADGET
T Karthik Reddy3b441cf2021-10-29 13:11:43 +02001328 imply ZYNQMP_GPIO_MODEPIN if DM_GPIO && USB
Michal Simek84c72042015-01-15 10:01:51 +01001329
Trevor Woerner18138ab2020-05-06 08:02:41 -04001330config ARCH_TEGRA
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09001331 bool "NVIDIA Tegra"
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001332 select GPIO_EXTRA_HEADER
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001333 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001334 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +09001335
Andre Przywarafac7fc42022-03-04 16:30:09 +00001336config ARCH_VEXPRESS64
1337 bool "Support ARMv8 Arm Ltd. VExpress based boards and models"
Masahiro Yamada016a9542014-09-14 03:01:51 +09001338 select ARM64
Andre Przywarab3270e92020-04-27 19:18:01 +01001339 select DM
Andre Przywarab3270e92020-04-27 19:18:01 +01001340 select DM_SERIAL
Andre Przywarafac7fc42022-03-04 16:30:09 +00001341 select PL01X_SERIAL
Andre Przywarac0fce922022-03-04 16:30:11 +00001342 select OF_CONTROL
1343 select CLK
Andre Przywara58650382022-03-04 16:30:13 +00001344 select BLK
1345 select MTD_NOR_FLASH if MTD
1346 select FLASH_CFI_DRIVER if MTD
1347 select ENV_IS_IN_FLASH if MTD
Andre Przywara8a0a8ff2022-03-04 16:30:14 +00001348 imply DISTRO_DEFAULTS
Linus Walleijffc10372015-01-23 14:41:10 +01001349
Usama Arif565add12020-08-12 16:12:53 +01001350config TARGET_TOTAL_COMPUTE
1351 bool "Support Total Compute Platform"
1352 select ARM64
1353 select PL01X_SERIAL
1354 select DM
1355 select DM_SERIAL
1356 select DM_MMC
1357 select DM_GPIO
1358
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301359config TARGET_LS2080A_EMU
1360 bool "Support ls2080a_emu"
York Sunfb2bf8c2016-10-04 14:31:48 -07001361 select ARCH_LS2080A
Masahiro Yamada016a9542014-09-14 03:01:51 +09001362 select ARM64
Linus Walleij23b58772015-03-09 10:53:21 +01001363 select ARMV8_MULTIENTRY
Rajesh Bhagat32413122019-02-01 05:22:01 +00001364 select FSL_DDR_SYNC_REFRESH
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001365 select GPIO_EXTRA_HEADER
York Sun7288c2c2015-03-20 19:28:23 -07001366 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001367 Support for Freescale LS2080A_EMU platform.
1368 The LS2080A Development System (EMULATOR) is a pre-silicon
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301369 development platform that supports the QorIQ LS2080A
York Sun7288c2c2015-03-20 19:28:23 -07001370 Layerscape Architecture processor.
1371
Ashish Kumar77697762017-08-31 16:12:55 +05301372config TARGET_LS1088AQDS
1373 bool "Support ls1088aqds"
1374 select ARCH_LS1088A
1375 select ARM64
1376 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001377 select ARCH_SUPPORT_TFABOOT
Ashish Kumar77697762017-08-31 16:12:55 +05301378 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001379 select GPIO_EXTRA_HEADER
Ashish Kumar91fded62017-11-06 13:18:44 +05301380 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001381 select FSL_DDR_INTERACTIVE if !SD_BOOT
Ashish Kumar77697762017-08-31 16:12:55 +05301382 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001383 Support for NXP LS1088AQDS platform.
Ashish Kumar77697762017-08-31 16:12:55 +05301384 The LS1088A Development System (QDS) is a high-performance
1385 development platform that supports the QorIQ LS1088A
1386 Layerscape Architecture processor.
1387
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301388config TARGET_LS2080AQDS
1389 bool "Support ls2080aqds"
York Sunfb2bf8c2016-10-04 14:31:48 -07001390 select ARCH_LS2080A
York Sune2b65ea2015-03-20 19:28:24 -07001391 select ARM64
1392 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001393 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001394 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001395 select GPIO_EXTRA_HEADER
Scott Wood32eda7c2015-03-24 13:25:03 -07001396 select SUPPORT_SPL
Simon Glassfedb4282017-06-14 21:28:21 -06001397 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001398 imply SCSI_AHCI
Rajesh Bhagat32413122019-02-01 05:22:01 +00001399 select FSL_DDR_BIST
1400 select FSL_DDR_INTERACTIVE if !SPL
York Sune2b65ea2015-03-20 19:28:24 -07001401 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001402 Support for Freescale LS2080AQDS platform.
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301403 The LS2080A Development System (QDS) is a high-performance
1404 development platform that supports the QorIQ LS2080A
1405 Layerscape Architecture processor.
1406
1407config TARGET_LS2080ARDB
1408 bool "Support ls2080ardb"
York Sunfb2bf8c2016-10-04 14:31:48 -07001409 select ARCH_LS2080A
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301410 select ARM64
1411 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001412 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001413 select BOARD_LATE_INIT
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301414 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001415 select FSL_DDR_BIST
1416 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001417 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001418 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001419 imply SCSI_AHCI
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301420 help
1421 Support for Freescale LS2080ARDB platform.
1422 The LS2080A Reference design board (RDB) is a high-performance
1423 development platform that supports the QorIQ LS2080A
York Sune2b65ea2015-03-20 19:28:24 -07001424 Layerscape Architecture processor.
1425
Priyanka Jain3049a582017-04-27 15:08:07 +05301426config TARGET_LS2081ARDB
1427 bool "Support ls2081ardb"
1428 select ARCH_LS2080A
1429 select ARM64
1430 select ARMV8_MULTIENTRY
1431 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001432 select GPIO_EXTRA_HEADER
Priyanka Jain3049a582017-04-27 15:08:07 +05301433 select SUPPORT_SPL
Priyanka Jain3049a582017-04-27 15:08:07 +05301434 help
1435 Support for Freescale LS2081ARDB platform.
1436 The LS2081A Reference design board (RDB) is a high-performance
1437 development platform that supports the QorIQ LS2081A/LS2041A
1438 Layerscape Architecture processor.
1439
Priyanka Jain58c3e622018-11-28 13:04:27 +00001440config TARGET_LX2160ARDB
1441 bool "Support lx2160ardb"
1442 select ARCH_LX2160A
Priyanka Jain58c3e622018-11-28 13:04:27 +00001443 select ARM64
1444 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001445 select ARCH_SUPPORT_TFABOOT
Priyanka Jain58c3e622018-11-28 13:04:27 +00001446 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001447 select GPIO_EXTRA_HEADER
Priyanka Jain58c3e622018-11-28 13:04:27 +00001448 help
1449 Support for NXP LX2160ARDB platform.
1450 The lx2160ardb (LX2160A Reference design board (RDB)
1451 is a high-performance development platform that supports the
1452 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1453
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001454config TARGET_LX2160AQDS
1455 bool "Support lx2160aqds"
1456 select ARCH_LX2160A
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001457 select ARM64
1458 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001459 select ARCH_SUPPORT_TFABOOT
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001460 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001461 select GPIO_EXTRA_HEADER
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001462 help
1463 Support for NXP LX2160AQDS platform.
1464 The lx2160aqds (LX2160A QorIQ Development System (QDS)
1465 is a high-performance development platform that supports the
1466 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1467
Meenakshi Aggarwal9ed303d2020-12-04 20:17:28 +05301468config TARGET_LX2162AQDS
1469 bool "Support lx2162aqds"
1470 select ARCH_LX2162A
1471 select ARCH_MISC_INIT
1472 select ARM64
1473 select ARMV8_MULTIENTRY
1474 select ARCH_SUPPORT_TFABOOT
1475 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001476 select GPIO_EXTRA_HEADER
Meenakshi Aggarwal9ed303d2020-12-04 20:17:28 +05301477 help
1478 Support for NXP LX2162AQDS platform.
1479 The lx2162aqds support is based on LX2160A Layerscape Architecture processor.
1480
Peter Griffin11ac2362015-07-30 18:55:23 +01001481config TARGET_HIKEY
1482 bool "Support HiKey 96boards Consumer Edition Platform"
1483 select ARM64
Peter Griffinefd7b602015-09-10 21:55:16 +01001484 select DM
1485 select DM_GPIO
Peter Griffin9c71bcd2015-09-10 21:55:17 +01001486 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001487 select GPIO_EXTRA_HEADER
Peter Griffincd593ed2016-04-20 17:13:59 +01001488 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001489 select PL01X_SERIAL
Tom Rini6f6b7cf2018-03-06 19:02:27 -05001490 select SPECIFY_CONSOLE_INDEX
Michal Simek08a00cb2018-07-23 15:55:14 +02001491 imply CMD_DM
Peter Griffin11ac2362015-07-30 18:55:23 +01001492 help
1493 Support for HiKey 96boards platform. It features a HI6220
1494 SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
1495
Manivannan Sadhasivamc62c7ef2019-08-02 20:40:09 +05301496config TARGET_HIKEY960
1497 bool "Support HiKey960 96boards Consumer Edition Platform"
1498 select ARM64
1499 select DM
1500 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001501 select GPIO_EXTRA_HEADER
Manivannan Sadhasivamc62c7ef2019-08-02 20:40:09 +05301502 select OF_CONTROL
1503 select PL01X_SERIAL
1504 imply CMD_DM
1505 help
1506 Support for HiKey960 96boards platform. It features a HI3660
1507 SoC, with 4xA73 CPU, 4xA53 CPU, MALI-G71 GPU, and 3GB RAM.
1508
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001509config TARGET_POPLAR
1510 bool "Support Poplar 96boards Enterprise Edition Platform"
1511 select ARM64
1512 select DM
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001513 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001514 select GPIO_EXTRA_HEADER
Michal Simek5ed063d2018-07-23 15:55:13 +02001515 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001516 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001517 imply CMD_DM
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001518 help
1519 Support for Poplar 96boards EE platform. It features a HI3798cv200
1520 SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
1521 making it capable of running any commercial set-top solution based on
1522 Linux or Android.
1523
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301524config TARGET_LS1012AQDS
1525 bool "Support ls1012aqds"
York Sun9533acf2016-09-26 08:09:26 -07001526 select ARCH_LS1012A
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301527 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001528 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001529 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001530 select GPIO_EXTRA_HEADER
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301531 help
1532 Support for Freescale LS1012AQDS platform.
1533 The LS1012A Development System (QDS) is a high-performance
1534 development platform that supports the QorIQ LS1012A
1535 Layerscape Architecture processor.
1536
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301537config TARGET_LS1012ARDB
1538 bool "Support ls1012ardb"
York Sun9533acf2016-09-26 08:09:26 -07001539 select ARCH_LS1012A
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301540 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001541 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001542 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001543 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001544 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001545 imply SCSI_AHCI
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301546 help
1547 Support for Freescale LS1012ARDB platform.
1548 The LS1012A Reference design board (RDB) is a high-performance
1549 development platform that supports the QorIQ LS1012A
1550 Layerscape Architecture processor.
1551
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301552config TARGET_LS1012A2G5RDB
1553 bool "Support ls1012a2g5rdb"
1554 select ARCH_LS1012A
1555 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001556 select ARCH_SUPPORT_TFABOOT
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301557 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001558 select GPIO_EXTRA_HEADER
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301559 imply SCSI
1560 help
1561 Support for Freescale LS1012A2G5RDB platform.
1562 The LS1012A 2G5 Reference design board (RDB) is a high-performance
1563 development platform that supports the QorIQ LS1012A
1564 Layerscape Architecture processor.
1565
Bhaskar Upadhaya9629ccd2018-05-23 11:03:30 +05301566config TARGET_LS1012AFRWY
1567 bool "Support ls1012afrwy"
1568 select ARCH_LS1012A
1569 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001570 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001571 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001572 select GPIO_EXTRA_HEADER
Bhaskar Upadhaya9629ccd2018-05-23 11:03:30 +05301573 imply SCSI
1574 imply SCSI_AHCI
1575 help
1576 Support for Freescale LS1012AFRWY platform.
1577 The LS1012A FRWY board (FRWY) is a high-performance
1578 development platform that supports the QorIQ LS1012A
1579 Layerscape Architecture processor.
1580
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301581config TARGET_LS1012AFRDM
1582 bool "Support ls1012afrdm"
York Sun9533acf2016-09-26 08:09:26 -07001583 select ARCH_LS1012A
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301584 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001585 select ARCH_SUPPORT_TFABOOT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001586 select GPIO_EXTRA_HEADER
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301587 help
1588 Support for Freescale LS1012AFRDM platform.
1589 The LS1012A Freedom board (FRDM) is a high-performance
1590 development platform that supports the QorIQ LS1012A
1591 Layerscape Architecture processor.
1592
Yuantian Tangf278a212019-04-10 16:43:35 +08001593config TARGET_LS1028AQDS
1594 bool "Support ls1028aqds"
1595 select ARCH_LS1028A
1596 select ARM64
1597 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001598 select ARCH_SUPPORT_TFABOOT
Yuantian Tangacf40f52019-07-02 16:16:22 +08001599 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001600 select GPIO_EXTRA_HEADER
Yuantian Tangf278a212019-04-10 16:43:35 +08001601 help
1602 Support for Freescale LS1028AQDS platform
1603 The LS1028A Development System (QDS) is a high-performance
1604 development platform that supports the QorIQ LS1028A
1605 Layerscape Architecture processor.
1606
Yuantian Tang353f36d2019-04-10 16:43:34 +08001607config TARGET_LS1028ARDB
1608 bool "Support ls1028ardb"
1609 select ARCH_LS1028A
1610 select ARM64
1611 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001612 select ARCH_SUPPORT_TFABOOT
Yuantian Tangc40ebf72020-03-09 14:10:07 +08001613 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001614 select GPIO_EXTRA_HEADER
Yuantian Tang353f36d2019-04-10 16:43:34 +08001615 help
1616 Support for Freescale LS1028ARDB platform
1617 The LS1028A Development System (RDB) is a high-performance
1618 development platform that supports the QorIQ LS1028A
1619 Layerscape Architecture processor.
1620
Ashish Kumare84a3242017-08-31 16:12:54 +05301621config TARGET_LS1088ARDB
1622 bool "Support ls1088ardb"
1623 select ARCH_LS1088A
1624 select ARM64
1625 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001626 select ARCH_SUPPORT_TFABOOT
Ashish Kumare84a3242017-08-31 16:12:54 +05301627 select BOARD_LATE_INIT
Ashish Kumar099f4092017-11-06 13:18:43 +05301628 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001629 select FSL_DDR_INTERACTIVE if !SD_BOOT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001630 select GPIO_EXTRA_HEADER
Ashish Kumare84a3242017-08-31 16:12:54 +05301631 help
1632 Support for NXP LS1088ARDB platform.
1633 The LS1088A Reference design board (RDB) is a high-performance
1634 development platform that supports the QorIQ LS1088A
1635 Layerscape Architecture processor.
1636
Wang Huan550e3dc2014-09-05 13:52:44 +08001637config TARGET_LS1021AQDS
Alison Wang0de15702014-12-03 16:18:09 +08001638 bool "Support ls1021aqds"
Michal Simek5ed063d2018-07-23 15:55:13 +02001639 select ARCH_LS1021A
1640 select ARCH_SUPPORT_PSCI
1641 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001642 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301643 select CPU_V7A
Hongbo Zhangadee1d42016-09-21 18:31:04 +08001644 select CPU_V7_HAS_NONSEC
1645 select CPU_V7_HAS_VIRT
York Sun5e8bd7e2016-09-26 08:09:29 -07001646 select LS1_DEEP_SLEEP
Michal Simek5ed063d2018-07-23 15:55:13 +02001647 select SUPPORT_SPL
York Sund26e34c2016-12-28 08:43:40 -08001648 select SYS_FSL_DDR
Rajesh Bhagat32413122019-02-01 05:22:01 +00001649 select FSL_DDR_INTERACTIVE
Lukasz Majewski28964222020-06-04 23:11:52 +08001650 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001651 select GPIO_EXTRA_HEADER
Lukasz Majewski28964222020-06-04 23:11:52 +08001652 select SPI_FLASH_DATAFLASH if FSL_DSPI || FSL_QSPI
Simon Glassfedb4282017-06-14 21:28:21 -06001653 imply SCSI
Masahiro Yamada217f92b2016-08-30 16:22:22 +09001654
Wang Huanc8a7d9d2014-09-05 13:52:45 +08001655config TARGET_LS1021ATWR
Alison Wang0de15702014-12-03 16:18:09 +08001656 bool "Support ls1021atwr"
Michal Simek5ed063d2018-07-23 15:55:13 +02001657 select ARCH_LS1021A
1658 select ARCH_SUPPORT_PSCI
1659 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001660 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301661 select CPU_V7A
Hongbo Zhangadee1d42016-09-21 18:31:04 +08001662 select CPU_V7_HAS_NONSEC
1663 select CPU_V7_HAS_VIRT
York Sun5e8bd7e2016-09-26 08:09:29 -07001664 select LS1_DEEP_SLEEP
Michal Simek5ed063d2018-07-23 15:55:13 +02001665 select SUPPORT_SPL
Lukasz Majewski28964222020-06-04 23:11:52 +08001666 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001667 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001668 imply SCSI
Wang Huanc8a7d9d2014-09-05 13:52:45 +08001669
Aleksandar Gerasimovski91ee5472021-02-22 18:18:11 +00001670config TARGET_PG_WCOM_SELI8
1671 bool "Support Hitachi-Powergrids SELI8 service unit card"
1672 select ARCH_LS1021A
1673 select ARCH_SUPPORT_PSCI
1674 select BOARD_EARLY_INIT_F
1675 select BOARD_LATE_INIT
1676 select CPU_V7A
1677 select CPU_V7_HAS_NONSEC
1678 select CPU_V7_HAS_VIRT
1679 select SYS_FSL_DDR
1680 select FSL_DDR_INTERACTIVE
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001681 select GPIO_EXTRA_HEADER
Aleksandar Gerasimovski91ee5472021-02-22 18:18:11 +00001682 select VENDOR_KM
1683 imply SCSI
1684 help
1685 Support for Hitachi-Powergrids SELI8 service unit card.
1686 SELI8 is a QorIQ LS1021a based service unit card used
1687 in XMC20 and FOX615 product families.
1688
Aleksandar Gerasimovskia7fd6fa2021-06-08 14:16:28 +00001689config TARGET_PG_WCOM_EXPU1
1690 bool "Support Hitachi-Powergrids EXPU1 service unit card"
1691 select ARCH_LS1021A
1692 select ARCH_SUPPORT_PSCI
1693 select BOARD_EARLY_INIT_F
1694 select BOARD_LATE_INIT
1695 select CPU_V7A
1696 select CPU_V7_HAS_NONSEC
1697 select CPU_V7_HAS_VIRT
1698 select SYS_FSL_DDR
1699 select FSL_DDR_INTERACTIVE
1700 select VENDOR_KM
1701 imply SCSI
1702 help
1703 Support for Hitachi-Powergrids EXPU1 service unit card.
1704 EXPU1 is a QorIQ LS1021a based service unit card used
1705 in XMC20 and FOX615 product families.
1706
Jianchao Wang87821222019-07-19 00:30:01 +03001707config TARGET_LS1021ATSN
1708 bool "Support ls1021atsn"
1709 select ARCH_LS1021A
1710 select ARCH_SUPPORT_PSCI
1711 select BOARD_EARLY_INIT_F
1712 select BOARD_LATE_INIT
1713 select CPU_V7A
1714 select CPU_V7_HAS_NONSEC
1715 select CPU_V7_HAS_VIRT
1716 select LS1_DEEP_SLEEP
1717 select SUPPORT_SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001718 select GPIO_EXTRA_HEADER
Jianchao Wang87821222019-07-19 00:30:01 +03001719 imply SCSI
1720
Feng Li20c700f2016-11-03 14:15:17 +08001721config TARGET_LS1021AIOT
1722 bool "Support ls1021aiot"
Michal Simek5ed063d2018-07-23 15:55:13 +02001723 select ARCH_LS1021A
1724 select ARCH_SUPPORT_PSCI
Tom Rinie5ec4812017-01-22 19:43:11 -05001725 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301726 select CPU_V7A
Feng Li20c700f2016-11-03 14:15:17 +08001727 select CPU_V7_HAS_NONSEC
1728 select CPU_V7_HAS_VIRT
1729 select SUPPORT_SPL
Lukasz Majewski28964222020-06-04 23:11:52 +08001730 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001731 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001732 imply SCSI
Feng Li20c700f2016-11-03 14:15:17 +08001733 help
1734 Support for Freescale LS1021AIOT platform.
1735 The LS1021A Freescale board (IOT) is a high-performance
1736 development platform that supports the QorIQ LS1021A
1737 Layerscape Architecture processor.
1738
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001739config TARGET_LS1043AQDS
1740 bool "Support ls1043aqds"
York Sun0a37cf82016-09-26 08:09:27 -07001741 select ARCH_LS1043A
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001742 select ARM64
1743 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001744 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001745 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001746 select BOARD_LATE_INIT
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001747 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001748 select FSL_DDR_INTERACTIVE if !SPL
Lukasz Majewski044a66c2020-06-04 23:11:51 +08001749 select FSL_DSPI if !SPL_NO_DSPI
1750 select DM_SPI_FLASH if FSL_DSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001751 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001752 imply SCSI
Peng Maf11e4922019-01-30 19:11:49 +08001753 imply SCSI_AHCI
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001754 help
1755 Support for Freescale LS1043AQDS platform.
1756
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001757config TARGET_LS1043ARDB
1758 bool "Support ls1043ardb"
York Sun0a37cf82016-09-26 08:09:27 -07001759 select ARCH_LS1043A
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001760 select ARM64
Hou Zhiqiang831c0682015-10-26 19:47:57 +08001761 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001762 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001763 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001764 select BOARD_LATE_INIT
Gong Qianyu3ad44722015-10-26 19:47:53 +08001765 select SUPPORT_SPL
Lukasz Majewski044a66c2020-06-04 23:11:51 +08001766 select FSL_DSPI if !SPL_NO_DSPI
1767 select DM_SPI_FLASH if FSL_DSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001768 select GPIO_EXTRA_HEADER
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001769 help
1770 Support for Freescale LS1043ARDB platform.
1771
Shaohui Xie126fe702016-09-07 17:56:14 +08001772config TARGET_LS1046AQDS
1773 bool "Support ls1046aqds"
York Sunda28e582016-09-26 08:09:24 -07001774 select ARCH_LS1046A
Shaohui Xie126fe702016-09-07 17:56:14 +08001775 select ARM64
1776 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001777 select ARCH_SUPPORT_TFABOOT
Simon Glassa5d67542017-01-23 13:31:20 -07001778 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +02001779 select BOARD_LATE_INIT
1780 select DM_SPI_FLASH if DM_SPI
1781 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001782 select FSL_DDR_BIST if !SPL
1783 select FSL_DDR_INTERACTIVE if !SPL
1784 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001785 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001786 imply SCSI
Shaohui Xie126fe702016-09-07 17:56:14 +08001787 help
1788 Support for Freescale LS1046AQDS platform.
1789 The LS1046A Development System (QDS) is a high-performance
1790 development platform that supports the QorIQ LS1046A
1791 Layerscape Architecture processor.
1792
Mingkai Hudd029362016-09-07 18:47:28 +08001793config TARGET_LS1046ARDB
1794 bool "Support ls1046ardb"
York Sunda28e582016-09-26 08:09:24 -07001795 select ARCH_LS1046A
Mingkai Hudd029362016-09-07 18:47:28 +08001796 select ARM64
1797 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001798 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001799 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001800 select BOARD_LATE_INIT
Mingkai Hudd029362016-09-07 18:47:28 +08001801 select DM_SPI_FLASH if DM_SPI
Hou Zhiqiangdccef2e2016-12-09 16:09:01 +08001802 select POWER_MC34VR500
Michal Simek5ed063d2018-07-23 15:55:13 +02001803 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001804 select FSL_DDR_BIST
1805 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001806 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001807 imply SCSI
Mingkai Hudd029362016-09-07 18:47:28 +08001808 help
1809 Support for Freescale LS1046ARDB platform.
1810 The LS1046A Reference Design Board (RDB) is a high-performance
1811 development platform that supports the QorIQ LS1046A
1812 Layerscape Architecture processor.
1813
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001814config TARGET_LS1046AFRWY
1815 bool "Support ls1046afrwy"
1816 select ARCH_LS1046A
1817 select ARM64
1818 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001819 select ARCH_SUPPORT_TFABOOT
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001820 select BOARD_EARLY_INIT_F
1821 select BOARD_LATE_INIT
1822 select DM_SPI_FLASH if DM_SPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001823 select GPIO_EXTRA_HEADER
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001824 imply SCSI
1825 help
1826 Support for Freescale LS1046AFRWY platform.
1827 The LS1046A Freeway Board (FRWY) is a high-performance
1828 development platform that supports the QorIQ LS1046A
1829 Layerscape Architecture processor.
Masahiro Yamadadd840582014-07-30 14:08:14 +09001830
Michael Walle4ceb5c62020-10-15 23:08:57 +02001831config TARGET_SL28
1832 bool "Support sl28"
1833 select ARCH_LS1028A
1834 select ARM64
1835 select ARMV8_MULTIENTRY
1836 select SUPPORT_SPL
1837 select BINMAN
Michael Walle356a3382021-03-26 19:40:57 +01001838 select DM
1839 select DM_GPIO
1840 select DM_I2C
1841 select DM_MMC
1842 select DM_SPI_FLASH
1843 select DM_ETH
1844 select DM_MDIO
Simon Glass3232bdf2021-08-01 18:54:44 -06001845 select PCI
Michael Walle356a3382021-03-26 19:40:57 +01001846 select DM_RNG
1847 select DM_RTC
1848 select DM_SCSI
Michael Walle6d1ab4a2021-03-26 19:40:58 +01001849 select DM_SERIAL
Michael Walle356a3382021-03-26 19:40:57 +01001850 select DM_SPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001851 select GPIO_EXTRA_HEADER
Michael Walle356a3382021-03-26 19:40:57 +01001852 select SPL_DM if SPL
1853 select SPL_DM_SPI if SPL
1854 select SPL_DM_SPI_FLASH if SPL
1855 select SPL_DM_I2C if SPL
1856 select SPL_DM_MMC if SPL
1857 select SPL_DM_SERIAL if SPL
Michael Walle4ceb5c62020-10-15 23:08:57 +02001858 help
1859 Support for Kontron SMARC-sAL28 board.
1860
Mathew McBridea1d2fd32022-01-31 18:34:43 +05301861config TARGET_TEN64
1862 bool "Support ten64"
1863 select ARCH_LS1088A
1864 select ARCH_MISC_INIT
1865 select ARM64
1866 select ARMV8_MULTIENTRY
1867 select ARCH_SUPPORT_TFABOOT
1868 select BOARD_LATE_INIT
1869 select SUPPORT_SPL
1870 select FSL_DDR_INTERACTIVE if !SD_BOOT
1871 select GPIO_EXTRA_HEADER
1872 help
1873 Support for Traverse Technologies Ten64 board, based
1874 on NXP LS1088A.
1875
Masahiro Yamada66cba042014-10-03 19:21:07 +09001876config ARCH_UNIPHIER
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +09001877 bool "Socionext UniPhier SoCs"
Tom Rinie5ec4812017-01-22 19:43:11 -05001878 select BOARD_LATE_INIT
Masahiro Yamada4e819952015-03-31 12:47:54 +09001879 select DM
Masahiro Yamada15171262020-05-07 22:11:19 +09001880 select DM_ETH
Masahiro Yamadab800cbd2016-02-16 17:03:50 +09001881 select DM_GPIO
Masahiro Yamada4e819952015-03-31 12:47:54 +09001882 select DM_I2C
Masahiro Yamada4aceb3f2016-02-18 19:52:49 +09001883 select DM_MMC
Masahiro Yamada407b01b2020-01-30 22:07:59 +09001884 select DM_MTD
Masahiro Yamada4fb96c42016-10-08 13:25:31 +09001885 select DM_RESET
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001886 select DM_SERIAL
Masahiro Yamada65fce762018-07-19 16:28:25 +09001887 select OF_BOARD_SETUP
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001888 select OF_CONTROL
1889 select OF_LIBFDT
Masahiro Yamada27350c92016-09-17 03:33:01 +09001890 select PINCTRL
Ley Foon Tan0680f1b2017-05-03 17:13:32 +08001891 select SPL_BOARD_INIT if SPL
Masahiro Yamada561ca642017-01-21 18:05:22 +09001892 select SPL_DM if SPL
1893 select SPL_LIBCOMMON_SUPPORT if SPL
1894 select SPL_LIBGENERIC_SUPPORT if SPL
1895 select SPL_OF_CONTROL if SPL
1896 select SPL_PINCTRL if SPL
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001897 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +02001898 imply CMD_DM
Masahiro Yamada7ef5b1e2018-07-20 21:47:18 +09001899 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001900 imply FAT_WRITE
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +09001901 help
1902 Support for UniPhier SoC family developed by Socionext Inc.
1903 (formerly, System LSI Business Division of Panasonic Corporation)
Masahiro Yamada66cba042014-10-03 19:21:07 +09001904
Masami Hiramatsu5cd4a352021-06-04 18:45:10 +09001905config ARCH_SYNQUACER
1906 bool "Socionext SynQuacer SoCs"
1907 select ARM64
1908 select DM
1909 select GIC_V3
1910 select PSCI_RESET
1911 select SYSRESET
1912 select SYSRESET_PSCI
1913 select OF_CONTROL
1914 help
1915 Support for SynQuacer SoC family developed by Socionext Inc.
1916 This SoC is used on 96boards EE DeveloperBox.
1917
Trevor Woerner71f63542020-05-06 08:02:42 -04001918config ARCH_STM32
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001919 bool "Support STMicroelectronics STM32 MCU with cortex M"
rev13@wp.pled09a552015-03-01 12:44:42 +01001920 select CPU_V7M
Kamil Lulko66562412015-12-01 09:08:19 +01001921 select DM
1922 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001923 imply CMD_DM
rev13@wp.pled09a552015-03-01 12:44:42 +01001924
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001925config ARCH_STI
1926 bool "Support STMicrolectronics SoCs"
Michal Simek5ed063d2018-07-23 15:55:13 +02001927 select BLK
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301928 select CPU_V7A
Patrice Chotard214a17e2017-02-21 13:37:07 +01001929 select DM
Patrice Chotardeee20f82017-02-21 13:37:09 +01001930 select DM_MMC
Patrice Chotard584861f2017-03-22 10:54:03 +01001931 select DM_RESET
Michal Simek5ed063d2018-07-23 15:55:13 +02001932 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001933 imply CMD_DM
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001934 help
1935 Support for STMicroelectronics STiH407/10 SoC family.
1936 This SoC is used on Linaro 96Board STiH410-B2260
1937
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001938config ARCH_STM32MP
1939 bool "Support STMicroelectronics STM32MP Socs with cortex A"
Patrick Delaunay08772f62018-03-20 10:54:53 +01001940 select ARCH_MISC_INIT
Patrick Delaunay654706b2020-04-01 09:07:33 +02001941 select ARCH_SUPPORT_TFABOOT
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001942 select BOARD_LATE_INIT
1943 select CLK
1944 select DM
1945 select DM_GPIO
1946 select DM_RESET
1947 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001948 select MISC
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001949 select OF_CONTROL
1950 select OF_LIBFDT
Patrick Delaunay05d36932019-07-05 17:20:14 +02001951 select OF_SYSTEM_SETUP
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001952 select PINCTRL
1953 select REGMAP
1954 select SUPPORT_SPL
1955 select SYSCON
Patrick Delaunay86634a92018-03-20 14:15:06 +01001956 select SYSRESET
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001957 select SYS_THUMB_BUILD
Kever Yang09259fc2019-04-02 20:41:25 +08001958 imply SPL_SYSRESET
Michal Simek08a00cb2018-07-23 15:55:14 +02001959 imply CMD_DM
Patrick Delaunayc16cc4f2019-04-12 11:55:46 +02001960 imply CMD_POWEROFF
Patrick Delaunayf2193612019-07-30 19:16:28 +02001961 imply OF_LIBFDT_OVERLAY
Patrick Delaunayb4ae34b2019-02-27 17:01:11 +01001962 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Patrick Delaunayce3772c2019-04-18 17:32:38 +02001963 imply USE_PREBOOT
Simon Glassd6b318d2021-12-18 11:27:50 -07001964 imply TIMESTAMP
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001965 help
1966 Support for STM32MP SoC family developed by STMicroelectronics,
1967 MPUs based on ARM cortex A core
Patrick Delaunayabf26782019-02-12 11:44:39 +01001968 U-BOOT is running in DDR, loaded by the First Stage BootLoader (FSBL).
1969 FSBL can be TF-A: Trusted Firmware for Cortex A, for trusted boot
1970 chain.
1971 SPL is the unsecure FSBL for the basic boot chain.
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001972
Simon Glass2444dae2015-08-30 16:55:38 -06001973config ARCH_ROCKCHIP
1974 bool "Support Rockchip SoCs"
Simon Glassaa150382016-06-12 23:30:14 -06001975 select BLK
Johan Gunnarsson475bb942021-07-25 16:25:58 +02001976 select BINMAN if SPL_OPTEE || (SPL && !ARM64)
Simon Glass2444dae2015-08-30 16:55:38 -06001977 select DM
Simon Glassaa150382016-06-12 23:30:14 -06001978 select DM_GPIO
1979 select DM_I2C
1980 select DM_MMC
Michal Simek5ed063d2018-07-23 15:55:13 +02001981 select DM_PWM
1982 select DM_REGULATOR
Simon Glassaa150382016-06-12 23:30:14 -06001983 select DM_SERIAL
1984 select DM_SPI
1985 select DM_SPI_FLASH
Philipp Tomsich14ad6eb2017-10-10 16:21:03 +02001986 select ENABLE_ARM_SOC_BOOT0_HOOK
Michal Simek5ed063d2018-07-23 15:55:13 +02001987 select OF_CONTROL
Adam Fordf1b1f772018-04-15 13:51:26 -04001988 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +02001989 select SPL_DM if SPL
Lukasz Majewski56c40462020-06-04 23:11:53 +08001990 select SPL_DM_SPI if SPL
1991 select SPL_DM_SPI_FLASH if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001992 select SYS_MALLOC_F
1993 select SYS_THUMB_BUILD if !ARM64
1994 imply ADC
Michal Simek08a00cb2018-07-23 15:55:14 +02001995 imply CMD_DM
Kever Yangb0a569d2019-03-29 09:08:58 +08001996 imply DEBUG_UART_BOARD_INIT
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001997 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001998 imply FAT_WRITE
Philipp Tomsich8e8bccc2017-09-20 13:50:13 +02001999 imply SARADC_ROCKCHIP
Michal Simek5ed063d2018-07-23 15:55:13 +02002000 imply SPL_SYSRESET
Thomas Hebb64eff472019-11-15 08:48:57 -08002001 imply SPL_SYS_MALLOC_SIMPLE
Kever Yangc3c03312018-04-19 11:37:09 +08002002 imply SYS_NS16550
Michal Simek5ed063d2018-07-23 15:55:13 +02002003 imply TPL_SYSRESET
2004 imply USB_FUNCTION_FASTBOOT
Simon Glass2444dae2015-08-30 16:55:38 -06002005
Suneel Garapati03c22882019-10-19 18:37:55 -07002006config ARCH_OCTEONTX
2007 bool "Support OcteonTX SoCs"
Stefan Roese7a780742020-09-23 11:01:30 +02002008 select CLK
Suneel Garapati03c22882019-10-19 18:37:55 -07002009 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +09002010 select GPIO_EXTRA_HEADER
Suneel Garapati03c22882019-10-19 18:37:55 -07002011 select ARM64
2012 select OF_CONTROL
2013 select OF_LIVE
2014 select BOARD_LATE_INIT
2015 select SYS_CACHE_SHIFT_7
Tom Rini7856cd52021-12-12 22:12:32 -05002016 select SYS_PCI_64BIT if PCI
Simon Glass239d22c2021-12-16 20:59:36 -07002017 imply OF_HAS_PRIOR_STAGE
Suneel Garapati0a668f62019-10-19 18:47:37 -07002018
2019config ARCH_OCTEONTX2
2020 bool "Support OcteonTX2 SoCs"
Stefan Roese7a780742020-09-23 11:01:30 +02002021 select CLK
Suneel Garapati0a668f62019-10-19 18:47:37 -07002022 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +09002023 select GPIO_EXTRA_HEADER
Suneel Garapati0a668f62019-10-19 18:47:37 -07002024 select ARM64
2025 select OF_CONTROL
2026 select OF_LIVE
2027 select BOARD_LATE_INIT
2028 select SYS_CACHE_SHIFT_7
Tom Rini7856cd52021-12-12 22:12:32 -05002029 select SYS_PCI_64BIT if PCI
Simon Glass239d22c2021-12-16 20:59:36 -07002030 imply OF_HAS_PRIOR_STAGE
Suneel Garapati0a668f62019-10-19 18:47:37 -07002031
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07002032config TARGET_THUNDERX_88XX
2033 bool "Support ThunderX 88xx"
Marek Vasutb4ba1692016-06-01 02:33:53 +02002034 select ARM64
Masami Hiramatsu7a672052021-06-04 18:43:55 +09002035 select GPIO_EXTRA_HEADER
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07002036 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01002037 select PL01X_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02002038 select SYS_CACHE_SHIFT_7
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07002039
maxims@google.com4697abe2017-01-18 13:44:55 -08002040config ARCH_ASPEED
2041 bool "Support Aspeed SoCs"
maxims@google.com4697abe2017-01-18 13:44:55 -08002042 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +02002043 select OF_CONTROL
Michal Simek08a00cb2018-07-23 15:55:14 +02002044 imply CMD_DM
maxims@google.com4697abe2017-01-18 13:44:55 -08002045
liu haoe3aafef2019-10-31 07:51:08 +00002046config TARGET_DURIAN
2047 bool "Support Phytium Durian Platform"
2048 select ARM64
Masami Hiramatsu7a672052021-06-04 18:43:55 +09002049 select GPIO_EXTRA_HEADER
liu haoe3aafef2019-10-31 07:51:08 +00002050 help
2051 Support for durian platform.
2052 It has 2GB Sdram, uart and pcie.
2053
weichangzhengb9d0f002022-03-02 15:09:05 +08002054config TARGET_POMELO
2055 bool "Support Phytium Pomelo Platform"
2056 select ARM64
2057 select DM
2058 select AHCI
2059 select SCSI_AHCI
2060 select AHCI_PCI
2061 select BLK
2062 select PCI
2063 select DM_PCI
2064 select SCSI
2065 select DM_SCSI
2066 select DM_SERIAL
2067 select DM_ETH if NET
2068 imply CMD_PCI
2069 help
2070 Support for pomelo platform.
2071 It has 8GB Sdram, uart and pcie.
2072
Alex Nemirovsky7d706a82020-01-30 12:34:59 -08002073config TARGET_PRESIDIO_ASIC
2074 bool "Support Cortina Presidio ASIC Platform"
2075 select ARM64
Tom Rini5afdcca2021-08-19 14:19:39 -04002076 select GICV2
Alex Nemirovsky7d706a82020-01-30 12:34:59 -08002077
Andrii Anisov770a8ee2020-08-06 12:42:47 +03002078config TARGET_XENGUEST_ARM64
2079 bool "Xen guest ARM64"
2080 select ARM64
2081 select XEN
2082 select OF_CONTROL
2083 select LINUX_KERNEL_IMAGE_HEADER
Peng Fan384d5cf2020-08-06 12:42:50 +03002084 select XEN_SERIAL
Oleksandr Andrushchenko60e49ff2020-08-06 12:42:53 +03002085 select SSCANF
Simon Glass239d22c2021-12-16 20:59:36 -07002086 imply OF_HAS_PRIOR_STAGE
2087
Masahiro Yamadadd840582014-07-30 14:08:14 +09002088endchoice
2089
Tom Rini97744622021-08-30 09:16:30 -04002090config SUPPORT_PASSING_ATAGS
2091 bool "Support pre-devicetree ATAG-based booting"
2092 depends on !ARM64
2093 imply SETUP_MEMORY_TAGS
2094 help
2095 Support for booting older Linux kernels, using ATAGs rather than
2096 passing a devicetree. This is option is rarely used, and the
2097 semantics are defined at
2098 https://www.kernel.org/doc/Documentation/arm/Booting at section 4a.
2099
2100config SETUP_MEMORY_TAGS
2101 bool "Pass memory size information via ATAG"
2102 depends on SUPPORT_PASSING_ATAGS
2103
2104config CMDLINE_TAG
2105 bool "Pass Linux kernel cmdline via ATAG"
2106 depends on SUPPORT_PASSING_ATAGS
2107
2108config INITRD_TAG
2109 bool "Pass initrd starting point and size via ATAG"
2110 depends on SUPPORT_PASSING_ATAGS
2111
2112config REVISION_TAG
2113 bool "Pass system revision via ATAG"
2114 depends on SUPPORT_PASSING_ATAGS
2115
2116config SERIAL_TAG
2117 bool "Pass system serial number via ATAG"
2118 depends on SUPPORT_PASSING_ATAGS
2119
Tom Rini87e8d382021-08-30 09:16:31 -04002120config STATIC_MACH_TYPE
2121 bool "Statically define the Machine ID number"
2122 help
2123 When booting via ATAGs, enable this option if we know the correct
2124 machine ID number to use at compile time. Some systems will be
2125 passed the number dynamically by whatever loads U-Boot.
2126
2127config MACH_TYPE
2128 int "Machine ID number"
2129 depends on STATIC_MACH_TYPE
2130 help
2131 When booting via ATAGs, the machine type must be passed as a number.
2132 For the full list see https://www.arm.linux.org.uk/developer/machines
2133
AKASHI Takahiro6324d502019-07-03 10:44:39 +09002134config ARCH_SUPPORT_TFABOOT
2135 bool
2136
2137config TFABOOT
2138 bool "Support for booting from TF-A"
2139 depends on ARCH_SUPPORT_TFABOOT
AKASHI Takahiro6324d502019-07-03 10:44:39 +09002140 help
Andre Przywaracee2e022020-09-30 15:45:07 +01002141 Some platforms support the setup of secure registers (for instance
2142 for CPU errata handling) or provide secure services like PSCI.
2143 Those services could also be provided by other firmware parts
2144 like TF-A (Trusted Firmware for Cortex-A), in which case U-Boot
2145 does not need to (and cannot) execute this code.
2146 Enabling this option will make a U-Boot binary that is relying
2147 on other firmware layers to provide secure functionality.
AKASHI Takahiro6324d502019-07-03 10:44:39 +09002148
Andrew F. Davis5fbed8f2018-02-14 11:53:37 -06002149config TI_SECURE_DEVICE
2150 bool "HS Device Type Support"
Andrew F. Davis3a543a82019-04-12 12:54:45 -04002151 depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
Andrew F. Davis5fbed8f2018-02-14 11:53:37 -06002152 help
2153 If a high secure (HS) device type is being used, this config
2154 must be set. This option impacts various aspects of the
2155 build system (to create signed boot images that can be
2156 authenticated) and the code. See the doc/README.ti-secure
2157 file for further details.
2158
Tom Rini9c4b0132019-03-19 07:14:37 -04002159if AM43XX || AM33XX || OMAP54XX || ARCH_KEYSTONE
2160config ISW_ENTRY_ADDR
2161 hex "Address in memory or XIP address of bootloader entry point"
2162 default 0x402F4000 if AM43XX
2163 default 0x402F0400 if AM33XX
2164 default 0x40301350 if OMAP54XX
2165 help
2166 After any reset, the boot ROM searches the boot media for a valid
2167 boot image. For non-XIP devices, the ROM then copies the image into
2168 internal memory. For all boot modes, after the ROM processes the
2169 boot image it eventually computes the entry point address depending
2170 on the device type (secure/non-secure), boot media (xip/non-xip) and
2171 image headers.
2172endif
2173
Tom Rini440c00d2021-12-17 18:08:45 -05002174config SYS_KWD_CONFIG
2175 string "kwbimage config file path"
2176 depends on ARCH_KIRKWOOD || ARCH_MVEBU
2177 default "arch/arm/mach-mvebu/kwbimage.cfg"
2178 help
2179 Path within the source directory to the kwbimage.cfg file to use
2180 when packaging the U-Boot image for use.
2181
Mark Kettenis003b6572021-10-23 16:58:03 +02002182source "arch/arm/mach-apple/Kconfig"
2183
maxims@google.com4697abe2017-01-18 13:44:55 -08002184source "arch/arm/mach-aspeed/Kconfig"
2185
Masahiro Yamada4614b892015-02-20 17:04:01 +09002186source "arch/arm/mach-at91/Kconfig"
2187
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +09002188source "arch/arm/mach-bcm283x/Kconfig"
Masahiro Yamada3491ba62014-08-31 07:11:01 +09002189
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -04002190source "arch/arm/mach-bcmstb/Kconfig"
2191
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +09002192source "arch/arm/mach-davinci/Kconfig"
Simon Glass34e609c2015-02-05 21:41:39 -07002193
Thomas Abraham77b55e82015-08-03 17:58:00 +05302194source "arch/arm/mach-exynos/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +09002195
Masahiro Yamada72a8ff42015-02-20 17:04:08 +09002196source "arch/arm/mach-highbank/Kconfig"
Masahiro Yamadaef2b6942014-08-31 07:11:07 +09002197
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +09002198source "arch/arm/mach-integrator/Kconfig"
2199
Robert Markoe479a7d2020-07-06 10:37:54 +02002200source "arch/arm/mach-ipq40xx/Kconfig"
2201
Lokesh Vutla586bde92018-08-27 15:57:08 +05302202source "arch/arm/mach-k3/Kconfig"
2203
Masahiro Yamada39a72342015-02-20 17:04:11 +09002204source "arch/arm/mach-keystone/Kconfig"
Masahiro Yamadac338f092014-08-31 07:11:05 +09002205
Masahiro Yamada56f86e32015-02-20 17:04:06 +09002206source "arch/arm/mach-kirkwood/Kconfig"
Masahiro Yamada47539e22014-08-31 07:10:59 +09002207
Trevor Woernerb3d9a8b2020-05-06 08:02:36 -04002208source "arch/arm/mach-lpc32xx/Kconfig"
Vladimir Zapolskiyee54dfe2018-09-17 21:43:03 +03002209
Stefan Roesec3d89142015-08-25 13:18:38 +02002210source "arch/arm/mach-mvebu/Kconfig"
2211
Suneel Garapati03c22882019-10-19 18:37:55 -07002212source "arch/arm/mach-octeontx/Kconfig"
Suneel Garapati0a668f62019-10-19 18:47:37 -07002213
2214source "arch/arm/mach-octeontx2/Kconfig"
2215
York Sun0a37cf82016-09-26 08:09:27 -07002216source "arch/arm/cpu/armv7/ls102xa/Kconfig"
2217
Magnus Lilja3159ec62018-05-11 14:06:54 +02002218source "arch/arm/mach-imx/mx3/Kconfig"
2219
Peng Fan7a7391f2018-01-10 13:20:19 +08002220source "arch/arm/mach-imx/mx5/Kconfig"
Adrian Alonso1a8150d2015-09-03 11:49:28 -05002221
Stefano Babic552a8482017-06-29 10:16:06 +02002222source "arch/arm/mach-imx/mx6/Kconfig"
Boris BREZILLON89ebc822015-03-04 13:13:03 +01002223
Peng Fan7a7391f2018-01-10 13:20:19 +08002224source "arch/arm/mach-imx/mx7/Kconfig"
2225
2226source "arch/arm/mach-imx/mx7ulp/Kconfig"
2227
Peng Fanb2b8b9b2018-10-18 14:28:08 +02002228source "arch/arm/mach-imx/imx8/Kconfig"
2229
Peng Fancd357ad2018-11-20 10:19:25 +00002230source "arch/arm/mach-imx/imx8m/Kconfig"
Andrej Rosano424ee3d2015-04-08 18:56:29 +02002231
Peng Fan19b990b2021-08-07 16:00:30 +08002232source "arch/arm/mach-imx/imx8ulp/Kconfig"
2233
Giulio Benetti77eb9a92020-01-10 15:51:47 +01002234source "arch/arm/mach-imx/imxrt/Kconfig"
2235
Stefan Agnerc5343d42018-02-06 09:44:34 +01002236source "arch/arm/mach-imx/mxs/Kconfig"
2237
Tom Rini983e3702016-11-07 21:34:54 -05002238source "arch/arm/mach-omap2/Kconfig"
Madan Srinivas63847262016-05-19 19:10:43 -05002239
York Sunda28e582016-09-26 08:09:24 -07002240source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
2241
Masahiro Yamada3e93b4e2015-02-20 17:04:09 +09002242source "arch/arm/mach-orion5x/Kconfig"
Masahiro Yamada22f2be72014-08-31 07:11:06 +09002243
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05302244source "arch/arm/mach-owl/Kconfig"
2245
Nobuhiro Iwamatsubadbb632015-10-09 16:40:09 +09002246source "arch/arm/mach-rmobile/Kconfig"
Masahiro Yamadaf40b9892014-08-31 07:10:57 +09002247
Beniamino Galvanibfcef282016-05-08 08:30:16 +02002248source "arch/arm/mach-meson/Kconfig"
2249
Ryder Leecbd2fba2018-11-15 10:07:52 +08002250source "arch/arm/mach-mediatek/Kconfig"
2251
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03002252source "arch/arm/mach-qemu/Kconfig"
2253
Simon Glass2444dae2015-08-30 16:55:38 -06002254source "arch/arm/mach-rockchip/Kconfig"
2255
Minkyu Kang225f5ee2015-11-20 15:24:57 +09002256source "arch/arm/mach-s5pc1xx/Kconfig"
Simon Glass311757b2014-10-07 22:01:50 -06002257
Mateusz Kulikowski08592132016-03-31 23:12:32 +02002258source "arch/arm/mach-snapdragon/Kconfig"
2259
Masahiro Yamada7865f4b2015-04-21 20:38:20 +09002260source "arch/arm/mach-socfpga/Kconfig"
2261
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01002262source "arch/arm/mach-sti/Kconfig"
2263
Vikas Manocha0a61ee82016-01-15 17:49:06 -08002264source "arch/arm/mach-stm32/Kconfig"
2265
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01002266source "arch/arm/mach-stm32mp/Kconfig"
2267
Masahiro Yamada3abfd882017-04-28 19:42:18 +09002268source "arch/arm/mach-sunxi/Kconfig"
2269
Masahiro Yamada09f455d2015-02-20 17:04:04 +09002270source "arch/arm/mach-tegra/Kconfig"
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09002271
Stephan Gerhold689088f2020-01-04 18:45:17 +01002272source "arch/arm/mach-u8500/Kconfig"
2273
Masahiro Yamada4c425572015-02-27 02:26:42 +09002274source "arch/arm/mach-uniphier/Kconfig"
Masahiro Yamada66cba042014-10-03 19:21:07 +09002275
Stefan Agner7966b432017-03-13 18:41:36 -07002276source "arch/arm/cpu/armv7/vf610/Kconfig"
2277
Masahiro Yamada0107f242015-03-16 16:43:22 +09002278source "arch/arm/mach-zynq/Kconfig"
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09002279
Michal Simek274ccb52019-01-17 08:22:43 +01002280source "arch/arm/mach-zynqmp/Kconfig"
2281
Michal Simekec48b6c2018-08-22 14:55:27 +02002282source "arch/arm/mach-versal/Kconfig"
2283
Michal Simek1d6c54e2018-04-12 17:39:46 +02002284source "arch/arm/mach-zynqmp-r5/Kconfig"
2285
Hans de Goedeea624e12014-11-14 09:34:30 +01002286source "arch/arm/cpu/armv7/Kconfig"
2287
Linus Walleij23b58772015-03-09 10:53:21 +01002288source "arch/arm/cpu/armv8/Kconfig"
2289
Stefano Babic552a8482017-06-29 10:16:06 +02002290source "arch/arm/mach-imx/Kconfig"
Boris BREZILLONa05a6042015-03-04 13:13:04 +01002291
Stefan Bosch95e9a8e2020-07-10 19:07:26 +02002292source "arch/arm/mach-nexell/Kconfig"
2293
Jim Liu84335542022-04-19 13:32:19 +08002294source "arch/arm/mach-npcm/Kconfig"
2295
Usama Arif565add12020-08-12 16:12:53 +01002296source "board/armltd/total_compute/Kconfig"
2297
Heiko Schocherd8ccbe92016-06-07 08:31:25 +02002298source "board/bosch/shc/Kconfig"
Sjoerd Simons45123802019-02-25 15:33:00 +00002299source "board/bosch/guardian/Kconfig"
Suneel Garapati03c22882019-10-19 18:37:55 -07002300source "board/Marvell/octeontx/Kconfig"
Suneel Garapati0a668f62019-10-19 18:47:37 -07002301source "board/Marvell/octeontx2/Kconfig"
Kristian Amlie15e30102021-09-07 08:37:51 +02002302source "board/armltd/vexpress/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09002303source "board/armltd/vexpress64/Kconfig"
Alex Nemirovsky7d706a82020-01-30 12:34:59 -08002304source "board/cortina/presidio-asic/Kconfig"
Philippe Reynesbe2fc082019-01-31 18:57:36 +01002305source "board/broadcom/bcm963158/Kconfig"
Philippe Reynesa241ccd2022-02-11 19:18:38 +01002306source "board/broadcom/bcm96753ref/Kconfig"
Philippe Reynes645b7ec2020-01-07 20:14:17 +01002307source "board/broadcom/bcm968360bg/Kconfig"
Philippe Reynes40b59b02018-10-11 18:31:58 +02002308source "board/broadcom/bcm968580xref/Kconfig"
Rayagonda Kokatanur291635a2020-07-15 22:48:55 +05302309source "board/broadcom/bcmns3/Kconfig"
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07002310source "board/cavium/thunderx/Kconfig"
Felix Brack85ab0452018-01-23 18:27:22 +01002311source "board/eets/pdu001/Kconfig"
Bin Meng6f332762018-10-15 02:21:18 -07002312source "board/emulation/qemu-arm/Kconfig"
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05302313source "board/freescale/ls2080aqds/Kconfig"
2314source "board/freescale/ls2080ardb/Kconfig"
Ashish Kumare84a3242017-08-31 16:12:54 +05302315source "board/freescale/ls1088a/Kconfig"
Yuantian Tang353f36d2019-04-10 16:43:34 +08002316source "board/freescale/ls1028a/Kconfig"
Wang Huan550e3dc2014-09-05 13:52:44 +08002317source "board/freescale/ls1021aqds/Kconfig"
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08002318source "board/freescale/ls1043aqds/Kconfig"
Wang Huanc8a7d9d2014-09-05 13:52:45 +08002319source "board/freescale/ls1021atwr/Kconfig"
Jianchao Wang87821222019-07-19 00:30:01 +03002320source "board/freescale/ls1021atsn/Kconfig"
Feng Li20c700f2016-11-03 14:15:17 +08002321source "board/freescale/ls1021aiot/Kconfig"
Shaohui Xie126fe702016-09-07 17:56:14 +08002322source "board/freescale/ls1046aqds/Kconfig"
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08002323source "board/freescale/ls1043ardb/Kconfig"
Mingkai Hudd029362016-09-07 18:47:28 +08002324source "board/freescale/ls1046ardb/Kconfig"
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00002325source "board/freescale/ls1046afrwy/Kconfig"
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05302326source "board/freescale/ls1012aqds/Kconfig"
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05302327source "board/freescale/ls1012ardb/Kconfig"
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05302328source "board/freescale/ls1012afrdm/Kconfig"
Priyanka Jain58c3e622018-11-28 13:04:27 +00002329source "board/freescale/lx2160a/Kconfig"
Marcin Niestrojab38bf62017-01-25 09:53:08 +01002330source "board/grinn/chiliboard/Kconfig"
Tom Rini345243e2015-09-02 15:32:20 -04002331source "board/hisilicon/hikey/Kconfig"
Manivannan Sadhasivamc62c7ef2019-08-02 20:40:09 +05302332source "board/hisilicon/hikey960/Kconfig"
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02002333source "board/hisilicon/poplar/Kconfig"
Ladislav Michla96c08f2017-04-01 17:17:16 +02002334source "board/isee/igep003x/Kconfig"
Michael Walle4ceb5c62020-10-15 23:08:57 +02002335source "board/kontron/sl28/Kconfig"
Parthiban Nallathambi10e959a2020-07-27 16:48:41 +02002336source "board/myir/mys_6ulx/Kconfig"
Navin Sankar Velliangiria3a0bc82021-05-18 09:03:20 +05302337source "board/seeed/npi_imx6ull/Kconfig"
Masami Hiramatsu5cd4a352021-06-04 18:45:10 +09002338source "board/socionext/developerbox/Kconfig"
Vikas Manocha9fa32b12014-11-18 10:42:22 -08002339source "board/st/stv0991/Kconfig"
Enric Balletbò i Serra9d1b2982015-09-07 07:43:20 +02002340source "board/tcl/sl50/Kconfig"
Mathew McBridea1d2fd32022-01-31 18:34:43 +05302341source "board/traverse/ten64/Kconfig"
Parthiban Nallathambid8d33b62019-04-18 00:04:09 +02002342source "board/variscite/dart_6ul/Kconfig"
Yegor Yefremov6ce89322015-05-29 19:27:29 +02002343source "board/vscom/baltos/Kconfig"
liu haoe3aafef2019-10-31 07:51:08 +00002344source "board/phytium/durian/Kconfig"
weichangzhengb9d0f002022-03-02 15:09:05 +08002345source "board/phytium/pomelo/Kconfig"
Andrii Anisov770a8ee2020-08-06 12:42:47 +03002346source "board/xen/xenguest_arm64/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09002347
Masahiro Yamada51b17d42014-09-01 11:06:34 +09002348source "arch/arm/Kconfig.debug"
2349
Masahiro Yamadadd840582014-07-30 14:08:14 +09002350endmenu
Philipp Tomsichb5299932017-08-03 23:23:55 +02002351
2352config SPL_LDSCRIPT
Michal Simek6e7bdde2018-07-23 15:55:12 +02002353 default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if (ARCH_MX23 || ARCH_MX28) && !SPL_FRAMEWORK
2354 default "arch/arm/cpu/arm1136/u-boot-spl.lds" if CPU_ARM1136
Philipp Tomsichb5299932017-08-03 23:23:55 +02002355 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64