blob: 0afec5155b1b477cce2b71c45a39b40dbe8cd79c [file] [log] [blame]
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001menu "ARM architecture"
2 depends on ARM
3
4config SYS_ARCH
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09005 default "arm"
6
Masahiro Yamada0d46c342014-09-14 03:01:51 +09007config ARM64
8 bool
Masahiro Yamada653e9fe2016-07-25 19:56:03 +09009 select PHYS_64BIT
Tom Rini84f9b612016-08-22 08:22:17 -040010 select SYS_CACHE_SHIFT_6
Sean Anderson13871e12022-04-12 10:59:04 -040011 imply SPL_SEPARATE_BSS
Masahiro Yamada0d46c342014-09-14 03:01:51 +090012
Marek Vasut355405c2021-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 Fan8541b9f2022-04-13 17:47:18 +080023config COUNTER_FREQUENCY
24 int "Timer clock frequency"
25 depends on ARM64 || CPU_V7A
Peng Fan30c80dd2022-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 Fan8541b9f2022-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 Warren81c21372017-11-02 18:11:27 -060040config POSITION_INDEPENDENT
41 bool "Generate position-independent pre-relocation code"
Chia-Wei Wangbbd3c612021-08-03 10:50:10 +080042 depends on ARM64 || CPU_V7A
Stephen Warren81c21372017-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. Iglesias63d73362020-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. Day3a8d4e12019-12-25 06:34:07 -050048 information that is embedded in the binary to support U-Boot
Stephen Warren81c21372017-11-02 18:11:27 -060049 relocating itself to the top-of-RAM later during execution.
Stephen Warrenb80fe6d2017-12-19 18:30:36 -070050
Masahiro Yamadabf4645c2019-06-26 13:51:46 +090051config INIT_SP_RELATIVE
52 bool "Specify the early stack pointer relative to the .bss section"
Chia-Wei Wang88103202021-08-03 10:50:09 +080053 depends on ARM64
Andre Przywara4d711892020-09-30 17:39:18 +010054 default n if ARCH_QEMU
Andre Przywaraa834b772020-09-30 17:39:15 +010055 default y if POSITION_INDEPENDENT
Stephen Warrenb80fe6d2017-12-19 18:30:36 -070056 help
57 U-Boot typically uses a hard-coded value for the stack pointer
Masahiro Yamadabf4645c2019-06-26 13:51:46 +090058 before relocation. Enable this option to instead calculate the
Stephen Warrenb80fe6d2017-12-19 18:30:36 -070059 initial SP at run-time. This is useful to avoid hard-coding addresses
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -050060 into U-Boot, so that it can be loaded and executed at arbitrary
Masahiro Yamadabf4645c2019-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 Wang88103202021-08-03 10:50:09 +080069 depends on ARM64
Masahiro Yamadabf4645c2019-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 Warrenb80fe6d2017-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 Warren80a93652018-01-03 14:31:51 -070077
Pali Rohára4d6e0f2022-04-06 16:20:18 +020078config SPL_SYS_NO_VECTOR_TABLE
79 depends on SPL
80 bool
81
Stephen Warren80a93652018-01-03 14:31:51 -070082config LINUX_KERNEL_IMAGE_HEADER
Chia-Wei Wang88103202021-08-03 10:50:09 +080083 depends on ARM64
Stephen Warren80a93652018-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 Warren80a93652018-01-03 14:31:51 -070092config LNX_KRNL_IMG_TEXT_OFFSET_BASE
Chia-Wei Wang88103202021-08-03 10:50:09 +080093 depends on LINUX_KERNEL_IMAGE_HEADER
Stephen Warren80a93652018-01-03 14:31:51 -070094 hex
95 help
96 The value subtracted from CONFIG_SYS_TEXT_BASE to calculate the
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -050097 TEXT_OFFSET value written to the Linux kernel image header.
Stephen Warren81c21372017-11-02 18:11:27 -060098
Tom Rini249f11f2021-08-19 14:19:39 -040099config GICV2
100 bool
101
102config GICV3
103 bool
104
Bharat Kumar Reddy Gooty436efc02019-12-16 09:09:43 -0800105config GIC_V3_ITS
106 bool "ARM GICV3 ITS"
Wasim Khan339539c2021-03-08 16:48:14 +0100107 select IRQ
Bharat Kumar Reddy Gooty436efc02019-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 Warren81c21372017-11-02 18:11:27 -0600116config STATIC_RELA
117 bool
Andre Przywaraf7582ee2020-09-30 17:39:13 +0100118 default y if ARM64
Stephen Warren81c21372017-11-02 18:11:27 -0600119
Lokesh Vutlaf94277d2016-03-24 16:02:00 +0530120config DMA_ADDR_T_64BIT
121 bool
122 default y if ARM64
123
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100124config HAS_VBAR
Tom Rinibca01962016-08-22 08:22:18 -0400125 bool
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100126
Albert ARIBAUDa3823222015-10-23 18:06:40 +0200127config HAS_THUMB2
Tom Rinibca01962016-08-22 08:22:18 -0400128 bool
Albert ARIBAUDa3823222015-10-23 18:06:40 +0200129
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900130config GPIO_EXTRA_HEADER
131 bool
132
Phil Edworthy3b8f16a2017-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 Woernerba64b8b2019-05-03 09:40:59 -0400142config SYS_ICACHE_OFF
143 bool "Do not enable icache"
Trevor Woernerba64b8b2019-05-03 09:40:59 -0400144 help
145 Do not enable instruction cache in U-Boot.
146
Trevor Woerner43ec7e02019-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 Woernerba64b8b2019-05-03 09:40:59 -0400154config SYS_DCACHE_OFF
155 bool "Do not enable dcache"
Trevor Woernerba64b8b2019-05-03 09:40:59 -0400156 help
157 Do not enable data cache in U-Boot.
158
Trevor Woerner43ec7e02019-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 Vutla5a5bb6c2018-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 Vutlab2d00d62018-04-26 18:21:27 +0530172config SYS_ARM_MMU
173 bool "MMU-based Paged Memory Management Support"
Lokesh Vutla5a5bb6c2018-04-26 18:21:28 +0530174 select SYS_ARM_CACHE_CP15
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530175 help
176 Select if you want MMU-based virtualised addressing space
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500177 support via paged memory management.
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530178
Lokesh Vutla076ee452018-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 Rinibacb52c2017-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. Day3a8d4e12019-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 Rinibacb52c2017-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 Menon85515bf2018-06-12 15:24:08 -0500200# CONFIG_ARM_CORTEX_A8_CVE_2017_5715
Nishanth Menon6ffdeaa2018-06-12 15:24:09 -0500201# CONFIG_ARM_CORTEX_A15_CVE_2017_5715
Nishanth Menon85515bf2018-06-12 15:24:08 -0500202
Tom Rinibacb52c2017-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 Siamashkafe038a72017-03-06 03:16:53 +0200215config ARM_ERRATA_725233
216 bool
217
Tom Rinibacb52c2017-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 Fan5ac341f2017-08-08 13:34:52 +0800260config ARM_ERRATA_845369
Michal Simekf751ff52018-07-23 15:55:12 +0200261 bool
Peng Fan5ac341f2017-08-08 13:34:52 +0800262
Nisal Menukafaa993a2017-04-26 16:18:01 -0500263config ARM_ERRATA_852421
264 bool
265
266config ARM_ERRATA_852423
267 bool
268
Alison Wangc1293872017-12-28 13:00:55 +0800269config ARM_ERRATA_855873
270 bool
271
Nishanth Menon85515bf2018-06-12 15:24:08 -0500272config ARM_CORTEX_A8_CVE_2017_5715
273 bool
274
Nishanth Menon6ffdeaa2018-06-12 15:24:09 -0500275config ARM_CORTEX_A15_CVE_2017_5715
276 bool
277
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100278config CPU_ARM720T
Tom Rinibca01962016-08-22 08:22:18 -0400279 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400280 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530281 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100282
283config CPU_ARM920T
Tom Rinibca01962016-08-22 08:22:18 -0400284 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400285 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530286 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100287
288config CPU_ARM926EJS
Tom Rinibca01962016-08-22 08:22:18 -0400289 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400290 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530291 imply SYS_ARM_MMU
Sean Anderson13871e12022-04-12 10:59:04 -0400292 imply SPL_SEPARATE_BSS
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100293
294config CPU_ARM946ES
Tom Rinibca01962016-08-22 08:22:18 -0400295 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400296 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530297 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100298
299config CPU_ARM1136
Tom Rinibca01962016-08-22 08:22:18 -0400300 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400301 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530302 imply SYS_ARM_MMU
Sean Anderson13871e12022-04-12 10:59:04 -0400303 imply SPL_SEPARATE_BSS
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100304
305config CPU_ARM1176
Tom Rinibca01962016-08-22 08:22:18 -0400306 bool
307 select HAS_VBAR
Tom Rini84f9b612016-08-22 08:22:17 -0400308 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530309 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100310
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530311config CPU_V7A
Tom Rinibca01962016-08-22 08:22:18 -0400312 bool
Tom Rinibca01962016-08-22 08:22:18 -0400313 select HAS_THUMB2
Michal Simek84f3dec2018-07-23 15:55:13 +0200314 select HAS_VBAR
Tom Rini84f9b612016-08-22 08:22:17 -0400315 select SYS_CACHE_SHIFT_6
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530316 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100317
rev13@wp.plb3b57e82015-03-01 12:44:39 +0100318config CPU_V7M
319 bool
Tom Rinibca01962016-08-22 08:22:18 -0400320 select HAS_THUMB2
Lokesh Vutla076ee452018-04-26 18:21:30 +0530321 select SYS_ARM_MPU
Michal Simek84f3dec2018-07-23 15:55:13 +0200322 select SYS_CACHE_SHIFT_5
Tom Rini19bdef62018-05-07 20:46:52 -0400323 select SYS_THUMB_BUILD
Michal Simek84f3dec2018-07-23 15:55:13 +0200324 select THUMB2_KERNEL
rev13@wp.plb3b57e82015-03-01 12:44:39 +0100325
Michal Simekf4359382018-04-26 18:21:29 +0530326config CPU_V7R
327 bool
328 select HAS_THUMB2
Lokesh Vutla076ee452018-04-26 18:21:30 +0530329 select SYS_ARM_CACHE_CP15
Michal Simek84f3dec2018-07-23 15:55:13 +0200330 select SYS_ARM_MPU
331 select SYS_CACHE_SHIFT_6
Michal Simekf4359382018-04-26 18:21:29 +0530332
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100333config CPU_PXA
Tom Rinibca01962016-08-22 08:22:18 -0400334 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400335 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530336 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100337
Tom Rini72f2c142021-12-17 18:08:40 -0500338config CPU_PXA27X
339 bool
340 select CPU_PXA
341
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100342config CPU_SA1100
Tom Rinibca01962016-08-22 08:22:18 -0400343 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400344 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530345 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100346
347config SYS_CPU
Tom Rinibca01962016-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 Vutla81b1a672018-04-26 18:21:26 +0530354 default "armv7" if CPU_V7A
Michal Simekf4359382018-04-26 18:21:29 +0530355 default "armv7" if CPU_V7R
Tom Rinibca01962016-08-22 08:22:18 -0400356 default "armv7m" if CPU_V7M
357 default "pxa" if CPU_PXA
358 default "sa1100" if CPU_SA1100
Masahiro Yamadadade3b02014-11-06 11:39:27 +0900359 default "armv8" if ARM64
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100360
Marek Vasutb06c9542016-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 Vutla81b1a672018-04-26 18:21:26 +0530369 default 7 if CPU_V7A
Marek Vasutb06c9542016-05-26 18:01:36 +0200370 default 7 if CPU_V7M
Michal Simekf4359382018-04-26 18:21:29 +0530371 default 7 if CPU_V7R
Marek Vasutb06c9542016-05-26 18:01:36 +0200372 default 5 if CPU_PXA
373 default 4 if CPU_SA1100
374 default 8 if ARM64
375
Patrick Delaunayafc69a92020-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 Rini99972932021-02-20 20:05:57 -0500379 CPU_PXA || RZA1
Patrick Delaunayafc69a92020-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
Adam Fordd36b1022019-08-14 08:29:25 -0500404config ARCH_CPU_INIT
405 bool "Enable ARCH_CPU_INIT"
406 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500407 Some architectures require a call to arch_cpu_init().
Adam Fordd36b1022019-08-14 08:29:25 -0500408 Say Y here to enable it
409
Andre Przywara7b169252018-04-12 04:24:46 +0300410config SYS_ARCH_TIMER
411 bool "ARM Generic Timer support"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530412 depends on CPU_V7A || ARM64
Andre Przywara7b169252018-04-12 04:24:46 +0300413 default y if ARM64
414 help
415 The ARM Generic Timer (aka arch-timer) provides an architected
416 interface to a timer source on an SoC.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500417 It is mandatory for ARMv8 implementation and widely available
Andre Przywara7b169252018-04-12 04:24:46 +0300418 on ARMv7 systems.
419
Masahiro Yamadae8ead732017-04-14 11:10:23 +0900420config ARM_SMCCC
421 bool "Support for ARM SMC Calling Convention (SMCCC)"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530422 depends on CPU_V7A || ARM64
Masahiro Yamada836c55d2017-04-14 11:10:24 +0900423 select ARM_PSCI_FW
Masahiro Yamadae8ead732017-04-14 11:10:23 +0900424 help
425 Say Y here if you want to enable ARM SMC Calling Convention.
426 This should be enabled if U-Boot needs to communicate with system
427 firmware (for example, PSCI) according to SMCCC.
428
Linus Walleij800d6fd2015-01-23 11:50:53 +0100429config SEMIHOSTING
Sean Anderson89346ad2022-03-22 16:59:19 -0400430 bool "Support ARM semihosting"
431 help
432 Semihosting is a method for a target to communicate with a host
433 debugger. It uses special instructions which the debugger will trap
434 on and interpret. This allows U-Boot to read/write files, print to
435 the console, and execute arbitrary commands on the host system.
436
437 Enabling this option will add support for reading and writing files
438 on the host system. If you don't have a debugger attached then trying
439 to do this will likely cause U-Boot to hang. Say 'n' if you are unsure.
440
Sean Anderson52cf0f02022-03-22 16:59:30 -0400441config SEMIHOSTING_FALLBACK
442 bool "Recover gracefully when semihosting fails"
443 depends on SEMIHOSTING && ARM64
444 default y
445 help
446 Normally, if U-Boot makes a semihosting call and no debugger is
447 attached, then it will panic due to a synchronous abort
448 exception. This config adds an exception handler which will allow
449 U-Boot to recover. Say 'y' if unsure.
450
Sean Anderson89346ad2022-03-22 16:59:19 -0400451config SPL_SEMIHOSTING
452 bool "Support ARM semihosting in SPL"
453 depends on SPL
Linus Walleij800d6fd2015-01-23 11:50:53 +0100454 help
Sean Anderson89346ad2022-03-22 16:59:19 -0400455 Semihosting is a method for a target to communicate with a host
456 debugger. It uses special instructions which the debugger will trap
457 on and interpret. This allows U-Boot to read/write files, print to
458 the console, and execute arbitrary commands on the host system.
459
460 Enabling this option will add support for reading and writing files
461 on the host system. If you don't have a debugger attached then trying
462 to do this will likely cause U-Boot to hang. Say 'n' if you are unsure.
Linus Walleij800d6fd2015-01-23 11:50:53 +0100463
Sean Anderson52cf0f02022-03-22 16:59:30 -0400464config SPL_SEMIHOSTING_FALLBACK
465 bool "Recover gracefully when semihosting fails in SPL"
466 depends on SPL_SEMIHOSTING && ARM64
467 select ARMV8_SPL_EXCEPTION_VECTORS
468 default y
469 help
470 Normally, if U-Boot makes a semihosting call and no debugger is
471 attached, then it will panic due to a synchronous abort
472 exception. This config adds an exception handler which will allow
473 U-Boot to recover. Say 'y' if unsure.
474
Tom Rini1c640a62017-03-18 09:01:44 -0400475config SYS_THUMB_BUILD
476 bool "Build U-Boot using the Thumb instruction set"
477 depends on !ARM64
478 help
479 Use this flag to build U-Boot using the Thumb instruction set for
480 ARM architectures. Thumb instruction set provides better code
481 density. For ARM architectures that support Thumb2 this flag will
482 result in Thumb2 code generated by GCC.
483
484config SPL_SYS_THUMB_BUILD
485 bool "Build SPL using the Thumb instruction set"
486 default y if SYS_THUMB_BUILD
Adam Ford43a1e2d2019-08-13 14:32:30 -0500487 depends on !ARM64 && SPL
Tom Rini1c640a62017-03-18 09:01:44 -0400488 help
489 Use this flag to build SPL using the Thumb instruction set for
490 ARM architectures. Thumb instruction set provides better code
491 density. For ARM architectures that support Thumb2 this flag will
492 result in Thumb2 code generated by GCC.
493
Kever Yang55688602019-04-02 20:41:20 +0800494config TPL_SYS_THUMB_BUILD
495 bool "Build TPL using the Thumb instruction set"
496 default y if SYS_THUMB_BUILD
497 depends on TPL && !ARM64
498 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500499 Use this flag to build TPL using the Thumb instruction set for
Kever Yang55688602019-04-02 20:41:20 +0800500 ARM architectures. Thumb instruction set provides better code
501 density. For ARM architectures that support Thumb2 this flag will
502 result in Thumb2 code generated by GCC.
503
504
Peng Fan10ddab42015-08-19 15:48:57 +0800505config SYS_L2CACHE_OFF
506 bool "L2cache off"
507 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500508 If SoC does not support L2CACHE or one does not want to enable
Peng Fan10ddab42015-08-19 15:48:57 +0800509 L2CACHE, choose this option.
510
Andre Przywara48321ba2016-05-31 10:45:06 -0700511config ENABLE_ARM_SOC_BOOT0_HOOK
512 bool "prepare BOOT0 header"
513 help
514 If the SoC's BOOT0 requires a header area filled with (magic)
Simon Goldschmidt387218a2018-02-13 13:18:00 +0100515 values, then choose this option, and create a file included as
516 <asm/arch/boot0.h> which contains the required assembler code.
Andre Przywara48321ba2016-05-31 10:45:06 -0700517
Fabio Estevam988f5052016-12-15 19:30:40 -0200518config USE_ARCH_MEMCPY
519 bool "Use an assembly optimized implementation of memcpy"
Stefan Roese330807f2021-09-02 17:00:19 +0200520 default y if !ARM64
521 depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
Fabio Estevam988f5052016-12-15 19:30:40 -0200522 help
523 Enable the generation of an optimized version of memcpy.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500524 Such an implementation may be faster under some conditions
Fabio Estevam988f5052016-12-15 19:30:40 -0200525 but may increase the binary size.
526
Tom Rini443b5162017-01-12 13:16:02 -0500527config SPL_USE_ARCH_MEMCPY
Andy Yan524f3ce2017-06-28 16:27:37 +0800528 bool "Use an assembly optimized implementation of memcpy for SPL"
Tom Rini443b5162017-01-12 13:16:02 -0500529 default y if USE_ARCH_MEMCPY
Stefan Roese330807f2021-09-02 17:00:19 +0200530 depends on SPL
Tom Rini443b5162017-01-12 13:16:02 -0500531 help
532 Enable the generation of an optimized version of memcpy.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500533 Such an implementation may be faster under some conditions
Tom Rini443b5162017-01-12 13:16:02 -0500534 but may increase the binary size.
535
Kever Yang55688602019-04-02 20:41:20 +0800536config TPL_USE_ARCH_MEMCPY
537 bool "Use an assembly optimized implementation of memcpy for TPL"
538 default y if USE_ARCH_MEMCPY
Stefan Roese330807f2021-09-02 17:00:19 +0200539 depends on TPL
Kever Yang55688602019-04-02 20:41:20 +0800540 help
541 Enable the generation of an optimized version of memcpy.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500542 Such an implementation may be faster under some conditions
Kever Yang55688602019-04-02 20:41:20 +0800543 but may increase the binary size.
544
Stefan Roese330807f2021-09-02 17:00:19 +0200545config USE_ARCH_MEMMOVE
546 bool "Use an assembly optimized implementation of memmove" if !ARM64
547 default USE_ARCH_MEMCPY if ARM64
548 depends on ARM64
549 help
550 Enable the generation of an optimized version of memmove.
551 Such an implementation may be faster under some conditions
552 but may increase the binary size.
553
554config SPL_USE_ARCH_MEMMOVE
555 bool "Use an assembly optimized implementation of memmove for SPL" if !ARM64
556 default SPL_USE_ARCH_MEMCPY if ARM64
557 depends on SPL && ARM64
558 help
559 Enable the generation of an optimized version of memmove.
560 Such an implementation may be faster under some conditions
561 but may increase the binary size.
562
563config TPL_USE_ARCH_MEMMOVE
564 bool "Use an assembly optimized implementation of memmove for TPL" if !ARM64
565 default TPL_USE_ARCH_MEMCPY if ARM64
566 depends on TPL && ARM64
567 help
568 Enable the generation of an optimized version of memmove.
569 Such an implementation may be faster under some conditions
570 but may increase the binary size.
571
Fabio Estevam988f5052016-12-15 19:30:40 -0200572config USE_ARCH_MEMSET
573 bool "Use an assembly optimized implementation of memset"
Stefan Roese330807f2021-09-02 17:00:19 +0200574 default y if !ARM64
575 depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
Tom Rini443b5162017-01-12 13:16:02 -0500576 help
577 Enable the generation of an optimized version of memset.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500578 Such an implementation may be faster under some conditions
Tom Rini443b5162017-01-12 13:16:02 -0500579 but may increase the binary size.
580
581config SPL_USE_ARCH_MEMSET
Andy Yan524f3ce2017-06-28 16:27:37 +0800582 bool "Use an assembly optimized implementation of memset for SPL"
Tom Rini443b5162017-01-12 13:16:02 -0500583 default y if USE_ARCH_MEMSET
Stefan Roese330807f2021-09-02 17:00:19 +0200584 depends on SPL
Fabio Estevam988f5052016-12-15 19:30:40 -0200585 help
586 Enable the generation of an optimized version of memset.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500587 Such an implementation may be faster under some conditions
Fabio Estevam988f5052016-12-15 19:30:40 -0200588 but may increase the binary size.
589
Kever Yang55688602019-04-02 20:41:20 +0800590config TPL_USE_ARCH_MEMSET
591 bool "Use an assembly optimized implementation of memset for TPL"
592 default y if USE_ARCH_MEMSET
Stefan Roese330807f2021-09-02 17:00:19 +0200593 depends on TPL
Kever Yang55688602019-04-02 20:41:20 +0800594 help
595 Enable the generation of an optimized version of memset.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500596 Such an implementation may be faster under some conditions
Kever Yang55688602019-04-02 20:41:20 +0800597 but may increase the binary size.
598
Alison Wang73818d52016-11-10 10:49:03 +0800599config ARM64_SUPPORT_AARCH32
600 bool "ARM64 system support AArch32 execution state"
Adam Ford43a1e2d2019-08-13 14:32:30 -0500601 depends on ARM64
602 default y if !TARGET_THUNDERX_88XX
Alison Wang73818d52016-11-10 10:49:03 +0800603 help
604 This ARM64 system supports AArch32 execution state.
605
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900606choice
607 prompt "Target select"
Simon Glassdfd904a2015-08-30 19:19:30 -0600608 default TARGET_HIKEY
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900609
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900610config ARCH_AT91
611 bool "Atmel AT91"
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900612 select GPIO_EXTRA_HEADER
Tom Rini4a2b61b2018-05-10 07:15:52 -0400613 select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
Gregory CLEMENT21cbec72020-06-05 10:43:36 +0200614 select SPL_SEPARATE_BSS if SPL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900615
Masahiro Yamadae604ef92014-08-31 07:11:01 +0900616config ARCH_DAVINCI
617 bool "TI DaVinci"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100618 select CPU_ARM926EJS
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900619 select GPIO_EXTRA_HEADER
Lukasz Majewski76f442982020-06-04 23:11:53 +0800620 select SPL_DM_SPI if SPL
Simon Glassd09f3772017-08-04 16:34:43 -0600621 imply CMD_SAVES
Masahiro Yamadae604ef92014-08-31 07:11:01 +0900622 help
623 Support for TI's DaVinci platform.
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900624
Trevor Woernerbb7ab072020-05-06 08:02:40 -0400625config ARCH_KIRKWOOD
Masahiro Yamadad7570852014-08-31 07:10:59 +0900626 bool "Marvell Kirkwood"
Simon Glass95d31412017-01-23 13:31:21 -0700627 select ARCH_MISC_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200628 select BOARD_EARLY_INIT_F
629 select CPU_ARM926EJS
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900630 select GPIO_EXTRA_HEADER
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900631
Stefan Roese383e0c12015-08-25 13:18:38 +0200632config ARCH_MVEBU
Stefan Roesecb410332016-05-25 08:13:45 +0200633 bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
Stefan Roese096de4f2015-09-01 11:27:52 +0200634 select DM
Stefan Roese05b38c12015-11-19 07:46:15 +0100635 select DM_ETH
Stefan Roese7f9f8e32015-09-02 08:41:41 +0200636 select DM_SERIAL
Stefan Roese49e7d772015-11-20 13:51:57 +0100637 select DM_SPI
638 select DM_SPI_FLASH
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900639 select GPIO_EXTRA_HEADER
Lukasz Majewski76f442982020-06-04 23:11:53 +0800640 select SPL_DM_SPI if SPL
641 select SPL_DM_SPI_FLASH if SPL
Michal Simek84f3dec2018-07-23 15:55:13 +0200642 select OF_CONTROL
643 select OF_SEPARATE
Adam Ford4e96ff82018-04-15 13:51:26 -0400644 select SPI
Michal Simek2e7c8192018-07-23 15:55:14 +0200645 imply CMD_DM
Stefan Roese9b1e2312014-10-22 12:13:19 +0200646
Trevor Woernerf9953752020-05-06 08:02:38 -0400647config ARCH_ORION5X
Masahiro Yamada04ffbc12014-08-31 07:11:06 +0900648 bool "Marvell Orion"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100649 select CPU_ARM926EJS
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900650 select GPIO_EXTRA_HEADER
Sean Anderson13871e12022-04-12 10:59:04 -0400651 select SPL_SEPARATE_BSS if SPL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900652
Vikas Manocha33913c52014-11-18 10:42:22 -0800653config TARGET_STV0991
654 bool "Support stv0991"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530655 select CPU_V7A
Masahiro Yamada0906a822015-03-31 12:48:01 +0900656 select DM
657 select DM_SERIAL
Vikas Manocha8cc062f2015-07-02 18:29:41 -0700658 select DM_SPI
659 select DM_SPI_FLASH
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900660 select GPIO_EXTRA_HEADER
Michal Simek84f3dec2018-07-23 15:55:13 +0200661 select PL01X_SERIAL
Adam Ford4e96ff82018-04-15 13:51:26 -0400662 select SPI
Vikas Manocha8cc062f2015-07-02 18:29:41 -0700663 select SPI_FLASH
Michal Simek2e7c8192018-07-23 15:55:14 +0200664 imply CMD_DM
Vikas Manocha33913c52014-11-18 10:42:22 -0800665
Masahiro Yamadaed22cc72015-03-19 19:42:56 +0900666config ARCH_BCM283X
667 bool "Broadcom BCM283X family"
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900668 select DM
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900669 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +0200670 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900671 select GPIO_EXTRA_HEADER
Fabian Vogtf9e3ed52016-09-26 14:26:51 +0200672 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +0100673 select PL01X_SERIAL
Alexander Grafc8bda542018-01-29 13:57:20 +0100674 select SERIAL_SEARCH_ALL
Michal Simek2e7c8192018-07-23 15:55:14 +0200675 imply CMD_DM
Tom Rinid8532af2017-06-02 11:03:50 -0400676 imply FAT_WRITE
Stephen Warrendc7ea682015-02-16 12:16:15 -0700677
Philippe Reynes312a3f92019-01-31 18:57:35 +0100678config ARCH_BCM63158
679 bool "Broadcom BCM63158 family"
680 select DM
681 select OF_CONTROL
682 imply CMD_DM
683
Philippe Reynes1a899622022-02-11 19:18:34 +0100684config ARCH_BCM6753
685 bool "Broadcom BCM6753 family"
686 select CPU_V7A
687 select DM
688 select OF_CONTROL
689 imply CMD_DM
690
Philippe Reynesdfeb2c02020-01-07 20:14:10 +0100691config ARCH_BCM68360
692 bool "Broadcom BCM68360 family"
693 select DM
694 select OF_CONTROL
695 imply CMD_DM
696
Philippe Reynes697f15e2018-10-11 18:31:58 +0200697config ARCH_BCM6858
698 bool "Broadcom BCM6858 family"
699 select DM
700 select OF_CONTROL
701 imply CMD_DM
702
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -0400703config ARCH_BCMSTB
704 bool "Broadcom BCM7XXX family"
705 select CPU_V7A
706 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900707 select GPIO_EXTRA_HEADER
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -0400708 select OF_CONTROL
Michal Simek2e7c8192018-07-23 15:55:14 +0200709 imply CMD_DM
Simon Glass94886db2021-12-16 20:59:36 -0700710 imply OF_HAS_PRIOR_STAGE
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -0400711 help
712 This enables support for Broadcom ARM-based set-top box
713 chipsets, including the 7445 family of chips.
714
Kristian Amlie8f8a2992021-09-07 08:37:51 +0200715config TARGET_VEXPRESS_CA9X4
716 bool "Support vexpress_ca9x4"
717 select CPU_V7A
718 select PL011_SERIAL
719
Steve Rae1c5f31c2014-11-11 11:32:18 -0800720config TARGET_BCMCYGNUS
721 bool "Support bcmcygnus"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530722 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900723 select GPIO_EXTRA_HEADER
Michal Simek84f3dec2018-07-23 15:55:13 +0200724 imply BCM_SF2_ETH
725 imply BCM_SF2_ETH_GMAC
Simon Glass027608e2017-05-17 03:25:25 -0600726 imply CMD_HASH
Michal Simek84f3dec2018-07-23 15:55:13 +0200727 imply CRC32_VERIFY
Tom Rinid8532af2017-06-02 11:03:50 -0400728 imply FAT_WRITE
Daniel Thompsona9e2c672017-05-19 17:26:58 +0100729 imply HASH_VERIFY
Suji Velupillaid2f677a2017-07-10 14:05:41 -0700730 imply NETDEVICES
Steve Rae729da8b2014-08-11 13:58:26 -0700731
Jon Masond59b5862017-03-17 12:12:14 -0400732config TARGET_BCMNS2
733 bool "Support Broadcom Northstar2"
734 select ARM64
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900735 select GPIO_EXTRA_HEADER
Jon Masond59b5862017-03-17 12:12:14 -0400736 help
737 Support for Broadcom Northstar 2 SoCs. NS2 is a quad-core 64-bit
738 ARMv8 Cortex-A57 processors targeting a broad range of networking
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500739 applications.
Jon Masond59b5862017-03-17 12:12:14 -0400740
Rayagonda Kokatanur1d8fa362020-07-15 22:48:55 +0530741config TARGET_BCMNS3
742 bool "Support Broadcom NS3"
743 select ARM64
744 select BOARD_LATE_INIT
745 help
746 Support for Broadcom Northstar 3 SoCs. NS3 is a octo-core 64-bit
747 ARMv8 Cortex-A72 processors targeting a broad range of networking
748 applications.
749
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900750config ARCH_EXYNOS
751 bool "Samsung EXYNOS"
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900752 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +0200753 select DM_GPIO
Simon Glass7bbb7d92016-11-23 06:34:40 -0700754 select DM_I2C
Simon Glass881c8862021-07-18 19:02:40 -0600755 select DM_ETH
Michal Simek84f3dec2018-07-23 15:55:13 +0200756 select DM_KEYBOARD
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900757 select DM_SERIAL
758 select DM_SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200759 select DM_SPI_FLASH
Adam Ford4e96ff82018-04-15 13:51:26 -0400760 select SPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900761 select GPIO_EXTRA_HEADER
Guillaume GARDETf5357322018-11-20 14:15:13 +0100762 imply SYS_THUMB_BUILD
Michal Simek2e7c8192018-07-23 15:55:14 +0200763 imply CMD_DM
Tom Rinid8532af2017-06-02 11:03:50 -0400764 imply FAT_WRITE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900765
Simon Glass96aa0722014-10-07 22:01:50 -0600766config ARCH_S5PC1XX
767 bool "Samsung S5PC1XX"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530768 select CPU_V7A
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900769 select DM
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900770 select DM_GPIO
Simon Glassc6aa9702016-11-23 06:34:41 -0700771 select DM_I2C
Michal Simek84f3dec2018-07-23 15:55:13 +0200772 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900773 select GPIO_EXTRA_HEADER
Michal Simek2e7c8192018-07-23 15:55:14 +0200774 imply CMD_DM
Simon Glass96aa0722014-10-07 22:01:50 -0600775
Masahiro Yamada52ece9c2014-08-31 07:11:07 +0900776config ARCH_HIGHBANK
777 bool "Calxeda Highbank"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530778 select CPU_V7A
Andre Przywara8d1069f2021-04-12 01:04:51 +0100779 select PL01X_SERIAL
780 select DM
781 select DM_SERIAL
782 select OF_CONTROL
Andre Przywara8d1069f2021-04-12 01:04:51 +0100783 select CLK
784 select CLK_CCF
785 select AHCI
Andre Przywara7352fb92021-04-12 01:04:52 +0100786 select DM_ETH
Andre Przywara126d9a62021-04-12 01:04:54 +0100787 select PHYS_64BIT
Simon Glass94886db2021-12-16 20:59:36 -0700788 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900789
Masahiro Yamadacad44162015-04-21 21:59:36 +0900790config ARCH_INTEGRATOR
791 bool "ARM Ltd. Integrator family"
Linus Walleij616d9a02015-07-27 11:22:48 +0200792 select DM
793 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900794 select GPIO_EXTRA_HEADER
Alexander Graf633ef892018-01-25 12:05:52 +0100795 select PL01X_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +0200796 imply CMD_DM
Masahiro Yamadacad44162015-04-21 21:59:36 +0900797
Robert Markoe7a34f12020-07-06 10:37:54 +0200798config ARCH_IPQ40XX
799 bool "Qualcomm IPQ40xx SoCs"
800 select CPU_V7A
801 select DM
802 select DM_GPIO
803 select DM_SERIAL
Robert Marko42c5ee82020-09-10 16:00:03 +0200804 select DM_RESET
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900805 select GPIO_EXTRA_HEADER
Robert Marko0b7d9502020-09-10 16:00:01 +0200806 select MSM_SMEM
Robert Markoe7a34f12020-07-06 10:37:54 +0200807 select PINCTRL
808 select CLK
Robert Marko0b7d9502020-09-10 16:00:01 +0200809 select SMEM
Robert Markoe7a34f12020-07-06 10:37:54 +0200810 select OF_CONTROL
811 imply CMD_DM
812
Masahiro Yamada32013fb2014-08-31 07:11:05 +0900813config ARCH_KEYSTONE
814 bool "TI Keystone"
Michal Simek84f3dec2018-07-23 15:55:13 +0200815 select CMD_POWEROFF
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530816 select CPU_V7A
Tom Rinife2cea62021-08-21 13:50:16 -0400817 select DDR_SPD
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900818 select GPIO_EXTRA_HEADER
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900819 select SUPPORT_SPL
Andre Przywara7b169252018-04-12 04:24:46 +0300820 select SYS_ARCH_TIMER
Michal Simek84f3dec2018-07-23 15:55:13 +0200821 select SYS_THUMB_BUILD
Tom Rinic20bb732017-07-22 18:36:16 -0400822 imply CMD_MTDPARTS
Simon Glassd09f3772017-08-04 16:34:43 -0600823 imply CMD_SAVES
Michal Simek84f3dec2018-07-23 15:55:13 +0200824 imply FIT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900825
Lokesh Vutla9bdec002018-08-27 15:57:08 +0530826config ARCH_K3
827 bool "Texas Instruments' K3 Architecture"
828 select SPL
829 select SUPPORT_SPL
830 select FIT
831
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900832config ARCH_OMAP2PLUS
833 bool "TI OMAP2+"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530834 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900835 select GPIO_EXTRA_HEADER
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +0800836 select SPL_BOARD_INIT if SPL
Tom Rinic37e0cf2017-09-17 11:44:49 -0400837 select SPL_STACK_R if SPL
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900838 select SUPPORT_SPL
Dario Binacchid1cb3f62020-12-30 00:06:29 +0100839 imply TI_SYSC if DM && OF_CONTROL
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900840 imply FIT
Simon Glassfc557362022-03-04 08:43:05 -0700841 imply DM_EVENT
Sean Anderson13871e12022-04-12 10:59:04 -0400842 imply SPL_SEPARATE_BSS
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900843
Beniamino Galvanid1037e42016-05-08 08:30:16 +0200844config ARCH_MESON
845 bool "Amlogic Meson"
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900846 select GPIO_EXTRA_HEADER
Masahiro Yamada9afc6c52018-04-25 18:47:52 +0900847 imply DISTRO_DEFAULTS
Heinrich Schuchardt966caaf2020-04-05 12:20:23 +0200848 imply DM_RNG
Beniamino Galvanid1037e42016-05-08 08:30:16 +0200849 help
850 Support for the Meson SoC family developed by Amlogic Inc.,
851 targeted at media players and tablet computers. We currently
852 support the S905 (GXBaby) 64-bit SoC.
853
developerf4a079c2018-11-15 10:07:52 +0800854config ARCH_MEDIATEK
855 bool "MediaTek SoCs"
developerf4a079c2018-11-15 10:07:52 +0800856 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900857 select GPIO_EXTRA_HEADER
developerf4a079c2018-11-15 10:07:52 +0800858 select OF_CONTROL
859 select SPL_DM if SPL
860 select SPL_LIBCOMMON_SUPPORT if SPL
861 select SPL_LIBGENERIC_SUPPORT if SPL
862 select SPL_OF_CONTROL if SPL
863 select SUPPORT_SPL
864 help
865 Support for the MediaTek SoCs family developed by MediaTek Inc.
866 Please refer to doc/README.mediatek for more information.
867
Vladimir Zapolskiy31d0e962018-09-17 21:43:03 +0300868config ARCH_LPC32XX
869 bool "NXP LPC32xx platform"
870 select CPU_ARM926EJS
871 select DM
872 select DM_GPIO
873 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900874 select GPIO_EXTRA_HEADER
Vladimir Zapolskiy31d0e962018-09-17 21:43:03 +0300875 select SPL_DM if SPL
876 select SUPPORT_SPL
877 imply CMD_DM
878
Peng Fan6bae1c72018-10-18 14:28:08 +0200879config ARCH_IMX8
880 bool "NXP i.MX8 platform"
881 select ARM64
Gaurav Jaindb4dd6a2022-03-24 11:50:33 +0530882 select SYS_FSL_HAS_SEC
883 select SYS_FSL_SEC_COMPAT_4
884 select SYS_FSL_SEC_LE
Peng Fan6bae1c72018-10-18 14:28:08 +0200885 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900886 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400887 select MACH_IMX
Peng Fan6bae1c72018-10-18 14:28:08 +0200888 select OF_CONTROL
Ye Li97b41652019-07-12 09:33:52 +0000889 select ENABLE_ARM_SOC_BOOT0_HOOK
Simon Glassfc557362022-03-04 08:43:05 -0700890 imply DM_EVENT
Peng Fan6bae1c72018-10-18 14:28:08 +0200891
Peng Fan39945c12018-11-20 10:19:25 +0000892config ARCH_IMX8M
Peng Fan66294882018-01-10 13:20:19 +0800893 bool "NXP i.MX8M platform"
894 select ARM64
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900895 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400896 select MACH_IMX
Gaurav Jain81113a02022-03-24 11:50:27 +0530897 select SYS_FSL_HAS_SEC
Aymen Sghaier4da25692021-03-25 17:30:25 +0800898 select SYS_FSL_SEC_COMPAT_4
899 select SYS_FSL_SEC_LE
Tom Rini1a195882021-08-18 23:12:33 -0400900 select SYS_I2C_MXC
Peng Fan66294882018-01-10 13:20:19 +0800901 select DM
902 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200903 imply CMD_DM
Simon Glassfc557362022-03-04 08:43:05 -0700904 imply DM_EVENT
Peng Fan66294882018-01-10 13:20:19 +0800905
Peng Fan570dc4f2021-08-07 16:00:30 +0800906config ARCH_IMX8ULP
907 bool "NXP i.MX8ULP platform"
908 select ARM64
909 select DM
Tom Rini8086a822021-08-24 20:40:59 -0400910 select MACH_IMX
Peng Fan570dc4f2021-08-07 16:00:30 +0800911 select OF_CONTROL
912 select SUPPORT_SPL
913 select GPIO_EXTRA_HEADER
914 imply CMD_DM
Simon Glassfc557362022-03-04 08:43:05 -0700915 imply DM_EVENT
Peng Fan570dc4f2021-08-07 16:00:30 +0800916
Giulio Benetti9dba2622020-01-10 15:51:47 +0100917config ARCH_IMXRT
918 bool "NXP i.MXRT platform"
919 select CPU_V7M
920 select DM
921 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900922 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400923 select MACH_IMX
Giulio Benetti9dba2622020-01-10 15:51:47 +0100924 select SUPPORT_SPL
925 imply CMD_DM
926
Stefan Agner081ea1f2018-02-06 09:44:34 +0100927config ARCH_MX23
928 bool "NXP i.MX23 family"
929 select CPU_ARM926EJS
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900930 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400931 select MACH_IMX
Stefan Agner081ea1f2018-02-06 09:44:34 +0100932 select PL011_SERIAL
933 select SUPPORT_SPL
934
Stefan Agner663a3232018-02-06 09:44:35 +0100935config ARCH_MX28
936 bool "NXP i.MX28 family"
937 select CPU_ARM926EJS
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900938 select GPIO_EXTRA_HEADER
Stefan Agner663a3232018-02-06 09:44:35 +0100939 select PL011_SERIAL
Tom Rini8086a822021-08-24 20:40:59 -0400940 select MACH_IMX
Stefan Agner663a3232018-02-06 09:44:35 +0100941 select SUPPORT_SPL
942
Magnus Liljac74f70f2018-05-11 14:06:54 +0200943config ARCH_MX31
944 bool "NXP i.MX31 family"
945 select CPU_ARM1136
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900946 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400947 select MACH_IMX
Magnus Liljac74f70f2018-05-11 14:06:54 +0200948
Peng Fan2c7b1702017-02-22 16:21:39 +0800949config ARCH_MX7ULP
Michal Simekf751ff52018-07-23 15:55:12 +0200950 bool "NXP MX7ULP"
Tom Rinid02971e2022-02-25 11:19:47 -0500951 select BOARD_POSTCLK_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530952 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900953 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400954 select MACH_IMX
Gaurav Jain714e7e32022-03-24 11:50:31 +0530955 select SYS_FSL_HAS_SEC
Franck LENORMAND4fde0a12021-03-25 17:30:23 +0800956 select SYS_FSL_SEC_COMPAT_4
957 select SYS_FSL_SEC_LE
Peng Fan2c7b1702017-02-22 16:21:39 +0800958 select ROM_UNIFIED_SECTIONS
Adam Fordb413c452018-02-04 09:32:43 -0600959 imply MXC_GPIO
Tom Rini4f834a42019-12-03 09:28:03 -0500960 imply SYS_THUMB_BUILD
Peng Fan2c7b1702017-02-22 16:21:39 +0800961
Adrian Alonso98810772015-09-03 11:49:28 -0500962config ARCH_MX7
963 bool "Freescale MX7"
Michal Simek84f3dec2018-07-23 15:55:13 +0200964 select ARCH_MISC_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530965 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900966 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400967 select MACH_IMX
Gaurav Jaine389ac92022-03-24 11:50:30 +0530968 select SYS_FSL_HAS_SEC
York Sun92c36e22016-12-28 08:43:30 -0800969 select SYS_FSL_SEC_COMPAT_4
York Sunfa4199422016-12-28 08:43:31 -0800970 select SYS_FSL_SEC_LE
Marek Vasut42b24b42020-05-22 01:13:00 +0200971 imply BOARD_EARLY_INIT_F
Adam Fordb413c452018-02-04 09:32:43 -0600972 imply MXC_GPIO
Tom Rini4f834a42019-12-03 09:28:03 -0500973 imply SYS_THUMB_BUILD
Adrian Alonso98810772015-09-03 11:49:28 -0500974
Boris BREZILLON51e82662015-03-04 13:13:03 +0100975config ARCH_MX6
976 bool "Freescale MX6"
Tom Rinid02971e2022-02-25 11:19:47 -0500977 select BOARD_POSTCLK_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530978 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900979 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400980 select MACH_IMX
Heinrich Schuchardtcdd0c852020-06-26 19:57:55 +0200981 select SYS_FSL_HAS_SEC
York Sun92c36e22016-12-28 08:43:30 -0800982 select SYS_FSL_SEC_COMPAT_4
York Sunfa4199422016-12-28 08:43:31 -0800983 select SYS_FSL_SEC_LE
Adam Fordb413c452018-02-04 09:32:43 -0600984 imply MXC_GPIO
Tom Rini4f834a42019-12-03 09:28:03 -0500985 imply SYS_THUMB_BUILD
Sean Anderson13871e12022-04-12 10:59:04 -0400986 imply SPL_SEPARATE_BSS
Boris BREZILLON51e82662015-03-04 13:13:03 +0100987
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200988if ARCH_MX6
989config SPL_LDSCRIPT
Michal Simekf751ff52018-07-23 15:55:12 +0200990 default "arch/arm/mach-omap2/u-boot-spl.lds"
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200991endif
992
Andrej Rosano1ac4bca2015-04-08 18:56:29 +0200993config ARCH_MX5
994 bool "Freescale MX5"
Simon Glass7a99a872017-01-23 13:31:20 -0700995 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200996 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900997 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400998 select MACH_IMX
Adam Fordb413c452018-02-04 09:32:43 -0600999 imply MXC_GPIO
Andrej Rosano1ac4bca2015-04-08 18:56:29 +02001000
Stefan Bosch6563ea22020-07-10 19:07:26 +02001001config ARCH_NEXELL
1002 bool "Nexell S5P4418/S5P6818 SoC"
1003 select ENABLE_ARM_SOC_BOOT0_HOOK
1004 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001005 select GPIO_EXTRA_HEADER
Stefan Bosch6563ea22020-07-10 19:07:26 +02001006
Jim Liu4359b332022-04-19 13:32:19 +08001007config ARCH_NPCM
1008 bool "Support Nuvoton SoCs"
1009 select DM
1010 select OF_CONTROL
1011 imply CMD_DM
1012
Mark Kettenis58d51272021-10-23 16:58:03 +02001013config ARCH_APPLE
1014 bool "Apple SoCs"
1015 select ARM64
1016 select BLK
Mark Kettenis835cb5d2021-10-23 16:58:04 +02001017 select CLK
Mark Kettenis58d51272021-10-23 16:58:03 +02001018 select CMD_USB
1019 select DM
Mark Kettenisc9329762021-11-02 18:21:57 +01001020 select DM_GPIO
Mark Kettenis58d51272021-10-23 16:58:03 +02001021 select DM_KEYBOARD
Mark Kettenisf3efb3b2022-01-22 20:38:12 +01001022 select DM_MAILBOX
Mark Kettenis9e8c4832022-01-22 20:38:17 +01001023 select DM_RESET
Mark Kettenis58d51272021-10-23 16:58:03 +02001024 select DM_SERIAL
Mark Kettenis0c3e9242022-01-23 16:48:12 +01001025 select DM_SPI
Mark Kettenis58d51272021-10-23 16:58:03 +02001026 select DM_USB
1027 select DM_VIDEO
Mark Kettenis357a2562021-10-23 16:58:05 +02001028 select IOMMU
Mark Kettenis58d51272021-10-23 16:58:03 +02001029 select LINUX_KERNEL_IMAGE_HEADER
Mark Kettenisdfacafb2022-04-19 21:20:31 +02001030 select OF_BOARD_SETUP
Mark Kettenis58d51272021-10-23 16:58:03 +02001031 select OF_CONTROL
Mark Kettenisc9329762021-11-02 18:21:57 +01001032 select PINCTRL
Mark Kettenis58d51272021-10-23 16:58:03 +02001033 select POSITION_INDEPENDENT
Mark Kettenis2fc94052022-01-10 20:58:44 +01001034 select POWER_DOMAIN
1035 select REGMAP
Mark Kettenis0c3e9242022-01-23 16:48:12 +01001036 select SPI
Mark Kettenis2fc94052022-01-10 20:58:44 +01001037 select SYSCON
Mark Kettenise19700f2022-01-12 19:55:17 +01001038 select SYSRESET
1039 select SYSRESET_WATCHDOG
1040 select SYSRESET_WATCHDOG_AUTO
Mark Kettenis58d51272021-10-23 16:58:03 +02001041 select USB
1042 imply CMD_DM
1043 imply CMD_GPT
1044 imply DISTRO_DEFAULTS
Simon Glass94886db2021-12-16 20:59:36 -07001045 imply OF_HAS_PRIOR_STAGE
Mark Kettenis58d51272021-10-23 16:58:03 +02001046
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05301047config ARCH_OWL
1048 bool "Actions Semi OWL SoCs"
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05301049 select DM
Amit Singh Tomareda30672020-05-09 19:55:14 +05301050 select DM_ETH
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05301051 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001052 select GPIO_EXTRA_HEADER
Amit Singh Tomarcae81932020-04-19 19:28:25 +05301053 select OWL_SERIAL
Amit Singh Tomar8821be42020-04-19 19:28:30 +05301054 select CLK
1055 select CLK_OWL
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05301056 select OF_CONTROL
Tom Rinia38d0ac2020-05-01 10:52:11 -04001057 select SYS_RELOC_GD_ENV_ADDR
Michal Simek2e7c8192018-07-23 15:55:14 +02001058 imply CMD_DM
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05301059
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +03001060config ARCH_QEMU
1061 bool "QEMU Virtual Platform"
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +03001062 select DM
1063 select DM_SERIAL
1064 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +01001065 select PL01X_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +02001066 imply CMD_DM
Heinrich Schuchardt2ebc22c2020-09-19 07:55:35 +02001067 imply DM_RNG
AKASHI Takahiro501cc842018-09-14 17:06:54 +09001068 imply DM_RTC
1069 imply RTC_PL031
Simon Glass94886db2021-12-16 20:59:36 -07001070 imply OF_HAS_PRIOR_STAGE
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +03001071
Nobuhiro Iwamatsu7c112732015-10-10 05:58:28 +09001072config ARCH_RMOBILE
Masahiro Yamadac9c54e22014-08-31 07:10:57 +09001073 bool "Renesas ARM SoCs"
Nobuhiro Iwamatsu7c112732015-10-10 05:58:28 +09001074 select DM
1075 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001076 select GPIO_EXTRA_HEADER
Biju Das055763a2020-09-22 13:06:49 +01001077 imply BOARD_EARLY_INIT_F
Michal Simek2e7c8192018-07-23 15:55:14 +02001078 imply CMD_DM
Tom Rinid8532af2017-06-02 11:03:50 -04001079 imply FAT_WRITE
Tom Rini1c640a62017-03-18 09:01:44 -04001080 imply SYS_THUMB_BUILD
Marek Vasutb90dc692018-12-03 13:28:25 +01001081 imply ARCH_MISC_INIT if DISPLAY_CPUINFO
Nikita Kiryanovf5cab0f2014-09-07 18:59:29 +03001082
Mateusz Kulikowski2507d822016-03-31 23:12:32 +02001083config ARCH_SNAPDRAGON
1084 bool "Qualcomm Snapdragon SoCs"
1085 select ARM64
1086 select DM
1087 select DM_GPIO
1088 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001089 select GPIO_EXTRA_HEADER
Michal Simek84f3dec2018-07-23 15:55:13 +02001090 select MSM_SMEM
Mateusz Kulikowski2507d822016-03-31 23:12:32 +02001091 select OF_CONTROL
1092 select OF_SEPARATE
Ramon Fried4b4bd492018-07-02 02:57:56 +03001093 select SMEM
Michal Simek84f3dec2018-07-23 15:55:13 +02001094 select SPMI
Michal Simek2e7c8192018-07-23 15:55:14 +02001095 imply CMD_DM
Mateusz Kulikowski2507d822016-03-31 23:12:32 +02001096
Masahiro Yamada144a3e02015-04-21 20:38:20 +09001097config ARCH_SOCFPGA
1098 bool "Altera SOCFPGA family"
Marek Vasut014f0ab2018-05-11 22:25:59 +02001099 select ARCH_EARLY_INIT_R
Marek Vasut04c8f4f2018-08-13 20:06:46 +02001100 select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
Siew Chin Lim8a714162021-03-01 20:04:10 +08001101 select ARM64 if TARGET_SOCFPGA_SOC64
Ley Foon Tan9c407b52018-05-24 00:17:32 +08001102 select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Masahiro Yamadae2005542015-03-31 12:47:59 +09001103 select DM
Marek Vasut57f03d22018-05-11 22:26:35 +02001104 select DM_SERIAL
Tom Rini249f11f2021-08-19 14:19:39 -04001105 select GICV2
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001106 select GPIO_EXTRA_HEADER
Ley Foon Tan9c407b52018-05-24 00:17:32 +08001107 select ENABLE_ARM_SOC_BOOT0_HOOK if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Marek Vasut014f0ab2018-05-11 22:25:59 +02001108 select OF_CONTROL
Ley Foon Tan9ae7b0a2018-07-13 13:40:23 +08001109 select SPL_DM_RESET if DM_RESET
Michal Simek84f3dec2018-07-23 15:55:13 +02001110 select SPL_DM_SERIAL
Marek Vasut014f0ab2018-05-11 22:25:59 +02001111 select SPL_LIBCOMMON_SUPPORT
Marek Vasut014f0ab2018-05-11 22:25:59 +02001112 select SPL_LIBGENERIC_SUPPORT
Marek Vasut014f0ab2018-05-11 22:25:59 +02001113 select SPL_NAND_SUPPORT if SPL_NAND_DENALI
1114 select SPL_OF_CONTROL
Siew Chin Lim8a714162021-03-01 20:04:10 +08001115 select SPL_SEPARATE_BSS if TARGET_SOCFPGA_SOC64
Simon Glassf4d60392021-08-08 12:20:12 -06001116 select SPL_SERIAL
Simon Goldschmidtfc824662019-07-15 21:47:55 +02001117 select SPL_SYSRESET
Simon Glass1ba1d4e2021-07-10 21:14:28 -06001118 select SPL_WATCHDOG
Marek Vasut014f0ab2018-05-11 22:25:59 +02001119 select SUPPORT_SPL
Marek Vasut57f03d22018-05-11 22:26:35 +02001120 select SYS_NS16550
Ley Foon Tan9c407b52018-05-24 00:17:32 +08001121 select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Simon Goldschmidtfc824662019-07-15 21:47:55 +02001122 select SYSRESET
1123 select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Siew Chin Lim8a714162021-03-01 20:04:10 +08001124 select SYSRESET_SOCFPGA_SOC64 if TARGET_SOCFPGA_SOC64
Michal Simek2e7c8192018-07-23 15:55:14 +02001125 imply CMD_DM
Tom Rinic20bb732017-07-22 18:36:16 -04001126 imply CMD_MTDPARTS
Daniel Thompsona9e2c672017-05-19 17:26:58 +01001127 imply CRC32_VERIFY
Simon Goldschmidta4347302018-02-13 06:34:14 +01001128 imply DM_SPI
1129 imply DM_SPI_FLASH
Tom Rinid8532af2017-06-02 11:03:50 -04001130 imply FAT_WRITE
Simon Goldschmidtb1c42692019-04-09 21:02:05 +02001131 imply SPL
1132 imply SPL_DM
Lukasz Majewski76f442982020-06-04 23:11:53 +08001133 imply SPL_DM_SPI
1134 imply SPL_DM_SPI_FLASH
Simon Goldschmidtc26195d2018-11-29 21:17:08 +01001135 imply SPL_LIBDISK_SUPPORT
Simon Glassb58bfe02021-08-08 12:20:09 -06001136 imply SPL_MMC
Simon Goldschmidta4347302018-02-13 06:34:14 +01001137 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
Simon Goldschmidt3b551bc2018-10-30 20:21:49 +01001138 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
Simon Goldschmidtc26195d2018-11-29 21:17:08 +01001139 imply SPL_SPI_FLASH_SUPPORT
Simon Glassa5820472021-08-08 12:20:14 -06001140 imply SPL_SPI
Dinh Nguyen41e32962019-04-23 16:55:06 -05001141 imply L2X0_CACHE
Marek Vasut69295472014-12-30 18:16:08 +01001142
Ian Campbelld8e69e02014-10-24 21:20:44 +01001143config ARCH_SUNXI
1144 bool "Support sunxi (Allwinner) SoCs"
Masahiro Yamada87247af2017-10-17 13:42:44 +09001145 select BINMAN
Hans de Goedec9511672016-04-03 09:41:44 +02001146 select CMD_GPIO
Hans de Goede2c526402016-05-15 13:51:58 +02001147 select CMD_MMC if MMC
Tom Rini5b9e6162021-07-09 10:11:56 -04001148 select CMD_USB if DISTRO_DEFAULTS && USB_HOST
Jagan Teki80d261b2019-01-11 16:40:20 +05301149 select CLK
Hans de Goede03914882015-04-15 20:46:48 +02001150 select DM
Tom Rini10e87172015-06-30 16:51:15 -04001151 select DM_ETH
Hans de Goedec8d43472015-12-21 20:22:00 +01001152 select DM_GPIO
Samuel Holland468f23b2021-10-08 00:17:25 -05001153 select DM_I2C if I2C
Andre Przywara06435db2022-01-11 12:46:02 +00001154 select DM_SPI if SPI
1155 select DM_SPI_FLASH if SPI
Hans de Goedec8d43472015-12-21 20:22:00 +01001156 select DM_KEYBOARD
Jagan Tekic4981542019-04-12 16:48:25 +05301157 select DM_MMC if MMC
1158 select DM_SCSI if SCSI
Tom Rini10e87172015-06-30 16:51:15 -04001159 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001160 select GPIO_EXTRA_HEADER
Hans de Goede48a234a2016-03-22 22:51:52 +01001161 select OF_BOARD_SETUP
Hans de Goede03914882015-04-15 20:46:48 +02001162 select OF_CONTROL
1163 select OF_SEPARATE
Samuel Hollande3095022021-08-12 20:09:43 -05001164 select PINCTRL
Tom Rinie69ba982018-03-06 19:02:27 -05001165 select SPECIFY_CONSOLE_INDEX
Samuel Hollandd30ac692021-08-22 13:23:53 -05001166 select SPL_SEPARATE_BSS if SPL
Tom Rinidac518f2017-06-21 07:54:46 -04001167 select SPL_STACK_R if SPL
1168 select SPL_SYS_MALLOC_SIMPLE if SPL
Tom Rini1c640a62017-03-18 09:01:44 -04001169 select SPL_SYS_THUMB_BUILD if !ARM64
Andre Przywara9d3bab92019-06-23 15:09:46 +01001170 select SUNXI_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +02001171 select SYS_NS16550
Maxime Ripard2ba0f212017-10-19 11:49:29 +02001172 select SYS_THUMB_BUILD if !ARM64
Yann E. MORINe28217d2016-10-31 22:33:40 +01001173 select USB if DISTRO_DEFAULTS
Tom Rini5b9e6162021-07-09 10:11:56 -04001174 select USB_KEYBOARD if DISTRO_DEFAULTS && USB_HOST
1175 select USB_STORAGE if DISTRO_DEFAULTS && USB_HOST
Simon Glass7611ac62019-09-25 08:56:27 -06001176 select SPL_USE_TINY_PRINTF
Andre Przywara3130df52020-02-20 17:51:14 +00001177 select USE_PREBOOT
1178 select SYS_RELOC_GD_ENV_ADDR
Andy Shevchenko1facc0f2020-12-08 17:45:31 +02001179 imply BOARD_LATE_INIT
Michal Simek2e7c8192018-07-23 15:55:14 +02001180 imply CMD_DM
Maxime Ripardbc7db012017-08-24 11:54:03 +02001181 imply CMD_GPT
Miquel Raynald0935362019-10-03 19:50:03 +02001182 imply CMD_UBI if MTD_RAW_NAND
Masahiro Yamada9afc6c52018-04-25 18:47:52 +09001183 imply DISTRO_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -04001184 imply FAT_WRITE
Marek Vasut88e3a842018-10-10 18:27:35 +02001185 imply FIT
Andre Heider11790742018-01-16 09:44:22 +01001186 imply OF_LIBFDT_OVERLAY
Masahiro Yamada8e5e1ea2017-04-28 19:42:19 +09001187 imply PRE_CONSOLE_BUFFER
Simon Glass035939e2021-07-10 21:14:30 -06001188 imply SPL_GPIO
Masahiro Yamada8e5e1ea2017-04-28 19:42:19 +09001189 imply SPL_LIBCOMMON_SUPPORT
Masahiro Yamada8e5e1ea2017-04-28 19:42:19 +09001190 imply SPL_LIBGENERIC_SUPPORT
Simon Glassb58bfe02021-08-08 12:20:09 -06001191 imply SPL_MMC if MMC
Simon Glasse91ac4c2021-07-10 21:14:24 -06001192 imply SPL_POWER
Simon Glassf4d60392021-08-08 12:20:12 -06001193 imply SPL_SERIAL
Samuel Hollandf97d6762021-11-03 22:55:16 -05001194 imply SYSRESET
1195 imply SYSRESET_WATCHDOG
1196 imply SYSRESET_WATCHDOG_AUTO
Maxime Ripardabb17b42017-09-07 10:46:24 +02001197 imply USB_GADGET
Samuel Holland576ccd62021-08-22 13:53:28 -05001198 imply WDT
Chen-Yu Tsai848c2632014-10-22 16:47:44 +08001199
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001200config ARCH_U8500
1201 bool "ST-Ericsson U8500 Series"
1202 select CPU_V7A
1203 select DM
1204 select DM_GPIO
1205 select DM_MMC if MMC
1206 select DM_SERIAL
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001207 select DM_USB_GADGET if DM_USB
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001208 select OF_CONTROL
1209 select SYSRESET
1210 select TIMER
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001211 imply AB8500_USB_PHY
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001212 imply ARM_PL180_MMCI
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001213 imply CLK
1214 imply DM_PMIC
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001215 imply DM_RTC
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001216 imply NOMADIK_GPIO
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001217 imply NOMADIK_MTU_TIMER
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001218 imply PHY
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001219 imply PL01X_SERIAL
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001220 imply PMIC_AB8500
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001221 imply RTC_PL031
Stephan Gerholdd7720452021-08-07 15:07:24 +02001222 imply SYS_THUMB_BUILD
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001223 imply SYSRESET_SYSCON
1224
Michal Simek4b066a12018-08-22 14:55:27 +02001225config ARCH_VERSAL
1226 bool "Support Xilinx Versal Platform"
1227 select ARM64
1228 select CLK
1229 select DM
Michal Simek0609abd2019-01-15 08:52:46 +01001230 select DM_ETH if NET
1231 select DM_MMC if MMC
Michal Simek4b066a12018-08-22 14:55:27 +02001232 select DM_SERIAL
Tom Rini249f11f2021-08-19 14:19:39 -04001233 select GICV3
Michal Simek4b066a12018-08-22 14:55:27 +02001234 select OF_CONTROL
T Karthik Reddycb8485b2021-08-10 06:50:19 -06001235 select SOC_DEVICE
Siva Durga Prasad Paladugu37c2ff82019-01-31 17:28:14 +05301236 imply BOARD_LATE_INIT
Michal Simekbab07b62020-07-28 12:45:47 +02001237 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simek4b066a12018-08-22 14:55:27 +02001238
Stefan Agnerd53c0a42017-03-13 18:41:36 -07001239config ARCH_VF610
1240 bool "Freescale Vybrid"
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301241 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001242 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -04001243 select MACH_IMX
York Sun097e3602016-12-28 08:43:42 -08001244 select SYS_FSL_ERRATUM_ESDHC111
Tom Rinic20bb732017-07-22 18:36:16 -04001245 imply CMD_MTDPARTS
Miquel Raynald0935362019-10-03 19:50:03 +02001246 imply MTD_RAW_NAND
Sanchayan Maitycc4d78f2015-04-15 16:24:26 +05301247
Masahiro Yamada8204bd12015-03-16 16:43:24 +09001248config ARCH_ZYNQ
Michal Simek8caedde2017-11-23 08:25:41 +01001249 bool "Xilinx Zynq based platform"
Michal Simek84f3dec2018-07-23 15:55:13 +02001250 select CLK
1251 select CLK_ZYNQ
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301252 select CPU_V7A
Michal Simek7659fe42022-02-17 14:28:41 +01001253 select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
Masahiro Yamada2df07d42015-03-31 12:47:55 +09001254 select DM
Michal Simek6d35f3f2018-01-09 14:49:28 +01001255 select DM_ETH if NET
Michal Simek6d35f3f2018-01-09 14:49:28 +01001256 select DM_MMC if MMC
Simon Glass23d9b622015-10-17 19:41:27 -06001257 select DM_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02001258 select DM_SPI
Jagan Teki0bd03a52015-06-27 00:51:32 +05301259 select DM_SPI_FLASH
Michal Simek84f3dec2018-07-23 15:55:13 +02001260 select OF_CONTROL
Adam Ford4e96ff82018-04-15 13:51:26 -04001261 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +02001262 select SPL_BOARD_INIT if SPL
1263 select SPL_CLK if SPL
1264 select SPL_DM if SPL
Lukasz Majewski76f442982020-06-04 23:11:53 +08001265 select SPL_DM_SPI if SPL
1266 select SPL_DM_SPI_FLASH if SPL
Michal Simek84f3dec2018-07-23 15:55:13 +02001267 select SPL_OF_CONTROL if SPL
1268 select SPL_SEPARATE_BSS if SPL
1269 select SUPPORT_SPL
1270 imply ARCH_EARLY_INIT_R
Michal Simek37ad2702018-08-20 08:24:14 +02001271 imply BOARD_LATE_INIT
Simon Glass04ac6f12017-04-26 22:28:02 -06001272 imply CMD_CLK
Michal Simek2e7c8192018-07-23 15:55:14 +02001273 imply CMD_DM
Simon Glassc6567fa2017-08-04 16:34:48 -06001274 imply CMD_SPL
Michal Simekbab07b62020-07-28 12:45:47 +02001275 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simek84f3dec2018-07-23 15:55:13 +02001276 imply FAT_WRITE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001277
Michal Simekb513bcd2018-04-12 17:39:46 +02001278config ARCH_ZYNQMP_R5
1279 bool "Xilinx ZynqMP R5 based platform"
Michal Simek84f3dec2018-07-23 15:55:13 +02001280 select CLK
Michal Simekb513bcd2018-04-12 17:39:46 +02001281 select CPU_V7R
Michal Simekb513bcd2018-04-12 17:39:46 +02001282 select DM
Michal Simek5f3c3382019-01-15 09:06:46 +01001283 select DM_ETH if NET
1284 select DM_MMC if MMC
Michal Simekb513bcd2018-04-12 17:39:46 +02001285 select DM_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02001286 select OF_CONTROL
Michal Simek2e7c8192018-07-23 15:55:14 +02001287 imply CMD_DM
Jean-Jacques Hiblot44aaec72018-11-29 10:52:42 +01001288 imply DM_USB_GADGET
Michal Simekb513bcd2018-04-12 17:39:46 +02001289
Siva Durga Prasad Paladugu650fb402015-06-10 15:50:57 +05301290config ARCH_ZYNQMP
Michal Simek8caedde2017-11-23 08:25:41 +01001291 bool "Xilinx ZynqMP based platform"
Michal Simek04b7e622015-01-15 10:01:51 +01001292 select ARM64
Michal Simek84f3dec2018-07-23 15:55:13 +02001293 select CLK
Michal Simek25b83712015-10-17 19:41:25 -06001294 select DM
Michal Simeke5710e32022-02-17 14:28:42 +01001295 select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
Michal Simek73f2d0f2019-01-15 08:52:51 +01001296 select DM_ETH if NET
Ibai Erkiagad47ed6f2019-09-27 12:51:41 +02001297 select DM_MAILBOX
Michal Simek73f2d0f2019-01-15 08:52:51 +01001298 select DM_MMC if MMC
Michal Simek25b83712015-10-17 19:41:25 -06001299 select DM_SERIAL
Michal Simek968388d2019-01-15 10:50:39 +01001300 select DM_SPI if SPI
1301 select DM_SPI_FLASH if DM_SPI
Michal Simek85593af2022-01-14 13:08:42 +01001302 imply FIRMWARE
Tom Rini249f11f2021-08-19 14:19:39 -04001303 select GICV2
Michal Simek84f3dec2018-07-23 15:55:13 +02001304 select OF_CONTROL
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +08001305 select SPL_BOARD_INIT if SPL
Michal Simekfd1d7662017-12-01 15:13:36 +01001306 select SPL_CLK if SPL
Michal Simek40280f12020-08-19 10:30:39 +02001307 select SPL_DM if SPL
1308 select SPL_DM_SPI if SPI && SPL_DM
Lukasz Majewski76f442982020-06-04 23:11:53 +08001309 select SPL_DM_SPI_FLASH if SPL_DM_SPI
Ibai Erkiaga2d9b95b2019-09-27 11:37:04 +01001310 select SPL_DM_MAILBOX if SPL
Michal Simek85593af2022-01-14 13:08:42 +01001311 imply SPL_FIRMWARE if SPL
Michal Simek88674da2018-11-23 09:01:44 +01001312 select SPL_SEPARATE_BSS if SPL
Michal Simek84f3dec2018-07-23 15:55:13 +02001313 select SUPPORT_SPL
Ibai Erkiagad47ed6f2019-09-27 12:51:41 +02001314 select ZYNQMP_IPI
T Karthik Reddy501c2062021-08-10 06:50:18 -06001315 select SOC_DEVICE
Michal Simek37ad2702018-08-20 08:24:14 +02001316 imply BOARD_LATE_INIT
Michal Simek2e7c8192018-07-23 15:55:14 +02001317 imply CMD_DM
Michal Simekbab07b62020-07-28 12:45:47 +02001318 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Tom Rinid8532af2017-06-02 11:03:50 -04001319 imply FAT_WRITE
Michal Simeka8ddd6a2018-10-04 14:26:13 +02001320 imply MP
Jean-Jacques Hiblot44aaec72018-11-29 10:52:42 +01001321 imply DM_USB_GADGET
T Karthik Reddy01719722021-10-29 13:11:43 +02001322 imply ZYNQMP_GPIO_MODEPIN if DM_GPIO && USB
Michal Simek04b7e622015-01-15 10:01:51 +01001323
Trevor Woerner513f6402020-05-06 08:02:41 -04001324config ARCH_TEGRA
Masahiro Yamada73a5b1a2014-08-31 07:10:56 +09001325 bool "NVIDIA Tegra"
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001326 select GPIO_EXTRA_HEADER
Masahiro Yamada9afc6c52018-04-25 18:47:52 +09001327 imply DISTRO_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -04001328 imply FAT_WRITE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001329
Andre Przywarab33739f2022-03-04 16:30:09 +00001330config ARCH_VEXPRESS64
1331 bool "Support ARMv8 Arm Ltd. VExpress based boards and models"
Masahiro Yamada0d46c342014-09-14 03:01:51 +09001332 select ARM64
Andre Przywara94504f42020-04-27 19:18:01 +01001333 select DM
Andre Przywara94504f42020-04-27 19:18:01 +01001334 select DM_SERIAL
Andre Przywarab33739f2022-03-04 16:30:09 +00001335 select PL01X_SERIAL
Andre Przywara395e9a92022-03-04 16:30:11 +00001336 select OF_CONTROL
1337 select CLK
Andre Przywara9fd5ec52022-03-04 16:30:13 +00001338 select BLK
1339 select MTD_NOR_FLASH if MTD
1340 select FLASH_CFI_DRIVER if MTD
1341 select ENV_IS_IN_FLASH if MTD
Andre Przywara019753a2022-03-04 16:30:14 +00001342 imply DISTRO_DEFAULTS
Linus Walleijc5822502015-01-23 14:41:10 +01001343
Usama Arif9218a112020-08-12 16:12:53 +01001344config TARGET_TOTAL_COMPUTE
1345 bool "Support Total Compute Platform"
1346 select ARM64
1347 select PL01X_SERIAL
1348 select DM
1349 select DM_SERIAL
1350 select DM_MMC
1351 select DM_GPIO
1352
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301353config TARGET_LS2080A_EMU
1354 bool "Support ls2080a_emu"
York Sun4dd8c612016-10-04 14:31:48 -07001355 select ARCH_LS2080A
Masahiro Yamada0d46c342014-09-14 03:01:51 +09001356 select ARM64
Linus Walleij74771392015-03-09 10:53:21 +01001357 select ARMV8_MULTIENTRY
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001358 select FSL_DDR_SYNC_REFRESH
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001359 select GPIO_EXTRA_HEADER
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301360 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -05001361 Support for Freescale LS2080A_EMU platform.
1362 The LS2080A Development System (EMULATOR) is a pre-silicon
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301363 development platform that supports the QorIQ LS2080A
1364 Layerscape Architecture processor.
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001365
Ashish Kumar1ef4c772017-08-31 16:12:55 +05301366config TARGET_LS1088AQDS
1367 bool "Support ls1088aqds"
1368 select ARCH_LS1088A
1369 select ARM64
1370 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001371 select ARCH_SUPPORT_TFABOOT
Ashish Kumar1ef4c772017-08-31 16:12:55 +05301372 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001373 select GPIO_EXTRA_HEADER
Ashish Kumar4feb83b2017-11-06 13:18:44 +05301374 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001375 select FSL_DDR_INTERACTIVE if !SD_BOOT
Ashish Kumar1ef4c772017-08-31 16:12:55 +05301376 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -05001377 Support for NXP LS1088AQDS platform.
Ashish Kumar1ef4c772017-08-31 16:12:55 +05301378 The LS1088A Development System (QDS) is a high-performance
1379 development platform that supports the QorIQ LS1088A
1380 Layerscape Architecture processor.
1381
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301382config TARGET_LS2080AQDS
1383 bool "Support ls2080aqds"
York Sun4dd8c612016-10-04 14:31:48 -07001384 select ARCH_LS2080A
York Sun03017032015-03-20 19:28:23 -07001385 select ARM64
1386 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001387 select ARCH_SUPPORT_TFABOOT
Tom Rini22d567e2017-01-22 19:43:11 -05001388 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001389 select GPIO_EXTRA_HEADER
Scott Wood8e728cd2015-03-24 13:25:02 -07001390 select SUPPORT_SPL
Simon Glass0e5faf02017-06-14 21:28:21 -06001391 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +02001392 imply SCSI_AHCI
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001393 select FSL_DDR_BIST
1394 select FSL_DDR_INTERACTIVE if !SPL
York Sun03017032015-03-20 19:28:23 -07001395 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -05001396 Support for Freescale LS2080AQDS platform.
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301397 The LS2080A Development System (QDS) is a high-performance
1398 development platform that supports the QorIQ LS2080A
York Sun03017032015-03-20 19:28:23 -07001399 Layerscape Architecture processor.
1400
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301401config TARGET_LS2080ARDB
1402 bool "Support ls2080ardb"
York Sun4dd8c612016-10-04 14:31:48 -07001403 select ARCH_LS2080A
York Sune12abcb2015-03-20 19:28:24 -07001404 select ARM64
1405 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001406 select ARCH_SUPPORT_TFABOOT
Tom Rini22d567e2017-01-22 19:43:11 -05001407 select BOARD_LATE_INIT
Scott Wood212b8d82015-03-24 13:25:03 -07001408 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001409 select FSL_DDR_BIST
1410 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001411 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001412 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +02001413 imply SCSI_AHCI
York Sune12abcb2015-03-20 19:28:24 -07001414 help
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301415 Support for Freescale LS2080ARDB platform.
1416 The LS2080A Reference design board (RDB) is a high-performance
1417 development platform that supports the QorIQ LS2080A
York Sune12abcb2015-03-20 19:28:24 -07001418 Layerscape Architecture processor.
1419
Priyanka Jain75cd67f2017-04-27 15:08:07 +05301420config TARGET_LS2081ARDB
1421 bool "Support ls2081ardb"
1422 select ARCH_LS2080A
1423 select ARM64
1424 select ARMV8_MULTIENTRY
1425 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001426 select GPIO_EXTRA_HEADER
Priyanka Jain75cd67f2017-04-27 15:08:07 +05301427 select SUPPORT_SPL
Priyanka Jain75cd67f2017-04-27 15:08:07 +05301428 help
1429 Support for Freescale LS2081ARDB platform.
1430 The LS2081A Reference design board (RDB) is a high-performance
1431 development platform that supports the QorIQ LS2081A/LS2041A
1432 Layerscape Architecture processor.
1433
Priyanka Jainfd45ca02018-11-28 13:04:27 +00001434config TARGET_LX2160ARDB
1435 bool "Support lx2160ardb"
1436 select ARCH_LX2160A
Priyanka Jainfd45ca02018-11-28 13:04:27 +00001437 select ARM64
1438 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001439 select ARCH_SUPPORT_TFABOOT
Priyanka Jainfd45ca02018-11-28 13:04:27 +00001440 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001441 select GPIO_EXTRA_HEADER
Priyanka Jainfd45ca02018-11-28 13:04:27 +00001442 help
1443 Support for NXP LX2160ARDB platform.
1444 The lx2160ardb (LX2160A Reference design board (RDB)
1445 is a high-performance development platform that supports the
1446 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1447
Pankaj Bansal338baa32019-02-08 10:29:58 +00001448config TARGET_LX2160AQDS
1449 bool "Support lx2160aqds"
1450 select ARCH_LX2160A
Pankaj Bansal338baa32019-02-08 10:29:58 +00001451 select ARM64
1452 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001453 select ARCH_SUPPORT_TFABOOT
Pankaj Bansal338baa32019-02-08 10:29:58 +00001454 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001455 select GPIO_EXTRA_HEADER
Pankaj Bansal338baa32019-02-08 10:29:58 +00001456 help
1457 Support for NXP LX2160AQDS platform.
1458 The lx2160aqds (LX2160A QorIQ Development System (QDS)
1459 is a high-performance development platform that supports the
1460 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1461
Meenakshi Aggarwal8a03b0d2020-12-04 20:17:28 +05301462config TARGET_LX2162AQDS
1463 bool "Support lx2162aqds"
1464 select ARCH_LX2162A
1465 select ARCH_MISC_INIT
1466 select ARM64
1467 select ARMV8_MULTIENTRY
1468 select ARCH_SUPPORT_TFABOOT
1469 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001470 select GPIO_EXTRA_HEADER
Meenakshi Aggarwal8a03b0d2020-12-04 20:17:28 +05301471 help
1472 Support for NXP LX2162AQDS platform.
1473 The lx2162aqds support is based on LX2160A Layerscape Architecture processor.
1474
Peter Griffin31f327e2015-07-30 18:55:23 +01001475config TARGET_HIKEY
1476 bool "Support HiKey 96boards Consumer Edition Platform"
1477 select ARM64
Peter Griffinff9302f2015-09-10 21:55:16 +01001478 select DM
1479 select DM_GPIO
Peter Griffin0382c642015-09-10 21:55:17 +01001480 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001481 select GPIO_EXTRA_HEADER
Peter Griffinc97c37a2016-04-20 17:13:59 +01001482 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +01001483 select PL01X_SERIAL
Tom Rinie69ba982018-03-06 19:02:27 -05001484 select SPECIFY_CONSOLE_INDEX
Michal Simek2e7c8192018-07-23 15:55:14 +02001485 imply CMD_DM
Peter Griffin31f327e2015-07-30 18:55:23 +01001486 help
1487 Support for HiKey 96boards platform. It features a HI6220
1488 SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
1489
Manivannan Sadhasivamcf33f922019-08-02 20:40:09 +05301490config TARGET_HIKEY960
1491 bool "Support HiKey960 96boards Consumer Edition Platform"
1492 select ARM64
1493 select DM
1494 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001495 select GPIO_EXTRA_HEADER
Manivannan Sadhasivamcf33f922019-08-02 20:40:09 +05301496 select OF_CONTROL
1497 select PL01X_SERIAL
1498 imply CMD_DM
1499 help
1500 Support for HiKey960 96boards platform. It features a HI3660
1501 SoC, with 4xA73 CPU, 4xA53 CPU, MALI-G71 GPU, and 3GB RAM.
1502
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02001503config TARGET_POPLAR
1504 bool "Support Poplar 96boards Enterprise Edition Platform"
1505 select ARM64
1506 select DM
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02001507 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001508 select GPIO_EXTRA_HEADER
Michal Simek84f3dec2018-07-23 15:55:13 +02001509 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +01001510 select PL01X_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +02001511 imply CMD_DM
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02001512 help
1513 Support for Poplar 96boards EE platform. It features a HI3798cv200
1514 SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
1515 making it capable of running any commercial set-top solution based on
1516 Linux or Android.
1517
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05301518config TARGET_LS1012AQDS
1519 bool "Support ls1012aqds"
York Sunb3d71642016-09-26 08:09:26 -07001520 select ARCH_LS1012A
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05301521 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001522 select ARCH_SUPPORT_TFABOOT
Tom Rini22d567e2017-01-22 19:43:11 -05001523 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001524 select GPIO_EXTRA_HEADER
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05301525 help
1526 Support for Freescale LS1012AQDS platform.
1527 The LS1012A Development System (QDS) is a high-performance
1528 development platform that supports the QorIQ LS1012A
1529 Layerscape Architecture processor.
1530
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05301531config TARGET_LS1012ARDB
1532 bool "Support ls1012ardb"
York Sunb3d71642016-09-26 08:09:26 -07001533 select ARCH_LS1012A
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05301534 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001535 select ARCH_SUPPORT_TFABOOT
Tom Rini22d567e2017-01-22 19:43:11 -05001536 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001537 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001538 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +02001539 imply SCSI_AHCI
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05301540 help
1541 Support for Freescale LS1012ARDB platform.
1542 The LS1012A Reference design board (RDB) is a high-performance
1543 development platform that supports the QorIQ LS1012A
1544 Layerscape Architecture processor.
1545
Bhaskar Upadhaya7fff22a2018-01-11 20:03:31 +05301546config TARGET_LS1012A2G5RDB
1547 bool "Support ls1012a2g5rdb"
1548 select ARCH_LS1012A
1549 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001550 select ARCH_SUPPORT_TFABOOT
Bhaskar Upadhaya7fff22a2018-01-11 20:03:31 +05301551 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001552 select GPIO_EXTRA_HEADER
Bhaskar Upadhaya7fff22a2018-01-11 20:03:31 +05301553 imply SCSI
1554 help
1555 Support for Freescale LS1012A2G5RDB platform.
1556 The LS1012A 2G5 Reference design board (RDB) is a high-performance
1557 development platform that supports the QorIQ LS1012A
1558 Layerscape Architecture processor.
1559
Bhaskar Upadhaya5e6f5982018-05-23 11:03:30 +05301560config TARGET_LS1012AFRWY
1561 bool "Support ls1012afrwy"
1562 select ARCH_LS1012A
1563 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001564 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001565 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001566 select GPIO_EXTRA_HEADER
Bhaskar Upadhaya5e6f5982018-05-23 11:03:30 +05301567 imply SCSI
1568 imply SCSI_AHCI
1569 help
1570 Support for Freescale LS1012AFRWY platform.
1571 The LS1012A FRWY board (FRWY) is a high-performance
1572 development platform that supports the QorIQ LS1012A
1573 Layerscape Architecture processor.
1574
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05301575config TARGET_LS1012AFRDM
1576 bool "Support ls1012afrdm"
York Sunb3d71642016-09-26 08:09:26 -07001577 select ARCH_LS1012A
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05301578 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001579 select ARCH_SUPPORT_TFABOOT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001580 select GPIO_EXTRA_HEADER
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05301581 help
1582 Support for Freescale LS1012AFRDM platform.
1583 The LS1012A Freedom board (FRDM) is a high-performance
1584 development platform that supports the QorIQ LS1012A
1585 Layerscape Architecture processor.
1586
Yuantian Tang473bbc42019-04-10 16:43:35 +08001587config TARGET_LS1028AQDS
1588 bool "Support ls1028aqds"
1589 select ARCH_LS1028A
1590 select ARM64
1591 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001592 select ARCH_SUPPORT_TFABOOT
Yuantian Tangafa86692019-07-02 16:16:22 +08001593 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001594 select GPIO_EXTRA_HEADER
Yuantian Tang473bbc42019-04-10 16:43:35 +08001595 help
1596 Support for Freescale LS1028AQDS platform
1597 The LS1028A Development System (QDS) is a high-performance
1598 development platform that supports the QorIQ LS1028A
1599 Layerscape Architecture processor.
1600
Yuantian Tang92f18ff2019-04-10 16:43:34 +08001601config TARGET_LS1028ARDB
1602 bool "Support ls1028ardb"
1603 select ARCH_LS1028A
1604 select ARM64
1605 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001606 select ARCH_SUPPORT_TFABOOT
Yuantian Tang31c98902020-03-09 14:10:07 +08001607 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001608 select GPIO_EXTRA_HEADER
Yuantian Tang92f18ff2019-04-10 16:43:34 +08001609 help
1610 Support for Freescale LS1028ARDB platform
1611 The LS1028A Development System (RDB) is a high-performance
1612 development platform that supports the QorIQ LS1028A
1613 Layerscape Architecture processor.
1614
Ashish Kumar227b4bc2017-08-31 16:12:54 +05301615config TARGET_LS1088ARDB
1616 bool "Support ls1088ardb"
1617 select ARCH_LS1088A
1618 select ARM64
1619 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001620 select ARCH_SUPPORT_TFABOOT
Ashish Kumar227b4bc2017-08-31 16:12:54 +05301621 select BOARD_LATE_INIT
Ashish Kumar5676ceb2017-11-06 13:18:43 +05301622 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001623 select FSL_DDR_INTERACTIVE if !SD_BOOT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001624 select GPIO_EXTRA_HEADER
Ashish Kumar227b4bc2017-08-31 16:12:54 +05301625 help
1626 Support for NXP LS1088ARDB platform.
1627 The LS1088A Reference design board (RDB) is a high-performance
1628 development platform that supports the QorIQ LS1088A
1629 Layerscape Architecture processor.
1630
Wang Huanf0ce7d62014-09-05 13:52:44 +08001631config TARGET_LS1021AQDS
Alison Wang6ea8ad42014-12-03 16:18:09 +08001632 bool "Support ls1021aqds"
Michal Simek84f3dec2018-07-23 15:55:13 +02001633 select ARCH_LS1021A
1634 select ARCH_SUPPORT_PSCI
1635 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001636 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301637 select CPU_V7A
Hongbo Zhange80fccf2016-09-21 18:31:04 +08001638 select CPU_V7_HAS_NONSEC
1639 select CPU_V7_HAS_VIRT
York Sun4de7e932016-09-26 08:09:29 -07001640 select LS1_DEEP_SLEEP
Michal Simek84f3dec2018-07-23 15:55:13 +02001641 select SUPPORT_SPL
York Sund297d392016-12-28 08:43:40 -08001642 select SYS_FSL_DDR
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001643 select FSL_DDR_INTERACTIVE
Lukasz Majewski23aa8342020-06-04 23:11:52 +08001644 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001645 select GPIO_EXTRA_HEADER
Lukasz Majewski23aa8342020-06-04 23:11:52 +08001646 select SPI_FLASH_DATAFLASH if FSL_DSPI || FSL_QSPI
Simon Glass0e5faf02017-06-14 21:28:21 -06001647 imply SCSI
Masahiro Yamadad5415b22016-08-30 16:22:22 +09001648
Wang Huanddf89f92014-09-05 13:52:45 +08001649config TARGET_LS1021ATWR
Alison Wang6ea8ad42014-12-03 16:18:09 +08001650 bool "Support ls1021atwr"
Michal Simek84f3dec2018-07-23 15:55:13 +02001651 select ARCH_LS1021A
1652 select ARCH_SUPPORT_PSCI
1653 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001654 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301655 select CPU_V7A
Hongbo Zhange80fccf2016-09-21 18:31:04 +08001656 select CPU_V7_HAS_NONSEC
1657 select CPU_V7_HAS_VIRT
York Sun4de7e932016-09-26 08:09:29 -07001658 select LS1_DEEP_SLEEP
Michal Simek84f3dec2018-07-23 15:55:13 +02001659 select SUPPORT_SPL
Lukasz Majewski23aa8342020-06-04 23:11:52 +08001660 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001661 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001662 imply SCSI
Wang Huanddf89f92014-09-05 13:52:45 +08001663
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +00001664config TARGET_PG_WCOM_SELI8
1665 bool "Support Hitachi-Powergrids SELI8 service unit card"
1666 select ARCH_LS1021A
1667 select ARCH_SUPPORT_PSCI
1668 select BOARD_EARLY_INIT_F
1669 select BOARD_LATE_INIT
1670 select CPU_V7A
1671 select CPU_V7_HAS_NONSEC
1672 select CPU_V7_HAS_VIRT
1673 select SYS_FSL_DDR
1674 select FSL_DDR_INTERACTIVE
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001675 select GPIO_EXTRA_HEADER
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +00001676 select VENDOR_KM
1677 imply SCSI
1678 help
1679 Support for Hitachi-Powergrids SELI8 service unit card.
1680 SELI8 is a QorIQ LS1021a based service unit card used
1681 in XMC20 and FOX615 product families.
1682
Aleksandar Gerasimovski3b24bbd2021-06-08 14:16:28 +00001683config TARGET_PG_WCOM_EXPU1
1684 bool "Support Hitachi-Powergrids EXPU1 service unit card"
1685 select ARCH_LS1021A
1686 select ARCH_SUPPORT_PSCI
1687 select BOARD_EARLY_INIT_F
1688 select BOARD_LATE_INIT
1689 select CPU_V7A
1690 select CPU_V7_HAS_NONSEC
1691 select CPU_V7_HAS_VIRT
1692 select SYS_FSL_DDR
1693 select FSL_DDR_INTERACTIVE
1694 select VENDOR_KM
1695 imply SCSI
1696 help
1697 Support for Hitachi-Powergrids EXPU1 service unit card.
1698 EXPU1 is a QorIQ LS1021a based service unit card used
1699 in XMC20 and FOX615 product families.
1700
Jianchao Wange5332ba2019-07-19 00:30:01 +03001701config TARGET_LS1021ATSN
1702 bool "Support ls1021atsn"
1703 select ARCH_LS1021A
1704 select ARCH_SUPPORT_PSCI
1705 select BOARD_EARLY_INIT_F
1706 select BOARD_LATE_INIT
1707 select CPU_V7A
1708 select CPU_V7_HAS_NONSEC
1709 select CPU_V7_HAS_VIRT
1710 select LS1_DEEP_SLEEP
1711 select SUPPORT_SPL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001712 select GPIO_EXTRA_HEADER
Jianchao Wange5332ba2019-07-19 00:30:01 +03001713 imply SCSI
1714
Feng Li39e112d2016-11-03 14:15:17 +08001715config TARGET_LS1021AIOT
1716 bool "Support ls1021aiot"
Michal Simek84f3dec2018-07-23 15:55:13 +02001717 select ARCH_LS1021A
1718 select ARCH_SUPPORT_PSCI
Tom Rini22d567e2017-01-22 19:43:11 -05001719 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301720 select CPU_V7A
Feng Li39e112d2016-11-03 14:15:17 +08001721 select CPU_V7_HAS_NONSEC
1722 select CPU_V7_HAS_VIRT
1723 select SUPPORT_SPL
Lukasz Majewski23aa8342020-06-04 23:11:52 +08001724 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001725 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001726 imply SCSI
Feng Li39e112d2016-11-03 14:15:17 +08001727 help
1728 Support for Freescale LS1021AIOT platform.
1729 The LS1021A Freescale board (IOT) is a high-performance
1730 development platform that supports the QorIQ LS1021A
1731 Layerscape Architecture processor.
1732
Shaohui Xiedd335672015-11-11 17:58:37 +08001733config TARGET_LS1043AQDS
1734 bool "Support ls1043aqds"
York Sun149eb332016-09-26 08:09:27 -07001735 select ARCH_LS1043A
Shaohui Xiedd335672015-11-11 17:58:37 +08001736 select ARM64
1737 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001738 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001739 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001740 select BOARD_LATE_INIT
Shaohui Xiedd335672015-11-11 17:58:37 +08001741 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001742 select FSL_DDR_INTERACTIVE if !SPL
Lukasz Majewski9cb0cc12020-06-04 23:11:51 +08001743 select FSL_DSPI if !SPL_NO_DSPI
1744 select DM_SPI_FLASH if FSL_DSPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001745 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001746 imply SCSI
Peng Maa550eb62019-01-30 19:11:49 +08001747 imply SCSI_AHCI
Shaohui Xiedd335672015-11-11 17:58:37 +08001748 help
1749 Support for Freescale LS1043AQDS platform.
1750
Mingkai Hueee86ff2015-10-26 19:47:52 +08001751config TARGET_LS1043ARDB
1752 bool "Support ls1043ardb"
York Sun149eb332016-09-26 08:09:27 -07001753 select ARCH_LS1043A
Mingkai Hueee86ff2015-10-26 19:47:52 +08001754 select ARM64
Hou Zhiqiangc7098fa2015-10-26 19:47:57 +08001755 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001756 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001757 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001758 select BOARD_LATE_INIT
Gong Qianyu8168a0f2015-10-26 19:47:53 +08001759 select SUPPORT_SPL
Lukasz Majewski9cb0cc12020-06-04 23:11:51 +08001760 select FSL_DSPI if !SPL_NO_DSPI
1761 select DM_SPI_FLASH if FSL_DSPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001762 select GPIO_EXTRA_HEADER
Mingkai Hueee86ff2015-10-26 19:47:52 +08001763 help
1764 Support for Freescale LS1043ARDB platform.
1765
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001766config TARGET_LS1046AQDS
1767 bool "Support ls1046aqds"
York Sunbad49842016-09-26 08:09:24 -07001768 select ARCH_LS1046A
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001769 select ARM64
1770 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001771 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001772 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001773 select BOARD_LATE_INIT
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001774 select DM_SPI_FLASH if DM_SPI
Michal Simek84f3dec2018-07-23 15:55:13 +02001775 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001776 select FSL_DDR_BIST if !SPL
1777 select FSL_DDR_INTERACTIVE if !SPL
1778 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001779 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001780 imply SCSI
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001781 help
1782 Support for Freescale LS1046AQDS platform.
1783 The LS1046A Development System (QDS) is a high-performance
1784 development platform that supports the QorIQ LS1046A
1785 Layerscape Architecture processor.
1786
Mingkai Hud2396512016-09-07 18:47:28 +08001787config TARGET_LS1046ARDB
1788 bool "Support ls1046ardb"
York Sunbad49842016-09-26 08:09:24 -07001789 select ARCH_LS1046A
Mingkai Hud2396512016-09-07 18:47:28 +08001790 select ARM64
1791 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001792 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001793 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001794 select BOARD_LATE_INIT
Mingkai Hud2396512016-09-07 18:47:28 +08001795 select DM_SPI_FLASH if DM_SPI
Hou Zhiqiang67b6d0a2016-12-09 16:09:01 +08001796 select POWER_MC34VR500
Michal Simek84f3dec2018-07-23 15:55:13 +02001797 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001798 select FSL_DDR_BIST
1799 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001800 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001801 imply SCSI
Mingkai Hud2396512016-09-07 18:47:28 +08001802 help
1803 Support for Freescale LS1046ARDB platform.
1804 The LS1046A Reference Design Board (RDB) is a high-performance
1805 development platform that supports the QorIQ LS1046A
1806 Layerscape Architecture processor.
1807
Vabhav Sharma51641912019-06-06 12:35:28 +00001808config TARGET_LS1046AFRWY
1809 bool "Support ls1046afrwy"
1810 select ARCH_LS1046A
1811 select ARM64
1812 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001813 select ARCH_SUPPORT_TFABOOT
Vabhav Sharma51641912019-06-06 12:35:28 +00001814 select BOARD_EARLY_INIT_F
1815 select BOARD_LATE_INIT
1816 select DM_SPI_FLASH if DM_SPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001817 select GPIO_EXTRA_HEADER
Vabhav Sharma51641912019-06-06 12:35:28 +00001818 imply SCSI
1819 help
1820 Support for Freescale LS1046AFRWY platform.
1821 The LS1046A Freeway Board (FRWY) is a high-performance
1822 development platform that supports the QorIQ LS1046A
1823 Layerscape Architecture processor.
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001824
Michael Walle36ba7642020-10-15 23:08:57 +02001825config TARGET_SL28
1826 bool "Support sl28"
1827 select ARCH_LS1028A
1828 select ARM64
1829 select ARMV8_MULTIENTRY
1830 select SUPPORT_SPL
1831 select BINMAN
Michael Walleb53a4f32021-03-26 19:40:57 +01001832 select DM
1833 select DM_GPIO
1834 select DM_I2C
1835 select DM_MMC
1836 select DM_SPI_FLASH
1837 select DM_ETH
1838 select DM_MDIO
Simon Glass3933d292021-08-01 18:54:44 -06001839 select PCI
Michael Walleb53a4f32021-03-26 19:40:57 +01001840 select DM_RNG
1841 select DM_RTC
1842 select DM_SCSI
Michael Walle7a66ef02021-03-26 19:40:58 +01001843 select DM_SERIAL
Michael Walleb53a4f32021-03-26 19:40:57 +01001844 select DM_SPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001845 select GPIO_EXTRA_HEADER
Michael Walleb53a4f32021-03-26 19:40:57 +01001846 select SPL_DM if SPL
1847 select SPL_DM_SPI if SPL
1848 select SPL_DM_SPI_FLASH if SPL
1849 select SPL_DM_I2C if SPL
1850 select SPL_DM_MMC if SPL
1851 select SPL_DM_SERIAL if SPL
Michael Walle36ba7642020-10-15 23:08:57 +02001852 help
1853 Support for Kontron SMARC-sAL28 board.
1854
Mathew McBridee605fb12022-01-31 18:34:43 +05301855config TARGET_TEN64
1856 bool "Support ten64"
1857 select ARCH_LS1088A
1858 select ARCH_MISC_INIT
1859 select ARM64
1860 select ARMV8_MULTIENTRY
1861 select ARCH_SUPPORT_TFABOOT
1862 select BOARD_LATE_INIT
1863 select SUPPORT_SPL
1864 select FSL_DDR_INTERACTIVE if !SD_BOOT
1865 select GPIO_EXTRA_HEADER
1866 help
1867 Support for Traverse Technologies Ten64 board, based
1868 on NXP LS1088A.
1869
Masahiro Yamada82069432014-10-03 19:21:07 +09001870config ARCH_UNIPHIER
Masahiro Yamada563ee4c2015-05-29 17:30:01 +09001871 bool "Socionext UniPhier SoCs"
Tom Rini22d567e2017-01-22 19:43:11 -05001872 select BOARD_LATE_INIT
Masahiro Yamada85eb8262015-03-31 12:47:54 +09001873 select DM
Masahiro Yamadaae8d7d52020-05-07 22:11:19 +09001874 select DM_ETH
Masahiro Yamada5f128922016-02-16 17:03:50 +09001875 select DM_GPIO
Masahiro Yamada85eb8262015-03-31 12:47:54 +09001876 select DM_I2C
Masahiro Yamada867453e2016-02-18 19:52:49 +09001877 select DM_MMC
Masahiro Yamada8fc53822020-01-30 22:07:59 +09001878 select DM_MTD
Masahiro Yamada2aa4b5b2016-10-08 13:25:31 +09001879 select DM_RESET
Masahiro Yamada694adf12016-09-14 01:05:59 +09001880 select DM_SERIAL
Masahiro Yamadae0a6fa82018-07-19 16:28:25 +09001881 select OF_BOARD_SETUP
Masahiro Yamada694adf12016-09-14 01:05:59 +09001882 select OF_CONTROL
1883 select OF_LIBFDT
Masahiro Yamada0c977252016-09-17 03:33:01 +09001884 select PINCTRL
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +08001885 select SPL_BOARD_INIT if SPL
Masahiro Yamadadabee242017-01-21 18:05:22 +09001886 select SPL_DM if SPL
1887 select SPL_LIBCOMMON_SUPPORT if SPL
1888 select SPL_LIBGENERIC_SUPPORT if SPL
1889 select SPL_OF_CONTROL if SPL
1890 select SPL_PINCTRL if SPL
Masahiro Yamada694adf12016-09-14 01:05:59 +09001891 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +02001892 imply CMD_DM
Masahiro Yamada577242b2018-07-20 21:47:18 +09001893 imply DISTRO_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -04001894 imply FAT_WRITE
Masahiro Yamada563ee4c2015-05-29 17:30:01 +09001895 help
1896 Support for UniPhier SoC family developed by Socionext Inc.
1897 (formerly, System LSI Business Division of Panasonic Corporation)
Masahiro Yamada82069432014-10-03 19:21:07 +09001898
Masami Hiramatsu7c741272021-06-04 18:45:10 +09001899config ARCH_SYNQUACER
1900 bool "Socionext SynQuacer SoCs"
1901 select ARM64
1902 select DM
1903 select GIC_V3
1904 select PSCI_RESET
1905 select SYSRESET
1906 select SYSRESET_PSCI
1907 select OF_CONTROL
1908 help
1909 Support for SynQuacer SoC family developed by Socionext Inc.
1910 This SoC is used on 96boards EE DeveloperBox.
1911
Trevor Woerner2bcc1ed2020-05-06 08:02:42 -04001912config ARCH_STM32
Patrick Delaunay85b53972018-03-12 10:46:10 +01001913 bool "Support STMicroelectronics STM32 MCU with cortex M"
rev13@wp.pl6b5e5a92015-03-01 12:44:42 +01001914 select CPU_V7M
Kamil Lulko75d48a62015-12-01 09:08:19 +01001915 select DM
1916 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +02001917 imply CMD_DM
rev13@wp.pl6b5e5a92015-03-01 12:44:42 +01001918
Patrice Chotard5b428242017-02-21 13:37:04 +01001919config ARCH_STI
1920 bool "Support STMicrolectronics SoCs"
Michal Simek84f3dec2018-07-23 15:55:13 +02001921 select BLK
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301922 select CPU_V7A
Patrice Chotard42d742b2017-02-21 13:37:07 +01001923 select DM
Patrice Chotard2eea7d82017-02-21 13:37:09 +01001924 select DM_MMC
Patrice Chotard1235aa02017-03-22 10:54:03 +01001925 select DM_RESET
Michal Simek84f3dec2018-07-23 15:55:13 +02001926 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +02001927 imply CMD_DM
Patrice Chotard5b428242017-02-21 13:37:04 +01001928 help
1929 Support for STMicroelectronics STiH407/10 SoC family.
1930 This SoC is used on Linaro 96Board STiH410-B2260
1931
Patrick Delaunay85b53972018-03-12 10:46:10 +01001932config ARCH_STM32MP
1933 bool "Support STMicroelectronics STM32MP Socs with cortex A"
Patrick Delaunayc5d15652018-03-20 10:54:53 +01001934 select ARCH_MISC_INIT
Patrick Delaunayf8fe21d2020-04-01 09:07:33 +02001935 select ARCH_SUPPORT_TFABOOT
Patrick Delaunay85b53972018-03-12 10:46:10 +01001936 select BOARD_LATE_INIT
1937 select CLK
1938 select DM
1939 select DM_GPIO
1940 select DM_RESET
1941 select DM_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02001942 select MISC
Patrick Delaunay85b53972018-03-12 10:46:10 +01001943 select OF_CONTROL
1944 select OF_LIBFDT
Patrick Delaunaya6f03912019-07-05 17:20:14 +02001945 select OF_SYSTEM_SETUP
Patrick Delaunay85b53972018-03-12 10:46:10 +01001946 select PINCTRL
1947 select REGMAP
1948 select SUPPORT_SPL
1949 select SYSCON
Patrick Delaunay32ddd262018-03-20 14:15:06 +01001950 select SYSRESET
Patrick Delaunay85b53972018-03-12 10:46:10 +01001951 select SYS_THUMB_BUILD
Kever Yang525ea472019-04-02 20:41:25 +08001952 imply SPL_SYSRESET
Michal Simek2e7c8192018-07-23 15:55:14 +02001953 imply CMD_DM
Patrick Delaunay4e8dbe22019-04-12 11:55:46 +02001954 imply CMD_POWEROFF
Patrick Delaunay03552502019-07-30 19:16:28 +02001955 imply OF_LIBFDT_OVERLAY
Patrick Delaunayd70e3f82019-02-27 17:01:11 +01001956 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Patrick Delaunay64e02e92019-04-18 17:32:38 +02001957 imply USE_PREBOOT
Simon Glass65831d92021-12-18 11:27:50 -07001958 imply TIMESTAMP
Patrick Delaunay85b53972018-03-12 10:46:10 +01001959 help
1960 Support for STM32MP SoC family developed by STMicroelectronics,
1961 MPUs based on ARM cortex A core
Patrick Delaunay5d061412019-02-12 11:44:39 +01001962 U-BOOT is running in DDR, loaded by the First Stage BootLoader (FSBL).
1963 FSBL can be TF-A: Trusted Firmware for Cortex A, for trusted boot
1964 chain.
1965 SPL is the unsecure FSBL for the basic boot chain.
Patrick Delaunay85b53972018-03-12 10:46:10 +01001966
Simon Glass2cffe662015-08-30 16:55:38 -06001967config ARCH_ROCKCHIP
1968 bool "Support Rockchip SoCs"
Simon Glass94106272016-06-12 23:30:14 -06001969 select BLK
Johan Gunnarsson5dd60ce2021-07-25 16:25:58 +02001970 select BINMAN if SPL_OPTEE || (SPL && !ARM64)
Simon Glass2cffe662015-08-30 16:55:38 -06001971 select DM
Simon Glass94106272016-06-12 23:30:14 -06001972 select DM_GPIO
1973 select DM_I2C
1974 select DM_MMC
Michal Simek84f3dec2018-07-23 15:55:13 +02001975 select DM_PWM
1976 select DM_REGULATOR
Simon Glass94106272016-06-12 23:30:14 -06001977 select DM_SERIAL
1978 select DM_SPI
1979 select DM_SPI_FLASH
Philipp Tomsichb6f395c2017-10-10 16:21:03 +02001980 select ENABLE_ARM_SOC_BOOT0_HOOK
Michal Simek84f3dec2018-07-23 15:55:13 +02001981 select OF_CONTROL
Adam Ford4e96ff82018-04-15 13:51:26 -04001982 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +02001983 select SPL_DM if SPL
Lukasz Majewski76f442982020-06-04 23:11:53 +08001984 select SPL_DM_SPI if SPL
1985 select SPL_DM_SPI_FLASH if SPL
Michal Simek84f3dec2018-07-23 15:55:13 +02001986 select SYS_MALLOC_F
1987 select SYS_THUMB_BUILD if !ARM64
1988 imply ADC
Michal Simek2e7c8192018-07-23 15:55:14 +02001989 imply CMD_DM
Kever Yang2563ee82019-03-29 09:08:58 +08001990 imply DEBUG_UART_BOARD_INIT
Masahiro Yamada9afc6c52018-04-25 18:47:52 +09001991 imply DISTRO_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -04001992 imply FAT_WRITE
Philipp Tomsich2fa7b7e2017-09-20 13:50:13 +02001993 imply SARADC_ROCKCHIP
Michal Simek84f3dec2018-07-23 15:55:13 +02001994 imply SPL_SYSRESET
Thomas Hebb1bda4322019-11-15 08:48:57 -08001995 imply SPL_SYS_MALLOC_SIMPLE
Kever Yang4a3448c2018-04-19 11:37:09 +08001996 imply SYS_NS16550
Michal Simek84f3dec2018-07-23 15:55:13 +02001997 imply TPL_SYSRESET
1998 imply USB_FUNCTION_FASTBOOT
Simon Glass2cffe662015-08-30 16:55:38 -06001999
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07002000config ARCH_OCTEONTX
2001 bool "Support OcteonTX SoCs"
Stefan Roesefbd18652020-09-23 11:01:30 +02002002 select CLK
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07002003 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09002004 select GPIO_EXTRA_HEADER
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07002005 select ARM64
2006 select OF_CONTROL
2007 select OF_LIVE
2008 select BOARD_LATE_INIT
2009 select SYS_CACHE_SHIFT_7
Tom Rini50e6f1b2021-12-12 22:12:32 -05002010 select SYS_PCI_64BIT if PCI
Simon Glass94886db2021-12-16 20:59:36 -07002011 imply OF_HAS_PRIOR_STAGE
Suneel Garapatid9e72462019-10-19 18:47:37 -07002012
2013config ARCH_OCTEONTX2
2014 bool "Support OcteonTX2 SoCs"
Stefan Roesefbd18652020-09-23 11:01:30 +02002015 select CLK
Suneel Garapatid9e72462019-10-19 18:47:37 -07002016 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09002017 select GPIO_EXTRA_HEADER
Suneel Garapatid9e72462019-10-19 18:47:37 -07002018 select ARM64
2019 select OF_CONTROL
2020 select OF_LIVE
2021 select BOARD_LATE_INIT
2022 select SYS_CACHE_SHIFT_7
Tom Rini50e6f1b2021-12-12 22:12:32 -05002023 select SYS_PCI_64BIT if PCI
Simon Glass94886db2021-12-16 20:59:36 -07002024 imply OF_HAS_PRIOR_STAGE
Suneel Garapatid9e72462019-10-19 18:47:37 -07002025
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07002026config TARGET_THUNDERX_88XX
2027 bool "Support ThunderX 88xx"
Marek Vasut09ab8ad2016-06-01 02:33:53 +02002028 select ARM64
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09002029 select GPIO_EXTRA_HEADER
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07002030 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +01002031 select PL01X_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02002032 select SYS_CACHE_SHIFT_7
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07002033
maxims@google.comf57bd002017-01-18 13:44:55 -08002034config ARCH_ASPEED
2035 bool "Support Aspeed SoCs"
maxims@google.comf57bd002017-01-18 13:44:55 -08002036 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +02002037 select OF_CONTROL
Michal Simek2e7c8192018-07-23 15:55:14 +02002038 imply CMD_DM
maxims@google.comf57bd002017-01-18 13:44:55 -08002039
liu hao1c4a2c42019-10-31 07:51:08 +00002040config TARGET_DURIAN
2041 bool "Support Phytium Durian Platform"
2042 select ARM64
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09002043 select GPIO_EXTRA_HEADER
liu hao1c4a2c42019-10-31 07:51:08 +00002044 help
2045 Support for durian platform.
2046 It has 2GB Sdram, uart and pcie.
2047
weichangzheng74b45192022-03-02 15:09:05 +08002048config TARGET_POMELO
2049 bool "Support Phytium Pomelo Platform"
2050 select ARM64
2051 select DM
2052 select AHCI
2053 select SCSI_AHCI
2054 select AHCI_PCI
2055 select BLK
2056 select PCI
2057 select DM_PCI
2058 select SCSI
2059 select DM_SCSI
2060 select DM_SERIAL
2061 select DM_ETH if NET
2062 imply CMD_PCI
2063 help
2064 Support for pomelo platform.
2065 It has 8GB Sdram, uart and pcie.
2066
Alex Nemirovsky1ecad072020-01-30 12:34:59 -08002067config TARGET_PRESIDIO_ASIC
2068 bool "Support Cortina Presidio ASIC Platform"
2069 select ARM64
Tom Rini249f11f2021-08-19 14:19:39 -04002070 select GICV2
Alex Nemirovsky1ecad072020-01-30 12:34:59 -08002071
Andrii Anisov355d1e42020-08-06 12:42:47 +03002072config TARGET_XENGUEST_ARM64
2073 bool "Xen guest ARM64"
2074 select ARM64
2075 select XEN
2076 select OF_CONTROL
2077 select LINUX_KERNEL_IMAGE_HEADER
Peng Fan8162f8f2020-08-06 12:42:50 +03002078 select XEN_SERIAL
Oleksandr Andrushchenko4b728452020-08-06 12:42:53 +03002079 select SSCANF
Simon Glass94886db2021-12-16 20:59:36 -07002080 imply OF_HAS_PRIOR_STAGE
2081
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002082endchoice
2083
Tom Rini4cc38852021-08-30 09:16:30 -04002084config SUPPORT_PASSING_ATAGS
2085 bool "Support pre-devicetree ATAG-based booting"
2086 depends on !ARM64
2087 imply SETUP_MEMORY_TAGS
2088 help
2089 Support for booting older Linux kernels, using ATAGs rather than
2090 passing a devicetree. This is option is rarely used, and the
2091 semantics are defined at
2092 https://www.kernel.org/doc/Documentation/arm/Booting at section 4a.
2093
2094config SETUP_MEMORY_TAGS
2095 bool "Pass memory size information via ATAG"
2096 depends on SUPPORT_PASSING_ATAGS
2097
2098config CMDLINE_TAG
2099 bool "Pass Linux kernel cmdline via ATAG"
2100 depends on SUPPORT_PASSING_ATAGS
2101
2102config INITRD_TAG
2103 bool "Pass initrd starting point and size via ATAG"
2104 depends on SUPPORT_PASSING_ATAGS
2105
2106config REVISION_TAG
2107 bool "Pass system revision via ATAG"
2108 depends on SUPPORT_PASSING_ATAGS
2109
2110config SERIAL_TAG
2111 bool "Pass system serial number via ATAG"
2112 depends on SUPPORT_PASSING_ATAGS
2113
Tom Riniea1e52b2021-08-30 09:16:31 -04002114config STATIC_MACH_TYPE
2115 bool "Statically define the Machine ID number"
2116 help
2117 When booting via ATAGs, enable this option if we know the correct
2118 machine ID number to use at compile time. Some systems will be
2119 passed the number dynamically by whatever loads U-Boot.
2120
2121config MACH_TYPE
2122 int "Machine ID number"
2123 depends on STATIC_MACH_TYPE
2124 help
2125 When booting via ATAGs, the machine type must be passed as a number.
2126 For the full list see https://www.arm.linux.org.uk/developer/machines
2127
AKASHI Takahirofb83f752019-07-03 10:44:39 +09002128config ARCH_SUPPORT_TFABOOT
2129 bool
2130
2131config TFABOOT
2132 bool "Support for booting from TF-A"
2133 depends on ARCH_SUPPORT_TFABOOT
AKASHI Takahirofb83f752019-07-03 10:44:39 +09002134 help
Andre Przywara41087af2020-09-30 15:45:07 +01002135 Some platforms support the setup of secure registers (for instance
2136 for CPU errata handling) or provide secure services like PSCI.
2137 Those services could also be provided by other firmware parts
2138 like TF-A (Trusted Firmware for Cortex-A), in which case U-Boot
2139 does not need to (and cannot) execute this code.
2140 Enabling this option will make a U-Boot binary that is relying
2141 on other firmware layers to provide secure functionality.
AKASHI Takahirofb83f752019-07-03 10:44:39 +09002142
Andrew F. Davisd3fe9172018-02-14 11:53:37 -06002143config TI_SECURE_DEVICE
2144 bool "HS Device Type Support"
Andrew F. Davis2ed41072019-04-12 12:54:45 -04002145 depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
Andrew F. Davisd3fe9172018-02-14 11:53:37 -06002146 help
2147 If a high secure (HS) device type is being used, this config
2148 must be set. This option impacts various aspects of the
2149 build system (to create signed boot images that can be
2150 authenticated) and the code. See the doc/README.ti-secure
2151 file for further details.
2152
Tom Rinib2f88a32019-03-19 07:14:37 -04002153if AM43XX || AM33XX || OMAP54XX || ARCH_KEYSTONE
2154config ISW_ENTRY_ADDR
2155 hex "Address in memory or XIP address of bootloader entry point"
2156 default 0x402F4000 if AM43XX
2157 default 0x402F0400 if AM33XX
2158 default 0x40301350 if OMAP54XX
2159 help
2160 After any reset, the boot ROM searches the boot media for a valid
2161 boot image. For non-XIP devices, the ROM then copies the image into
2162 internal memory. For all boot modes, after the ROM processes the
2163 boot image it eventually computes the entry point address depending
2164 on the device type (secure/non-secure), boot media (xip/non-xip) and
2165 image headers.
2166endif
2167
Tom Rini43b9c292021-12-17 18:08:45 -05002168config SYS_KWD_CONFIG
2169 string "kwbimage config file path"
2170 depends on ARCH_KIRKWOOD || ARCH_MVEBU
2171 default "arch/arm/mach-mvebu/kwbimage.cfg"
2172 help
2173 Path within the source directory to the kwbimage.cfg file to use
2174 when packaging the U-Boot image for use.
2175
Mark Kettenis58d51272021-10-23 16:58:03 +02002176source "arch/arm/mach-apple/Kconfig"
2177
maxims@google.comf57bd002017-01-18 13:44:55 -08002178source "arch/arm/mach-aspeed/Kconfig"
2179
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +09002180source "arch/arm/mach-at91/Kconfig"
2181
Masahiro Yamadaed22cc72015-03-19 19:42:56 +09002182source "arch/arm/mach-bcm283x/Kconfig"
Masahiro Yamadae604ef92014-08-31 07:11:01 +09002183
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -04002184source "arch/arm/mach-bcmstb/Kconfig"
2185
Masahiro Yamadaed22cc72015-03-19 19:42:56 +09002186source "arch/arm/mach-davinci/Kconfig"
Simon Glass13fc6a22015-02-05 21:41:39 -07002187
Thomas Abraham74f84862015-08-03 17:58:00 +05302188source "arch/arm/mach-exynos/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +09002189
Masahiro Yamada95ec48b2015-02-20 17:04:08 +09002190source "arch/arm/mach-highbank/Kconfig"
Masahiro Yamada52ece9c2014-08-31 07:11:07 +09002191
Masahiro Yamadacad44162015-04-21 21:59:36 +09002192source "arch/arm/mach-integrator/Kconfig"
2193
Robert Markoe7a34f12020-07-06 10:37:54 +02002194source "arch/arm/mach-ipq40xx/Kconfig"
2195
Lokesh Vutla9bdec002018-08-27 15:57:08 +05302196source "arch/arm/mach-k3/Kconfig"
2197
Masahiro Yamadaf058b792015-02-20 17:04:11 +09002198source "arch/arm/mach-keystone/Kconfig"
Masahiro Yamada32013fb2014-08-31 07:11:05 +09002199
Masahiro Yamada5e5e23a2015-02-20 17:04:06 +09002200source "arch/arm/mach-kirkwood/Kconfig"
Masahiro Yamadad7570852014-08-31 07:10:59 +09002201
Trevor Woerner28d261f2020-05-06 08:02:36 -04002202source "arch/arm/mach-lpc32xx/Kconfig"
Vladimir Zapolskiy31d0e962018-09-17 21:43:03 +03002203
Stefan Roese383e0c12015-08-25 13:18:38 +02002204source "arch/arm/mach-mvebu/Kconfig"
2205
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07002206source "arch/arm/mach-octeontx/Kconfig"
Suneel Garapatid9e72462019-10-19 18:47:37 -07002207
2208source "arch/arm/mach-octeontx2/Kconfig"
2209
York Sun149eb332016-09-26 08:09:27 -07002210source "arch/arm/cpu/armv7/ls102xa/Kconfig"
2211
Magnus Liljac74f70f2018-05-11 14:06:54 +02002212source "arch/arm/mach-imx/mx3/Kconfig"
2213
Peng Fan66294882018-01-10 13:20:19 +08002214source "arch/arm/mach-imx/mx5/Kconfig"
2215
2216source "arch/arm/mach-imx/mx6/Kconfig"
Peng Fan2c7b1702017-02-22 16:21:39 +08002217
Stefano Babic33731bc2017-06-29 10:16:06 +02002218source "arch/arm/mach-imx/mx7/Kconfig"
Adrian Alonso98810772015-09-03 11:49:28 -05002219
Peng Fan66294882018-01-10 13:20:19 +08002220source "arch/arm/mach-imx/mx7ulp/Kconfig"
Boris BREZILLON51e82662015-03-04 13:13:03 +01002221
Peng Fan6bae1c72018-10-18 14:28:08 +02002222source "arch/arm/mach-imx/imx8/Kconfig"
2223
Peng Fan39945c12018-11-20 10:19:25 +00002224source "arch/arm/mach-imx/imx8m/Kconfig"
Andrej Rosano1ac4bca2015-04-08 18:56:29 +02002225
Peng Fan570dc4f2021-08-07 16:00:30 +08002226source "arch/arm/mach-imx/imx8ulp/Kconfig"
2227
Giulio Benetti9dba2622020-01-10 15:51:47 +01002228source "arch/arm/mach-imx/imxrt/Kconfig"
2229
Stefan Agner081ea1f2018-02-06 09:44:34 +01002230source "arch/arm/mach-imx/mxs/Kconfig"
2231
Tom Rini28eec372016-11-07 21:34:54 -05002232source "arch/arm/mach-omap2/Kconfig"
Madan Srinivaseba13cd2016-05-19 19:10:43 -05002233
York Sunbad49842016-09-26 08:09:24 -07002234source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
2235
Masahiro Yamada22537642015-02-20 17:04:09 +09002236source "arch/arm/mach-orion5x/Kconfig"
Masahiro Yamada04ffbc12014-08-31 07:11:06 +09002237
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05302238source "arch/arm/mach-owl/Kconfig"
2239
Nobuhiro Iwamatsuc91ef682015-10-09 16:40:09 +09002240source "arch/arm/mach-rmobile/Kconfig"
Masahiro Yamadac9c54e22014-08-31 07:10:57 +09002241
Beniamino Galvanid1037e42016-05-08 08:30:16 +02002242source "arch/arm/mach-meson/Kconfig"
2243
developerf4a079c2018-11-15 10:07:52 +08002244source "arch/arm/mach-mediatek/Kconfig"
2245
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +03002246source "arch/arm/mach-qemu/Kconfig"
2247
Simon Glass2cffe662015-08-30 16:55:38 -06002248source "arch/arm/mach-rockchip/Kconfig"
2249
Minkyu Kang56b820a2015-11-20 15:24:57 +09002250source "arch/arm/mach-s5pc1xx/Kconfig"
Simon Glass96aa0722014-10-07 22:01:50 -06002251
Mateusz Kulikowski2507d822016-03-31 23:12:32 +02002252source "arch/arm/mach-snapdragon/Kconfig"
2253
Masahiro Yamada144a3e02015-04-21 20:38:20 +09002254source "arch/arm/mach-socfpga/Kconfig"
2255
Patrice Chotard5b428242017-02-21 13:37:04 +01002256source "arch/arm/mach-sti/Kconfig"
2257
Vikas Manocha95c89192016-01-15 17:49:06 -08002258source "arch/arm/mach-stm32/Kconfig"
2259
Patrick Delaunay85b53972018-03-12 10:46:10 +01002260source "arch/arm/mach-stm32mp/Kconfig"
2261
Masahiro Yamada4976a222017-04-28 19:42:18 +09002262source "arch/arm/mach-sunxi/Kconfig"
2263
Masahiro Yamadaed1632a2015-02-20 17:04:04 +09002264source "arch/arm/mach-tegra/Kconfig"
Masahiro Yamada73a5b1a2014-08-31 07:10:56 +09002265
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01002266source "arch/arm/mach-u8500/Kconfig"
2267
Masahiro Yamadaf8563982015-02-27 02:26:42 +09002268source "arch/arm/mach-uniphier/Kconfig"
Masahiro Yamada82069432014-10-03 19:21:07 +09002269
Stefan Agnerd53c0a42017-03-13 18:41:36 -07002270source "arch/arm/cpu/armv7/vf610/Kconfig"
2271
Masahiro Yamada43246cc2015-03-16 16:43:22 +09002272source "arch/arm/mach-zynq/Kconfig"
Masahiro Yamada73a5b1a2014-08-31 07:10:56 +09002273
Michal Simek7f60b232019-01-17 08:22:43 +01002274source "arch/arm/mach-zynqmp/Kconfig"
2275
Michal Simek4b066a12018-08-22 14:55:27 +02002276source "arch/arm/mach-versal/Kconfig"
2277
Michal Simekb513bcd2018-04-12 17:39:46 +02002278source "arch/arm/mach-zynqmp-r5/Kconfig"
2279
Hans de Goede85437352014-11-14 09:34:30 +01002280source "arch/arm/cpu/armv7/Kconfig"
2281
Linus Walleij74771392015-03-09 10:53:21 +01002282source "arch/arm/cpu/armv8/Kconfig"
2283
Stefano Babic33731bc2017-06-29 10:16:06 +02002284source "arch/arm/mach-imx/Kconfig"
Boris BREZILLON6b9b9a02015-03-04 13:13:04 +01002285
Stefan Bosch6563ea22020-07-10 19:07:26 +02002286source "arch/arm/mach-nexell/Kconfig"
2287
Jim Liu4359b332022-04-19 13:32:19 +08002288source "arch/arm/mach-npcm/Kconfig"
2289
Usama Arif9218a112020-08-12 16:12:53 +01002290source "board/armltd/total_compute/Kconfig"
2291
Heiko Schocherf1163962016-06-07 08:31:25 +02002292source "board/bosch/shc/Kconfig"
Sjoerd Simonsf93564c2019-02-25 15:33:00 +00002293source "board/bosch/guardian/Kconfig"
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07002294source "board/Marvell/octeontx/Kconfig"
Suneel Garapatid9e72462019-10-19 18:47:37 -07002295source "board/Marvell/octeontx2/Kconfig"
Kristian Amlie8f8a2992021-09-07 08:37:51 +02002296source "board/armltd/vexpress/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002297source "board/armltd/vexpress64/Kconfig"
Alex Nemirovsky1ecad072020-01-30 12:34:59 -08002298source "board/cortina/presidio-asic/Kconfig"
Philippe Reynes2d299182019-01-31 18:57:36 +01002299source "board/broadcom/bcm963158/Kconfig"
Philippe Reynes0fb541d2022-02-11 19:18:38 +01002300source "board/broadcom/bcm96753ref/Kconfig"
Philippe Reynes0d87fc42020-01-07 20:14:17 +01002301source "board/broadcom/bcm968360bg/Kconfig"
Philippe Reynes697f15e2018-10-11 18:31:58 +02002302source "board/broadcom/bcm968580xref/Kconfig"
Rayagonda Kokatanur1d8fa362020-07-15 22:48:55 +05302303source "board/broadcom/bcmns3/Kconfig"
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07002304source "board/cavium/thunderx/Kconfig"
Felix Brack1ba8c9e2018-01-23 18:27:22 +01002305source "board/eets/pdu001/Kconfig"
Bin Meng53290422018-10-15 02:21:18 -07002306source "board/emulation/qemu-arm/Kconfig"
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05302307source "board/freescale/ls2080aqds/Kconfig"
2308source "board/freescale/ls2080ardb/Kconfig"
Ashish Kumar227b4bc2017-08-31 16:12:54 +05302309source "board/freescale/ls1088a/Kconfig"
Yuantian Tang92f18ff2019-04-10 16:43:34 +08002310source "board/freescale/ls1028a/Kconfig"
Wang Huanf0ce7d62014-09-05 13:52:44 +08002311source "board/freescale/ls1021aqds/Kconfig"
Shaohui Xiedd335672015-11-11 17:58:37 +08002312source "board/freescale/ls1043aqds/Kconfig"
Wang Huanddf89f92014-09-05 13:52:45 +08002313source "board/freescale/ls1021atwr/Kconfig"
Jianchao Wange5332ba2019-07-19 00:30:01 +03002314source "board/freescale/ls1021atsn/Kconfig"
Feng Li39e112d2016-11-03 14:15:17 +08002315source "board/freescale/ls1021aiot/Kconfig"
Shaohui Xie085ac1c2016-09-07 17:56:14 +08002316source "board/freescale/ls1046aqds/Kconfig"
Mingkai Hueee86ff2015-10-26 19:47:52 +08002317source "board/freescale/ls1043ardb/Kconfig"
Mingkai Hud2396512016-09-07 18:47:28 +08002318source "board/freescale/ls1046ardb/Kconfig"
Vabhav Sharma51641912019-06-06 12:35:28 +00002319source "board/freescale/ls1046afrwy/Kconfig"
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05302320source "board/freescale/ls1012aqds/Kconfig"
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05302321source "board/freescale/ls1012ardb/Kconfig"
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05302322source "board/freescale/ls1012afrdm/Kconfig"
Priyanka Jainfd45ca02018-11-28 13:04:27 +00002323source "board/freescale/lx2160a/Kconfig"
Marcin Niestroj20315d22017-01-25 09:53:08 +01002324source "board/grinn/chiliboard/Kconfig"
Tom Rinibdf4f182015-09-02 15:32:20 -04002325source "board/hisilicon/hikey/Kconfig"
Manivannan Sadhasivamcf33f922019-08-02 20:40:09 +05302326source "board/hisilicon/hikey960/Kconfig"
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02002327source "board/hisilicon/poplar/Kconfig"
Ladislav Michl10bdc712017-04-01 17:17:16 +02002328source "board/isee/igep003x/Kconfig"
Michael Walle36ba7642020-10-15 23:08:57 +02002329source "board/kontron/sl28/Kconfig"
Parthiban Nallathambi8214fd92020-07-27 16:48:41 +02002330source "board/myir/mys_6ulx/Kconfig"
Navin Sankar Velliangiri3b2cc732021-05-18 09:03:20 +05302331source "board/seeed/npi_imx6ull/Kconfig"
Masami Hiramatsu7c741272021-06-04 18:45:10 +09002332source "board/socionext/developerbox/Kconfig"
Vikas Manocha33913c52014-11-18 10:42:22 -08002333source "board/st/stv0991/Kconfig"
Enric Balletbò i Serra9d89b082015-09-07 07:43:20 +02002334source "board/tcl/sl50/Kconfig"
Mathew McBridee605fb12022-01-31 18:34:43 +05302335source "board/traverse/ten64/Kconfig"
Parthiban Nallathambi5e9147d2019-04-18 00:04:09 +02002336source "board/variscite/dart_6ul/Kconfig"
Yegor Yefremovfa8b71b2015-05-29 19:27:29 +02002337source "board/vscom/baltos/Kconfig"
liu hao1c4a2c42019-10-31 07:51:08 +00002338source "board/phytium/durian/Kconfig"
weichangzheng74b45192022-03-02 15:09:05 +08002339source "board/phytium/pomelo/Kconfig"
Andrii Anisov355d1e42020-08-06 12:42:47 +03002340source "board/xen/xenguest_arm64/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002341
Masahiro Yamadadf00e522014-09-01 11:06:34 +09002342source "arch/arm/Kconfig.debug"
2343
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002344endmenu
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +02002345
2346config SPL_LDSCRIPT
Michal Simekf751ff52018-07-23 15:55:12 +02002347 default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if (ARCH_MX23 || ARCH_MX28) && !SPL_FRAMEWORK
2348 default "arch/arm/cpu/arm1136/u-boot-spl.lds" if CPU_ARM1136
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +02002349 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64