blob: 23ee25269a24a6fcb3694182be1b11e98fe60348 [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
Dan Carpenter391b84e2024-03-04 10:04:29 +03009 select 64BIT
Masahiro Yamada653e9fe2016-07-25 19:56:03 +090010 select PHYS_64BIT
Tom Rini84f9b612016-08-22 08:22:17 -040011 select SYS_CACHE_SHIFT_6
Sean Anderson13871e12022-04-12 10:59:04 -040012 imply SPL_SEPARATE_BSS
Masahiro Yamada0d46c342014-09-14 03:01:51 +090013
Marek Vasut355405c2021-08-30 15:05:23 +020014config ARM64_CRC32
15 bool "Enable support for CRC32 instruction"
Tom Rini83b60bd2023-04-05 19:48:51 -040016 depends on ARM64 && CC_IS_GCC
Marek Vasut355405c2021-08-30 15:05:23 +020017 default y
18 help
19 ARMv8 implements dedicated crc32 instruction for crc32 calculation.
20 This is faster than software crc32 calculation. This instruction may
21 not be present on all ARMv8.0, but is always present on ARMv8.1 and
22 newer.
23
Peng Fan8541b9f2022-04-13 17:47:18 +080024config COUNTER_FREQUENCY
25 int "Timer clock frequency"
26 depends on ARM64 || CPU_V7A
Peng Fan30c80dd2022-04-13 17:47:19 +080027 default 8000000 if IMX8 || MX7 || MX6UL || MX6ULL
28 default 24000000 if ARCH_SUNXI || ARCH_EXYNOS || ROCKCHIP_RK3128 || \
29 ROCKCHIP_RK3288 || ROCKCHIP_RK322X || ROCKCHIP_RK3036
30 default 25000000 if ARCH_LX2160A || ARCH_LX2162A || ARCH_LS1088A
31 default 100000000 if ARCH_ZYNQMP
Jit Loon Lim977071e2024-03-12 22:01:03 +080032 default 200000000 if ARCH_SOCFPGA && ARM64 && TARGET_SOCFPGA_AGILEX5
Peng Fan8541b9f2022-04-13 17:47:18 +080033 default 0
34 help
35 For platforms with ARMv8-A and ARMv7-A which features a system
36 counter, those platforms needs software to program the counter
37 frequency. Setup time clock frequency for certain platform.
38 0 means no need to configure the system counter frequency.
39 For platforms needs the frequency set in U-Boot with a
40 pre-defined value, should have the macro defined as a non-zero value.
41
Stephen Warren81c21372017-11-02 18:11:27 -060042config POSITION_INDEPENDENT
43 bool "Generate position-independent pre-relocation code"
Chia-Wei Wangbbd3c612021-08-03 10:50:10 +080044 depends on ARM64 || CPU_V7A
Stephen Warren81c21372017-11-02 18:11:27 -060045 help
46 U-Boot expects to be linked to a specific hard-coded address, and to
47 be loaded to and run from that address. This option lifts that
Edgar E. Iglesias63d73362020-09-09 19:07:24 +020048 restriction, thus allowing the code to be loaded to and executed from
49 almost any 4K aligned address. This logic relies on the relocation
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -050050 information that is embedded in the binary to support U-Boot
Stephen Warren81c21372017-11-02 18:11:27 -060051 relocating itself to the top-of-RAM later during execution.
Stephen Warrenb80fe6d2017-12-19 18:30:36 -070052
Masahiro Yamadabf4645c2019-06-26 13:51:46 +090053config INIT_SP_RELATIVE
54 bool "Specify the early stack pointer relative to the .bss section"
Chia-Wei Wang88103202021-08-03 10:50:09 +080055 depends on ARM64
Andre Przywara4d711892020-09-30 17:39:18 +010056 default n if ARCH_QEMU
Andre Przywaraa834b772020-09-30 17:39:15 +010057 default y if POSITION_INDEPENDENT
Stephen Warrenb80fe6d2017-12-19 18:30:36 -070058 help
59 U-Boot typically uses a hard-coded value for the stack pointer
Masahiro Yamadabf4645c2019-06-26 13:51:46 +090060 before relocation. Enable this option to instead calculate the
Stephen Warrenb80fe6d2017-12-19 18:30:36 -070061 initial SP at run-time. This is useful to avoid hard-coding addresses
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -050062 into U-Boot, so that it can be loaded and executed at arbitrary
Masahiro Yamadabf4645c2019-06-26 13:51:46 +090063 addresses and thus avoid using arbitrary addresses at runtime.
64
65 If this option is enabled, the early stack pointer is set to
66 &_bss_start with a offset value added. The offset is specified by
67 SYS_INIT_SP_BSS_OFFSET.
68
69config SYS_INIT_SP_BSS_OFFSET
70 int "Early stack offset from the .bss base address"
Chia-Wei Wang88103202021-08-03 10:50:09 +080071 depends on ARM64
Masahiro Yamadabf4645c2019-06-26 13:51:46 +090072 depends on INIT_SP_RELATIVE
73 default 524288
74 help
75 This option's value is the offset added to &_bss_start in order to
Stephen Warrenb80fe6d2017-12-19 18:30:36 -070076 calculate the stack pointer. This offset should be large enough so
77 that the early malloc region, global data (gd), and early stack usage
78 do not overlap any appended DTB.
Stephen Warren80a93652018-01-03 14:31:51 -070079
Pali Rohára4d6e0f2022-04-06 16:20:18 +020080config SPL_SYS_NO_VECTOR_TABLE
81 depends on SPL
82 bool
83
Csókás Bence2c6e70b2023-12-19 14:33:18 +010084config SPL_USE_SEPARATE_FAULT_HANDLERS
85 bool "Use separate fault handlers instead of a single common one"
86 depends on !SPL_SYS_NO_VECTOR_TABLE && !ARM64 && !CPU_V7M
87 help
88 Instead of a common fault handler, generate a separate one for
89 undefined_instruction, software_interrupt, prefetch_abort etc.
90 This is for debugging purposes, when you want to set breakpoints
91 on them separately.
92
Stephen Warren80a93652018-01-03 14:31:51 -070093config LINUX_KERNEL_IMAGE_HEADER
Chia-Wei Wang88103202021-08-03 10:50:09 +080094 depends on ARM64
Stephen Warren80a93652018-01-03 14:31:51 -070095 bool
96 help
97 Place a Linux kernel image header at the start of the U-Boot binary.
98 The format of the header is described in the Linux kernel source at
99 Documentation/arm64/booting.txt. This feature is useful since the
100 image header reports the amount of memory (BSS and similar) that
101 U-Boot needs to use, but which isn't part of the binary.
102
Stephen Warren80a93652018-01-03 14:31:51 -0700103config LNX_KRNL_IMG_TEXT_OFFSET_BASE
Chia-Wei Wang88103202021-08-03 10:50:09 +0800104 depends on LINUX_KERNEL_IMAGE_HEADER
Stephen Warren80a93652018-01-03 14:31:51 -0700105 hex
106 help
Simon Glass72cc5382022-10-20 18:22:39 -0600107 The value subtracted from CONFIG_TEXT_BASE to calculate the
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500108 TEXT_OFFSET value written to the Linux kernel image header.
Stephen Warren81c21372017-11-02 18:11:27 -0600109
Tom Rini249f11f2021-08-19 14:19:39 -0400110config GICV2
111 bool
112
113config GICV3
114 bool
115
Bharat Kumar Reddy Gooty436efc02019-12-16 09:09:43 -0800116config GIC_V3_ITS
117 bool "ARM GICV3 ITS"
Wasim Khan339539c2021-03-08 16:48:14 +0100118 select IRQ
Bharat Kumar Reddy Gooty436efc02019-12-16 09:09:43 -0800119 help
120 ARM GICV3 Interrupt translation service (ITS).
121 Basic support for programming locality specific peripheral
122 interrupts (LPI) configuration tables and enable LPI tables.
123 LPI configuration table can be used by u-boot or Linux.
124 ARM GICV3 has limitation, once the LPI table is enabled, LPI
125 configuration table can not be re-programmed, unless GICV3 reset.
126
Venkatesh Yadav Abbarapuda023da2024-03-06 16:54:41 +0530127config GICV3_SUPPORT_GIC600
128 bool "ARM GICV3 GIC600 SUPPORT"
129 help
130 ARM GIC-600 IP complies with ARM GICv3 architecture, but among others,
131 implements a power control register in the Redistributor frame.This
132 register must be programmed to mark the frame as powered on, before
133 accessing other registers in the frame. Rest of initialization sequence
134 remains the same.
135
Stephen Warren81c21372017-11-02 18:11:27 -0600136config STATIC_RELA
137 bool
Andre Przywaraf7582ee2020-09-30 17:39:13 +0100138 default y if ARM64
Stephen Warren81c21372017-11-02 18:11:27 -0600139
Lokesh Vutlaf94277d2016-03-24 16:02:00 +0530140config DMA_ADDR_T_64BIT
141 bool
142 default y if ARM64
143
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100144config HAS_VBAR
Tom Rinibca01962016-08-22 08:22:18 -0400145 bool
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100146
Albert ARIBAUDa3823222015-10-23 18:06:40 +0200147config HAS_THUMB2
Tom Rinibca01962016-08-22 08:22:18 -0400148 bool
Albert ARIBAUDa3823222015-10-23 18:06:40 +0200149
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900150config GPIO_EXTRA_HEADER
151 bool
152
Phil Edworthy3b8f16a2017-06-01 07:33:28 +0100153# Used for compatibility with asm files copied from the kernel
154config ARM_ASM_UNIFIED
155 bool
156 default y
157
158# Used for compatibility with asm files copied from the kernel
159config THUMB2_KERNEL
160 bool
161
Trevor Woernerba64b8b2019-05-03 09:40:59 -0400162config SYS_ICACHE_OFF
163 bool "Do not enable icache"
Trevor Woernerba64b8b2019-05-03 09:40:59 -0400164 help
165 Do not enable instruction cache in U-Boot.
166
Trevor Woerner43ec7e02019-05-03 09:41:00 -0400167config SPL_SYS_ICACHE_OFF
168 bool "Do not enable icache in SPL"
169 depends on SPL
170 default SYS_ICACHE_OFF
171 help
172 Do not enable instruction cache in SPL.
173
Trevor Woernerba64b8b2019-05-03 09:40:59 -0400174config SYS_DCACHE_OFF
175 bool "Do not enable dcache"
Trevor Woernerba64b8b2019-05-03 09:40:59 -0400176 help
177 Do not enable data cache in U-Boot.
178
Trevor Woerner43ec7e02019-05-03 09:41:00 -0400179config SPL_SYS_DCACHE_OFF
180 bool "Do not enable dcache in SPL"
181 depends on SPL
182 default SYS_DCACHE_OFF
183 help
184 Do not enable data cache in SPL.
185
Lokesh Vutla5a5bb6c2018-04-26 18:21:28 +0530186config SYS_ARM_CACHE_CP15
187 bool "CP15 based cache enabling support"
188 help
189 Select this if your processor suports enabling caches by using
190 CP15 registers.
191
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530192config SYS_ARM_MMU
193 bool "MMU-based Paged Memory Management Support"
Lokesh Vutla5a5bb6c2018-04-26 18:21:28 +0530194 select SYS_ARM_CACHE_CP15
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530195 help
196 Select if you want MMU-based virtualised addressing space
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500197 support via paged memory management.
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530198
Lokesh Vutla076ee452018-04-26 18:21:30 +0530199config SYS_ARM_MPU
200 bool 'Use the ARM v7 PMSA Compliant MPU'
201 help
202 Some ARM systems without an MMU have instead a Memory Protection
203 Unit (MPU) that defines the type and permissions for regions of
204 memory.
205 If your CPU has an MPU then you should choose 'y' here unless you
206 know that you do not want to use the MPU.
207
Tom Rinibacb52c2017-03-07 07:13:42 -0500208# If set, the workarounds for these ARM errata are applied early during U-Boot
209# startup. Note that in general these options force the workarounds to be
210# applied; no CPU-type/version detection exists, unlike the similar options in
211# the Linux kernel. Do not set these options unless they apply! Also note that
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500212# the following can be machine-specific errata. These do have ability to
213# provide rudimentary version and machine-specific checks, but expect no
Tom Rinibacb52c2017-03-07 07:13:42 -0500214# product checks:
215# CONFIG_ARM_ERRATA_430973
216# CONFIG_ARM_ERRATA_454179
217# CONFIG_ARM_ERRATA_621766
218# CONFIG_ARM_ERRATA_798870
219# CONFIG_ARM_ERRATA_801819
Nishanth Menon85515bf2018-06-12 15:24:08 -0500220# CONFIG_ARM_CORTEX_A8_CVE_2017_5715
Nishanth Menon6ffdeaa2018-06-12 15:24:09 -0500221# CONFIG_ARM_CORTEX_A15_CVE_2017_5715
Nishanth Menon85515bf2018-06-12 15:24:08 -0500222
Tom Rinibacb52c2017-03-07 07:13:42 -0500223config ARM_ERRATA_430973
224 bool
225
226config ARM_ERRATA_454179
227 bool
228
229config ARM_ERRATA_621766
230 bool
231
232config ARM_ERRATA_716044
233 bool
234
Siarhei Siamashkafe038a72017-03-06 03:16:53 +0200235config ARM_ERRATA_725233
236 bool
237
Tom Rinibacb52c2017-03-07 07:13:42 -0500238config ARM_ERRATA_742230
239 bool
240
241config ARM_ERRATA_743622
242 bool
243
244config ARM_ERRATA_751472
245 bool
246
247config ARM_ERRATA_761320
248 bool
249
250config ARM_ERRATA_773022
251 bool
252
253config ARM_ERRATA_774769
254 bool
255
256config ARM_ERRATA_794072
257 bool
258
259config ARM_ERRATA_798870
260 bool
261
262config ARM_ERRATA_801819
263 bool
264
265config ARM_ERRATA_826974
266 bool
267
268config ARM_ERRATA_828024
269 bool
270
271config ARM_ERRATA_829520
272 bool
273
274config ARM_ERRATA_833069
275 bool
276
277config ARM_ERRATA_833471
278 bool
279
Peng Fan5ac341f2017-08-08 13:34:52 +0800280config ARM_ERRATA_845369
Michal Simekf751ff52018-07-23 15:55:12 +0200281 bool
Peng Fan5ac341f2017-08-08 13:34:52 +0800282
Nisal Menukafaa993a2017-04-26 16:18:01 -0500283config ARM_ERRATA_852421
284 bool
285
286config ARM_ERRATA_852423
287 bool
288
Alison Wangc1293872017-12-28 13:00:55 +0800289config ARM_ERRATA_855873
290 bool
291
Nishanth Menon85515bf2018-06-12 15:24:08 -0500292config ARM_CORTEX_A8_CVE_2017_5715
293 bool
294
Nishanth Menon6ffdeaa2018-06-12 15:24:09 -0500295config ARM_CORTEX_A15_CVE_2017_5715
296 bool
297
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100298config CPU_ARM720T
Tom Rinibca01962016-08-22 08:22:18 -0400299 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400300 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530301 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100302
303config CPU_ARM920T
Tom Rinibca01962016-08-22 08:22:18 -0400304 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400305 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530306 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100307
308config CPU_ARM926EJS
Tom Rinibca01962016-08-22 08:22:18 -0400309 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400310 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530311 imply SYS_ARM_MMU
Sean Anderson13871e12022-04-12 10:59:04 -0400312 imply SPL_SEPARATE_BSS
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100313
314config CPU_ARM946ES
Tom Rinibca01962016-08-22 08:22:18 -0400315 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400316 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530317 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100318
319config CPU_ARM1136
Tom Rinibca01962016-08-22 08:22:18 -0400320 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400321 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530322 imply SYS_ARM_MMU
Sean Anderson13871e12022-04-12 10:59:04 -0400323 imply SPL_SEPARATE_BSS
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100324
325config CPU_ARM1176
Tom Rinibca01962016-08-22 08:22:18 -0400326 bool
327 select HAS_VBAR
Tom Rini84f9b612016-08-22 08:22:17 -0400328 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530329 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100330
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530331config CPU_V7A
Tom Rinibca01962016-08-22 08:22:18 -0400332 bool
Tom Rinibca01962016-08-22 08:22:18 -0400333 select HAS_THUMB2
Michal Simek84f3dec2018-07-23 15:55:13 +0200334 select HAS_VBAR
Tom Rini84f9b612016-08-22 08:22:17 -0400335 select SYS_CACHE_SHIFT_6
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530336 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100337
rev13@wp.plb3b57e82015-03-01 12:44:39 +0100338config CPU_V7M
339 bool
Tom Rinibca01962016-08-22 08:22:18 -0400340 select HAS_THUMB2
Lokesh Vutla076ee452018-04-26 18:21:30 +0530341 select SYS_ARM_MPU
Michal Simek84f3dec2018-07-23 15:55:13 +0200342 select SYS_CACHE_SHIFT_5
Tom Rini19bdef62018-05-07 20:46:52 -0400343 select SYS_THUMB_BUILD
Michal Simek84f3dec2018-07-23 15:55:13 +0200344 select THUMB2_KERNEL
rev13@wp.plb3b57e82015-03-01 12:44:39 +0100345
Michal Simekf4359382018-04-26 18:21:29 +0530346config CPU_V7R
347 bool
348 select HAS_THUMB2
Lokesh Vutla076ee452018-04-26 18:21:30 +0530349 select SYS_ARM_CACHE_CP15
Michal Simek84f3dec2018-07-23 15:55:13 +0200350 select SYS_ARM_MPU
351 select SYS_CACHE_SHIFT_6
Michal Simekf4359382018-04-26 18:21:29 +0530352
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100353config SYS_CPU
Tom Rinibca01962016-08-22 08:22:18 -0400354 default "arm720t" if CPU_ARM720T
355 default "arm920t" if CPU_ARM920T
356 default "arm926ejs" if CPU_ARM926EJS
357 default "arm946es" if CPU_ARM946ES
358 default "arm1136" if CPU_ARM1136
359 default "arm1176" if CPU_ARM1176
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530360 default "armv7" if CPU_V7A
Michal Simekf4359382018-04-26 18:21:29 +0530361 default "armv7" if CPU_V7R
Tom Rinibca01962016-08-22 08:22:18 -0400362 default "armv7m" if CPU_V7M
Masahiro Yamadadade3b02014-11-06 11:39:27 +0900363 default "armv8" if ARM64
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100364
Marek Vasutb06c9542016-05-26 18:01:36 +0200365config SYS_ARM_ARCH
366 int
367 default 4 if CPU_ARM720T
368 default 4 if CPU_ARM920T
369 default 5 if CPU_ARM926EJS
370 default 5 if CPU_ARM946ES
371 default 6 if CPU_ARM1136
372 default 6 if CPU_ARM1176
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530373 default 7 if CPU_V7A
Marek Vasutb06c9542016-05-26 18:01:36 +0200374 default 7 if CPU_V7M
Michal Simekf4359382018-04-26 18:21:29 +0530375 default 7 if CPU_V7R
Marek Vasutb06c9542016-05-26 18:01:36 +0200376 default 8 if ARM64
377
Patrick Delaunayafc69a92020-04-10 16:02:02 +0200378choice
379 prompt "Select the ARM data write cache policy"
Tom Rini6b0eeb72023-07-18 19:33:28 -0400380 default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMNS || RZA1
Patrick Delaunayafc69a92020-04-10 16:02:02 +0200381 default SYS_ARM_CACHE_WRITEBACK
382
383config SYS_ARM_CACHE_WRITEBACK
384 bool "Write-back (WB)"
385 help
386 A write updates the cache only and marks the cache line as dirty.
387 External memory is updated only when the line is evicted or explicitly
388 cleaned.
389
390config SYS_ARM_CACHE_WRITETHROUGH
391 bool "Write-through (WT)"
392 help
393 A write updates both the cache and the external memory system.
394 This does not mark the cache line as dirty.
395
396config SYS_ARM_CACHE_WRITEALLOC
397 bool "Write allocation (WA)"
398 help
399 A cache line is allocated on a write miss. This means that executing a
400 store instruction on the processor might cause a burst read to occur.
401 There is a linefill to obtain the data for the cache line, before the
402 write is performed.
403endchoice
404
Pali Rohár3588a412022-05-06 11:05:13 +0200405config ARCH_VERY_EARLY_INIT
406 bool
407
408config SPL_ARCH_VERY_EARLY_INIT
409 bool
410
Adam Fordd36b1022019-08-14 08:29:25 -0500411config ARCH_CPU_INIT
412 bool "Enable ARCH_CPU_INIT"
413 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500414 Some architectures require a call to arch_cpu_init().
Adam Fordd36b1022019-08-14 08:29:25 -0500415 Say Y here to enable it
416
Andre Przywara7b169252018-04-12 04:24:46 +0300417config SYS_ARCH_TIMER
418 bool "ARM Generic Timer support"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530419 depends on CPU_V7A || ARM64
Andre Przywara7b169252018-04-12 04:24:46 +0300420 default y if ARM64
421 help
422 The ARM Generic Timer (aka arch-timer) provides an architected
423 interface to a timer source on an SoC.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500424 It is mandatory for ARMv8 implementation and widely available
Andre Przywara7b169252018-04-12 04:24:46 +0300425 on ARMv7 systems.
426
Masahiro Yamadae8ead732017-04-14 11:10:23 +0900427config ARM_SMCCC
428 bool "Support for ARM SMC Calling Convention (SMCCC)"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530429 depends on CPU_V7A || ARM64
Masahiro Yamada836c55d2017-04-14 11:10:24 +0900430 select ARM_PSCI_FW
Masahiro Yamadae8ead732017-04-14 11:10:23 +0900431 help
432 Say Y here if you want to enable ARM SMC Calling Convention.
433 This should be enabled if U-Boot needs to communicate with system
434 firmware (for example, PSCI) according to SMCCC.
435
Tom Rini1c640a62017-03-18 09:01:44 -0400436config SYS_THUMB_BUILD
437 bool "Build U-Boot using the Thumb instruction set"
438 depends on !ARM64
439 help
440 Use this flag to build U-Boot using the Thumb instruction set for
441 ARM architectures. Thumb instruction set provides better code
442 density. For ARM architectures that support Thumb2 this flag will
443 result in Thumb2 code generated by GCC.
444
445config SPL_SYS_THUMB_BUILD
446 bool "Build SPL using the Thumb instruction set"
447 default y if SYS_THUMB_BUILD
Adam Ford43a1e2d2019-08-13 14:32:30 -0500448 depends on !ARM64 && SPL
Tom Rini1c640a62017-03-18 09:01:44 -0400449 help
450 Use this flag to build SPL using the Thumb instruction set for
451 ARM architectures. Thumb instruction set provides better code
452 density. For ARM architectures that support Thumb2 this flag will
453 result in Thumb2 code generated by GCC.
454
Kever Yang55688602019-04-02 20:41:20 +0800455config TPL_SYS_THUMB_BUILD
456 bool "Build TPL using the Thumb instruction set"
457 default y if SYS_THUMB_BUILD
458 depends on TPL && !ARM64
459 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500460 Use this flag to build TPL using the Thumb instruction set for
Kever Yang55688602019-04-02 20:41:20 +0800461 ARM architectures. Thumb instruction set provides better code
462 density. For ARM architectures that support Thumb2 this flag will
463 result in Thumb2 code generated by GCC.
464
Philip Oberfichtner5833e1b2022-08-17 15:07:12 +0200465config SYS_L2_PL310
466 bool "ARM PL310 L2 cache controller"
467 help
468 Enable support for ARM PL310 L2 cache controller in U-Boot
Kever Yang55688602019-04-02 20:41:20 +0800469
Philip Oberfichtnerc55a2522022-08-17 15:07:13 +0200470config SPL_SYS_L2_PL310
471 bool "ARM PL310 L2 cache controller in SPL"
472 help
473 Enable support for ARM PL310 L2 cache controller in SPL
474
Peng Fan10ddab42015-08-19 15:48:57 +0800475config SYS_L2CACHE_OFF
476 bool "L2cache off"
477 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500478 If SoC does not support L2CACHE or one does not want to enable
Peng Fan10ddab42015-08-19 15:48:57 +0800479 L2CACHE, choose this option.
480
Andre Przywara48321ba2016-05-31 10:45:06 -0700481config ENABLE_ARM_SOC_BOOT0_HOOK
482 bool "prepare BOOT0 header"
483 help
484 If the SoC's BOOT0 requires a header area filled with (magic)
Simon Goldschmidt387218a2018-02-13 13:18:00 +0100485 values, then choose this option, and create a file included as
486 <asm/arch/boot0.h> which contains the required assembler code.
Andre Przywara48321ba2016-05-31 10:45:06 -0700487
Fabio Estevam988f5052016-12-15 19:30:40 -0200488config USE_ARCH_MEMCPY
489 bool "Use an assembly optimized implementation of memcpy"
Stefan Roese330807f2021-09-02 17:00:19 +0200490 default y if !ARM64
491 depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
Fabio Estevam988f5052016-12-15 19:30:40 -0200492 help
493 Enable the generation of an optimized version of memcpy.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500494 Such an implementation may be faster under some conditions
Fabio Estevam988f5052016-12-15 19:30:40 -0200495 but may increase the binary size.
496
Tom Rini443b5162017-01-12 13:16:02 -0500497config SPL_USE_ARCH_MEMCPY
Andy Yan524f3ce2017-06-28 16:27:37 +0800498 bool "Use an assembly optimized implementation of memcpy for SPL"
Tom Rini443b5162017-01-12 13:16:02 -0500499 default y if USE_ARCH_MEMCPY
Stefan Roese330807f2021-09-02 17:00:19 +0200500 depends on SPL
Tom Rini443b5162017-01-12 13:16:02 -0500501 help
502 Enable the generation of an optimized version of memcpy.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500503 Such an implementation may be faster under some conditions
Tom Rini443b5162017-01-12 13:16:02 -0500504 but may increase the binary size.
505
Kever Yang55688602019-04-02 20:41:20 +0800506config TPL_USE_ARCH_MEMCPY
507 bool "Use an assembly optimized implementation of memcpy for TPL"
508 default y if USE_ARCH_MEMCPY
Stefan Roese330807f2021-09-02 17:00:19 +0200509 depends on TPL
Kever Yang55688602019-04-02 20:41:20 +0800510 help
511 Enable the generation of an optimized version of memcpy.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500512 Such an implementation may be faster under some conditions
Kever Yang55688602019-04-02 20:41:20 +0800513 but may increase the binary size.
514
Stefan Roese330807f2021-09-02 17:00:19 +0200515config USE_ARCH_MEMMOVE
516 bool "Use an assembly optimized implementation of memmove" if !ARM64
517 default USE_ARCH_MEMCPY if ARM64
518 depends on ARM64
519 help
520 Enable the generation of an optimized version of memmove.
521 Such an implementation may be faster under some conditions
522 but may increase the binary size.
523
524config SPL_USE_ARCH_MEMMOVE
525 bool "Use an assembly optimized implementation of memmove for SPL" if !ARM64
526 default SPL_USE_ARCH_MEMCPY if ARM64
527 depends on SPL && ARM64
528 help
529 Enable the generation of an optimized version of memmove.
530 Such an implementation may be faster under some conditions
531 but may increase the binary size.
532
533config TPL_USE_ARCH_MEMMOVE
534 bool "Use an assembly optimized implementation of memmove for TPL" if !ARM64
535 default TPL_USE_ARCH_MEMCPY if ARM64
536 depends on TPL && ARM64
537 help
538 Enable the generation of an optimized version of memmove.
539 Such an implementation may be faster under some conditions
540 but may increase the binary size.
541
Fabio Estevam988f5052016-12-15 19:30:40 -0200542config USE_ARCH_MEMSET
543 bool "Use an assembly optimized implementation of memset"
Stefan Roese330807f2021-09-02 17:00:19 +0200544 default y if !ARM64
545 depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
Tom Rini443b5162017-01-12 13:16:02 -0500546 help
547 Enable the generation of an optimized version of memset.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500548 Such an implementation may be faster under some conditions
Tom Rini443b5162017-01-12 13:16:02 -0500549 but may increase the binary size.
550
551config SPL_USE_ARCH_MEMSET
Andy Yan524f3ce2017-06-28 16:27:37 +0800552 bool "Use an assembly optimized implementation of memset for SPL"
Tom Rini443b5162017-01-12 13:16:02 -0500553 default y if USE_ARCH_MEMSET
Stefan Roese330807f2021-09-02 17:00:19 +0200554 depends on SPL
Fabio Estevam988f5052016-12-15 19:30:40 -0200555 help
556 Enable the generation of an optimized version of memset.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500557 Such an implementation may be faster under some conditions
Fabio Estevam988f5052016-12-15 19:30:40 -0200558 but may increase the binary size.
559
Kever Yang55688602019-04-02 20:41:20 +0800560config TPL_USE_ARCH_MEMSET
561 bool "Use an assembly optimized implementation of memset for TPL"
562 default y if USE_ARCH_MEMSET
Stefan Roese330807f2021-09-02 17:00:19 +0200563 depends on TPL
Kever Yang55688602019-04-02 20:41:20 +0800564 help
565 Enable the generation of an optimized version of memset.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500566 Such an implementation may be faster under some conditions
Kever Yang55688602019-04-02 20:41:20 +0800567 but may increase the binary size.
568
Alison Wang73818d52016-11-10 10:49:03 +0800569config ARM64_SUPPORT_AARCH32
570 bool "ARM64 system support AArch32 execution state"
Adam Ford43a1e2d2019-08-13 14:32:30 -0500571 depends on ARM64
572 default y if !TARGET_THUNDERX_88XX
Alison Wang73818d52016-11-10 10:49:03 +0800573 help
574 This ARM64 system supports AArch32 execution state.
575
Tom Rinia0d59a12022-12-04 10:14:12 -0500576config IPROC
577 bool
578
Tom Rini893cd412022-06-10 22:59:33 -0400579config S5P
580 def_bool y if ARCH_EXYNOS || ARCH_S5PC1XX
581
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900582choice
583 prompt "Target select"
Simon Glassdfd904a2015-08-30 19:19:30 -0600584 default TARGET_HIKEY
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900585
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900586config ARCH_AT91
587 bool "Atmel AT91"
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900588 select GPIO_EXTRA_HEADER
Tom Rini4a2b61b2018-05-10 07:15:52 -0400589 select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
Gregory CLEMENT21cbec72020-06-05 10:43:36 +0200590 select SPL_SEPARATE_BSS if SPL
Sean Anderson97c0aaf2023-11-04 22:27:42 -0400591 imply SYS_THUMB_BUILD
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900592
Masahiro Yamadae604ef92014-08-31 07:11:01 +0900593config ARCH_DAVINCI
594 bool "TI DaVinci"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100595 select CPU_ARM926EJS
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900596 select GPIO_EXTRA_HEADER
Lukasz Majewski76f442982020-06-04 23:11:53 +0800597 select SPL_DM_SPI if SPL
Simon Glassd09f3772017-08-04 16:34:43 -0600598 imply CMD_SAVES
Masahiro Yamadae604ef92014-08-31 07:11:01 +0900599 help
600 Support for TI's DaVinci platform.
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900601
Yang Xiwendb1d1f42023-04-01 19:17:33 +0800602config ARCH_HISTB
603 bool "Hisilicon HiSTB SoCs"
604 select DM
605 select DM_SERIAL
606 select OF_CONTROL
607 select PL01X_SERIAL
608 imply CMD_DM
609 help
610 Support for HiSTB SoCs.
611
Trevor Woernerbb7ab072020-05-06 08:02:40 -0400612config ARCH_KIRKWOOD
Masahiro Yamadad7570852014-08-31 07:10:59 +0900613 bool "Marvell Kirkwood"
Simon Glass95d31412017-01-23 13:31:21 -0700614 select ARCH_MISC_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200615 select BOARD_EARLY_INIT_F
616 select CPU_ARM926EJS
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900617 select GPIO_EXTRA_HEADER
Stefan Roese5ae022f2022-09-15 16:20:39 +0200618 select TIMER
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900619
Stefan Roese383e0c12015-08-25 13:18:38 +0200620config ARCH_MVEBU
Stefan Roesecb410332016-05-25 08:13:45 +0200621 bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
Tom Rini208bba22023-02-15 22:36:48 -0500622 select ARCH_EARLY_INIT_R if ARM64
Stefan Roese096de4f2015-09-01 11:27:52 +0200623 select DM
Stefan Roese7f9f8e32015-09-02 08:41:41 +0200624 select DM_SERIAL
Stefan Roese49e7d772015-11-20 13:51:57 +0100625 select DM_SPI
626 select DM_SPI_FLASH
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900627 select GPIO_EXTRA_HEADER
Tom Riniddb1ec12024-01-10 13:46:10 -0500628 select MTD
Lukasz Majewski76f442982020-06-04 23:11:53 +0800629 select SPL_DM_SPI if SPL
630 select SPL_DM_SPI_FLASH if SPL
Stefan Roese5ae022f2022-09-15 16:20:39 +0200631 select SPL_TIMER if SPL
Chris Packhambe529152022-11-05 17:23:55 +1300632 select TIMER if !ARM64
Michal Simek84f3dec2018-07-23 15:55:13 +0200633 select OF_CONTROL
634 select OF_SEPARATE
Adam Ford4e96ff82018-04-15 13:51:26 -0400635 select SPI
Michal Simek2e7c8192018-07-23 15:55:14 +0200636 imply CMD_DM
Stefan Roese9b1e2312014-10-22 12:13:19 +0200637
Trevor Woernerf9953752020-05-06 08:02:38 -0400638config ARCH_ORION5X
Masahiro Yamada04ffbc12014-08-31 07:11:06 +0900639 bool "Marvell Orion"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100640 select CPU_ARM926EJS
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900641 select GPIO_EXTRA_HEADER
Sean Anderson13871e12022-04-12 10:59:04 -0400642 select SPL_SEPARATE_BSS if SPL
Stefan Roese5ae022f2022-09-15 16:20:39 +0200643 select TIMER
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900644
Masahiro Yamadaed22cc72015-03-19 19:42:56 +0900645config ARCH_BCM283X
646 bool "Broadcom BCM283X family"
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900647 select DM
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900648 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +0200649 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900650 select GPIO_EXTRA_HEADER
Fabian Vogtf9e3ed52016-09-26 14:26:51 +0200651 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +0100652 select PL01X_SERIAL
Alexander Grafc8bda542018-01-29 13:57:20 +0100653 select SERIAL_SEARCH_ALL
Michal Simek2e7c8192018-07-23 15:55:14 +0200654 imply CMD_DM
Tom Rinid8532af2017-06-02 11:03:50 -0400655 imply FAT_WRITE
Stephen Warrendc7ea682015-02-16 12:16:15 -0700656
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -0400657config ARCH_BCMSTB
658 bool "Broadcom BCM7XXX family"
659 select CPU_V7A
660 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900661 select GPIO_EXTRA_HEADER
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -0400662 select OF_CONTROL
Michal Simek2e7c8192018-07-23 15:55:14 +0200663 imply CMD_DM
Simon Glass94886db2021-12-16 20:59:36 -0700664 imply OF_HAS_PRIOR_STAGE
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -0400665 help
666 This enables support for Broadcom ARM-based set-top box
667 chipsets, including the 7445 family of chips.
668
William Zhangd7cdf302022-05-09 09:28:02 -0700669config ARCH_BCMBCA
670 bool "Broadcom broadband chip family"
671 select DM
672 select OF_CONTROL
William Zhang2abed602022-08-22 11:19:45 -0700673 imply CMD_DM
William Zhangd7cdf302022-05-09 09:28:02 -0700674
Kristian Amlie8f8a2992021-09-07 08:37:51 +0200675config TARGET_VEXPRESS_CA9X4
676 bool "Support vexpress_ca9x4"
677 select CPU_V7A
Ole P. Orhagene60fee72024-01-26 13:47:50 +0100678 select PL01X_SERIAL
Kristian Amlie8f8a2992021-09-07 08:37:51 +0200679
Linus Walleijaa5676f2023-04-24 09:38:29 +0200680config TARGET_BCMNS
681 bool "Support Broadcom Northstar"
682 select CPU_V7A
683 select DM
684 select DM_GPIO
685 select DM_SERIAL
686 select OF_CONTROL
687 select TIMER
688 select SYS_NS16550
689 select ARM_GLOBAL_TIMER
690 imply SYS_THUMB_BUILD
691 imply MTD_RAW_NAND
692 imply NAND_BRCMNAND
693 imply NAND_BRCMNAND_IPROC
694 help
695 Support for Broadcom Northstar SoCs. NS is a dual-core 32-bit
696 ARMv7 Cortex-A9 SoC family including BCM4708, BCM47094,
697 BCM5301x etc.
698
Rayagonda Kokatanur1d8fa362020-07-15 22:48:55 +0530699config TARGET_BCMNS3
700 bool "Support Broadcom NS3"
701 select ARM64
702 select BOARD_LATE_INIT
703 help
704 Support for Broadcom Northstar 3 SoCs. NS3 is a octo-core 64-bit
705 ARMv8 Cortex-A72 processors targeting a broad range of networking
706 applications.
707
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900708config ARCH_EXYNOS
709 bool "Samsung EXYNOS"
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900710 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +0200711 select DM_GPIO
Simon Glass7bbb7d92016-11-23 06:34:40 -0700712 select DM_I2C
Michal Simek84f3dec2018-07-23 15:55:13 +0200713 select DM_KEYBOARD
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900714 select DM_SERIAL
715 select DM_SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200716 select DM_SPI_FLASH
Tom Riniddb1ec12024-01-10 13:46:10 -0500717 select MTD
Adam Ford4e96ff82018-04-15 13:51:26 -0400718 select SPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900719 select GPIO_EXTRA_HEADER
Guillaume GARDETf5357322018-11-20 14:15:13 +0100720 imply SYS_THUMB_BUILD
Michal Simek2e7c8192018-07-23 15:55:14 +0200721 imply CMD_DM
Tom Rinid8532af2017-06-02 11:03:50 -0400722 imply FAT_WRITE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900723
Simon Glass96aa0722014-10-07 22:01:50 -0600724config ARCH_S5PC1XX
725 bool "Samsung S5PC1XX"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530726 select CPU_V7A
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900727 select DM
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900728 select DM_GPIO
Simon Glassc6aa9702016-11-23 06:34:41 -0700729 select DM_I2C
Michal Simek84f3dec2018-07-23 15:55:13 +0200730 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900731 select GPIO_EXTRA_HEADER
Michal Simek2e7c8192018-07-23 15:55:14 +0200732 imply CMD_DM
Simon Glass96aa0722014-10-07 22:01:50 -0600733
Masahiro Yamada52ece9c2014-08-31 07:11:07 +0900734config ARCH_HIGHBANK
735 bool "Calxeda Highbank"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530736 select CPU_V7A
Andre Przywara8d1069f2021-04-12 01:04:51 +0100737 select PL01X_SERIAL
738 select DM
739 select DM_SERIAL
740 select OF_CONTROL
Andre Przywara8d1069f2021-04-12 01:04:51 +0100741 select CLK
742 select CLK_CCF
743 select AHCI
Andre Przywara126d9a62021-04-12 01:04:54 +0100744 select PHYS_64BIT
Andre Przywarac875d882022-10-20 23:10:25 +0100745 select TIMER
746 select SP804_TIMER
Simon Glass94886db2021-12-16 20:59:36 -0700747 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900748
Masahiro Yamadacad44162015-04-21 21:59:36 +0900749config ARCH_INTEGRATOR
750 bool "ARM Ltd. Integrator family"
Linus Walleij616d9a02015-07-27 11:22:48 +0200751 select DM
752 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900753 select GPIO_EXTRA_HEADER
Alexander Graf633ef892018-01-25 12:05:52 +0100754 select PL01X_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +0200755 imply CMD_DM
Masahiro Yamadacad44162015-04-21 21:59:36 +0900756
Robert Markoe7a34f12020-07-06 10:37:54 +0200757config ARCH_IPQ40XX
758 bool "Qualcomm IPQ40xx SoCs"
759 select CPU_V7A
760 select DM
761 select DM_GPIO
762 select DM_SERIAL
Robert Marko42c5ee82020-09-10 16:00:03 +0200763 select DM_RESET
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900764 select GPIO_EXTRA_HEADER
Robert Marko0b7d9502020-09-10 16:00:01 +0200765 select MSM_SMEM
Robert Markoe7a34f12020-07-06 10:37:54 +0200766 select PINCTRL
767 select CLK
Robert Marko0b7d9502020-09-10 16:00:01 +0200768 select SMEM
Robert Markoe7a34f12020-07-06 10:37:54 +0200769 select OF_CONTROL
Caleb Connolly90c44642023-11-07 12:41:00 +0000770 select CLK_QCOM_IPQ4019
Caleb Connollycdc0d082023-11-14 12:55:41 +0000771 select PINCTRL_QCOM_IPQ4019
Robert Markoe7a34f12020-07-06 10:37:54 +0200772 imply CMD_DM
773
Masahiro Yamada32013fb2014-08-31 07:11:05 +0900774config ARCH_KEYSTONE
775 bool "TI Keystone"
Andrew Davis01939572023-07-25 10:54:16 -0500776 select CMD_DDR3
Michal Simek84f3dec2018-07-23 15:55:13 +0200777 select CMD_POWEROFF
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530778 select CPU_V7A
Tom Rinife2cea62021-08-21 13:50:16 -0400779 select DDR_SPD
Andrew Davis01939572023-07-25 10:54:16 -0500780 select SPL_BOARD_INIT if SPL
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900781 select SUPPORT_SPL
Andre Przywara7b169252018-04-12 04:24:46 +0300782 select SYS_ARCH_TIMER
Michal Simek84f3dec2018-07-23 15:55:13 +0200783 select SYS_THUMB_BUILD
Tom Rinic20bb732017-07-22 18:36:16 -0400784 imply CMD_MTDPARTS
Andrew Davis2aefcb62023-07-25 10:54:15 -0500785 imply CMD_NFS
Simon Glassd09f3772017-08-04 16:34:43 -0600786 imply CMD_SAVES
Andrew Davis01939572023-07-25 10:54:16 -0500787 imply DM_I2C
Michal Simek84f3dec2018-07-23 15:55:13 +0200788 imply FIT
Andrew Davis01939572023-07-25 10:54:16 -0500789 imply SOC_TI
790 imply TI_KEYSTONE_SERDES
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900791
Lokesh Vutla9bdec002018-08-27 15:57:08 +0530792config ARCH_K3
793 bool "Texas Instruments' K3 Architecture"
794 select SPL
795 select SUPPORT_SPL
796 select FIT
Andrew Davis86a01cf2023-07-14 11:22:33 +0530797 select REGEX
Manorit Chawdhryf65cdf72023-07-14 11:22:40 +0530798 select FIT_SIGNATURE if ARM64
Andrew Davis8bd8a232023-08-03 09:54:41 -0500799 imply TI_SECURE_DEVICE
Lokesh Vutla9bdec002018-08-27 15:57:08 +0530800
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900801config ARCH_OMAP2PLUS
802 bool "TI OMAP2+"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530803 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900804 select GPIO_EXTRA_HEADER
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +0800805 select SPL_BOARD_INIT if SPL
Tom Rinic37e0cf2017-09-17 11:44:49 -0400806 select SPL_STACK_R if SPL
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900807 select SUPPORT_SPL
Dario Binacchid1cb3f62020-12-30 00:06:29 +0100808 imply TI_SYSC if DM && OF_CONTROL
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900809 imply FIT
Sean Anderson13871e12022-04-12 10:59:04 -0400810 imply SPL_SEPARATE_BSS
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900811
Beniamino Galvanid1037e42016-05-08 08:30:16 +0200812config ARCH_MESON
813 bool "Amlogic Meson"
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900814 select GPIO_EXTRA_HEADER
Masahiro Yamada9afc6c52018-04-25 18:47:52 +0900815 imply DISTRO_DEFAULTS
Heinrich Schuchardt966caaf2020-04-05 12:20:23 +0200816 imply DM_RNG
Beniamino Galvanid1037e42016-05-08 08:30:16 +0200817 help
818 Support for the Meson SoC family developed by Amlogic Inc.,
819 targeted at media players and tablet computers. We currently
820 support the S905 (GXBaby) 64-bit SoC.
821
developerf4a079c2018-11-15 10:07:52 +0800822config ARCH_MEDIATEK
823 bool "MediaTek SoCs"
developerf4a079c2018-11-15 10:07:52 +0800824 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900825 select GPIO_EXTRA_HEADER
developerf4a079c2018-11-15 10:07:52 +0800826 select OF_CONTROL
827 select SPL_DM if SPL
828 select SPL_LIBCOMMON_SUPPORT if SPL
829 select SPL_LIBGENERIC_SUPPORT if SPL
830 select SPL_OF_CONTROL if SPL
831 select SUPPORT_SPL
832 help
833 Support for the MediaTek SoCs family developed by MediaTek Inc.
834 Please refer to doc/README.mediatek for more information.
835
Vladimir Zapolskiy31d0e962018-09-17 21:43:03 +0300836config ARCH_LPC32XX
837 bool "NXP LPC32xx platform"
838 select CPU_ARM926EJS
839 select DM
840 select DM_GPIO
841 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900842 select GPIO_EXTRA_HEADER
Vladimir Zapolskiy31d0e962018-09-17 21:43:03 +0300843 select SPL_DM if SPL
844 select SUPPORT_SPL
845 imply CMD_DM
846
Peng Fan6bae1c72018-10-18 14:28:08 +0200847config ARCH_IMX8
848 bool "NXP i.MX8 platform"
849 select ARM64
Gaurav Jaindb4dd6a2022-03-24 11:50:33 +0530850 select SYS_FSL_HAS_SEC
851 select SYS_FSL_SEC_COMPAT_4
852 select SYS_FSL_SEC_LE
Peng Fan6bae1c72018-10-18 14:28:08 +0200853 select DM
Tom Rini7d3684a2023-01-16 15:46:49 -0500854 select DM_EVENT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900855 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400856 select MACH_IMX
Peng Fan6bae1c72018-10-18 14:28:08 +0200857 select OF_CONTROL
Ye Li97b41652019-07-12 09:33:52 +0000858 select ENABLE_ARM_SOC_BOOT0_HOOK
Peng Fan6bae1c72018-10-18 14:28:08 +0200859
Peng Fan39945c12018-11-20 10:19:25 +0000860config ARCH_IMX8M
Peng Fan66294882018-01-10 13:20:19 +0800861 bool "NXP i.MX8M platform"
862 select ARM64
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900863 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400864 select MACH_IMX
Gaurav Jain81113a02022-03-24 11:50:27 +0530865 select SYS_FSL_HAS_SEC
Aymen Sghaier4da25692021-03-25 17:30:25 +0800866 select SYS_FSL_SEC_COMPAT_4
867 select SYS_FSL_SEC_LE
Tom Rini1a195882021-08-18 23:12:33 -0400868 select SYS_I2C_MXC
Peng Fan66294882018-01-10 13:20:19 +0800869 select DM
Tom Rini7d3684a2023-01-16 15:46:49 -0500870 select DM_EVENT if CLK
Peng Fan66294882018-01-10 13:20:19 +0800871 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200872 imply CMD_DM
Peng Fan66294882018-01-10 13:20:19 +0800873
Peng Fan570dc4f2021-08-07 16:00:30 +0800874config ARCH_IMX8ULP
875 bool "NXP i.MX8ULP platform"
876 select ARM64
877 select DM
Tom Rini7d3684a2023-01-16 15:46:49 -0500878 select DM_EVENT
Tom Rini8086a822021-08-24 20:40:59 -0400879 select MACH_IMX
Peng Fan570dc4f2021-08-07 16:00:30 +0800880 select OF_CONTROL
881 select SUPPORT_SPL
882 select GPIO_EXTRA_HEADER
Ye Lic408ed32022-07-26 16:40:49 +0800883 select MISC
Peng Fand5c31832023-06-15 18:09:05 +0800884 select IMX_ELE
Peng Fan570dc4f2021-08-07 16:00:30 +0800885 imply CMD_DM
886
Peng Fanbbcd2c42022-07-26 16:40:39 +0800887config ARCH_IMX9
888 bool "NXP i.MX9 platform"
889 select ARM64
890 select DM
Tom Rini7d3684a2023-01-16 15:46:49 -0500891 select DM_EVENT
Peng Fanbbcd2c42022-07-26 16:40:39 +0800892 select MACH_IMX
893 select SUPPORT_SPL
Ye Lifa105572022-07-26 16:41:01 +0800894 select GPIO_EXTRA_HEADER
Ye Lic408ed32022-07-26 16:40:49 +0800895 select MISC
Peng Fand5c31832023-06-15 18:09:05 +0800896 select IMX_ELE
Peng Fanbbcd2c42022-07-26 16:40:39 +0800897 imply CMD_DM
Peng Fanbbcd2c42022-07-26 16:40:39 +0800898
Giulio Benetti9dba2622020-01-10 15:51:47 +0100899config ARCH_IMXRT
900 bool "NXP i.MXRT platform"
901 select CPU_V7M
902 select DM
903 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900904 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400905 select MACH_IMX
Giulio Benetti9dba2622020-01-10 15:51:47 +0100906 select SUPPORT_SPL
907 imply CMD_DM
908
Stefan Agner081ea1f2018-02-06 09:44:34 +0100909config ARCH_MX23
910 bool "NXP i.MX23 family"
911 select CPU_ARM926EJS
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900912 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400913 select MACH_IMX
Stefan Agner081ea1f2018-02-06 09:44:34 +0100914 select SUPPORT_SPL
915
Stefan Agner663a3232018-02-06 09:44:35 +0100916config ARCH_MX28
917 bool "NXP i.MX28 family"
918 select CPU_ARM926EJS
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900919 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400920 select MACH_IMX
Stefan Agner663a3232018-02-06 09:44:35 +0100921 select SUPPORT_SPL
922
Magnus Liljac74f70f2018-05-11 14:06:54 +0200923config ARCH_MX31
924 bool "NXP i.MX31 family"
925 select CPU_ARM1136
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900926 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400927 select MACH_IMX
Magnus Liljac74f70f2018-05-11 14:06:54 +0200928
Peng Fan2c7b1702017-02-22 16:21:39 +0800929config ARCH_MX7ULP
Michal Simekf751ff52018-07-23 15:55:12 +0200930 bool "NXP MX7ULP"
Tom Rinid02971e2022-02-25 11:19:47 -0500931 select BOARD_POSTCLK_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530932 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900933 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400934 select MACH_IMX
Gaurav Jain714e7e32022-03-24 11:50:31 +0530935 select SYS_FSL_HAS_SEC
Franck LENORMAND4fde0a12021-03-25 17:30:23 +0800936 select SYS_FSL_SEC_COMPAT_4
937 select SYS_FSL_SEC_LE
Peng Fan2c7b1702017-02-22 16:21:39 +0800938 select ROM_UNIFIED_SECTIONS
Adam Fordb413c452018-02-04 09:32:43 -0600939 imply MXC_GPIO
Tom Rini4f834a42019-12-03 09:28:03 -0500940 imply SYS_THUMB_BUILD
Peng Fan2c7b1702017-02-22 16:21:39 +0800941
Adrian Alonso98810772015-09-03 11:49:28 -0500942config ARCH_MX7
943 bool "Freescale MX7"
Michal Simek84f3dec2018-07-23 15:55:13 +0200944 select ARCH_MISC_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530945 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900946 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400947 select MACH_IMX
Tom Rini599b11b2022-12-02 16:42:18 -0500948 select MXC_GPT_HCLK
Gaurav Jaine389ac92022-03-24 11:50:30 +0530949 select SYS_FSL_HAS_SEC
York Sun92c36e22016-12-28 08:43:30 -0800950 select SYS_FSL_SEC_COMPAT_4
York Sunfa4199422016-12-28 08:43:31 -0800951 select SYS_FSL_SEC_LE
Marek Vasut42b24b42020-05-22 01:13:00 +0200952 imply BOARD_EARLY_INIT_F
Adam Fordb413c452018-02-04 09:32:43 -0600953 imply MXC_GPIO
Tom Rini4f834a42019-12-03 09:28:03 -0500954 imply SYS_THUMB_BUILD
Adrian Alonso98810772015-09-03 11:49:28 -0500955
Boris BREZILLON51e82662015-03-04 13:13:03 +0100956config ARCH_MX6
957 bool "Freescale MX6"
Tom Rinid02971e2022-02-25 11:19:47 -0500958 select BOARD_POSTCLK_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530959 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900960 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400961 select MACH_IMX
Tom Rini599b11b2022-12-02 16:42:18 -0500962 select MXC_GPT_HCLK
Heinrich Schuchardtcdd0c852020-06-26 19:57:55 +0200963 select SYS_FSL_HAS_SEC
York Sun92c36e22016-12-28 08:43:30 -0800964 select SYS_FSL_SEC_COMPAT_4
York Sunfa4199422016-12-28 08:43:31 -0800965 select SYS_FSL_SEC_LE
Philip Oberfichtner5833e1b2022-08-17 15:07:12 +0200966 select SYS_L2_PL310 if !SYS_L2CACHE_OFF
Adam Fordb413c452018-02-04 09:32:43 -0600967 imply MXC_GPIO
Tom Rini4f834a42019-12-03 09:28:03 -0500968 imply SYS_THUMB_BUILD
Sean Anderson13871e12022-04-12 10:59:04 -0400969 imply SPL_SEPARATE_BSS
Boris BREZILLON51e82662015-03-04 13:13:03 +0100970
Andrej Rosano1ac4bca2015-04-08 18:56:29 +0200971config ARCH_MX5
972 bool "Freescale MX5"
Simon Glass7a99a872017-01-23 13:31:20 -0700973 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200974 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900975 select GPIO_EXTRA_HEADER
Tom Rini8086a822021-08-24 20:40:59 -0400976 select MACH_IMX
Adam Fordb413c452018-02-04 09:32:43 -0600977 imply MXC_GPIO
Andrej Rosano1ac4bca2015-04-08 18:56:29 +0200978
Stefan Bosch6563ea22020-07-10 19:07:26 +0200979config ARCH_NEXELL
980 bool "Nexell S5P4418/S5P6818 SoC"
981 select ENABLE_ARM_SOC_BOOT0_HOOK
982 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +0900983 select GPIO_EXTRA_HEADER
Stefan Bosch6563ea22020-07-10 19:07:26 +0200984
Jim Liu4359b332022-04-19 13:32:19 +0800985config ARCH_NPCM
986 bool "Support Nuvoton SoCs"
987 select DM
988 select OF_CONTROL
989 imply CMD_DM
990
Mark Kettenis58d51272021-10-23 16:58:03 +0200991config ARCH_APPLE
992 bool "Apple SoCs"
993 select ARM64
Mark Kettenis835cb5d2021-10-23 16:58:04 +0200994 select CLK
Mark Kettenis59b09ba2023-01-21 20:27:58 +0100995 select CMD_PCI
Mark Kettenis58d51272021-10-23 16:58:03 +0200996 select CMD_USB
997 select DM
Mark Kettenisc9329762021-11-02 18:21:57 +0100998 select DM_GPIO
Mark Kettenis58d51272021-10-23 16:58:03 +0200999 select DM_KEYBOARD
Mark Kettenisf3efb3b2022-01-22 20:38:12 +01001000 select DM_MAILBOX
Mark Kettenis9e8c4832022-01-22 20:38:17 +01001001 select DM_RESET
Mark Kettenis58d51272021-10-23 16:58:03 +02001002 select DM_SERIAL
Mark Kettenis0c3e9242022-01-23 16:48:12 +01001003 select DM_SPI
Mark Kettenis58d51272021-10-23 16:58:03 +02001004 select DM_USB
Simon Glass52cb5042022-10-18 07:46:31 -06001005 select VIDEO
Mark Kettenis357a2562021-10-23 16:58:05 +02001006 select IOMMU
Mark Kettenis58d51272021-10-23 16:58:03 +02001007 select LINUX_KERNEL_IMAGE_HEADER
Tom Riniddb1ec12024-01-10 13:46:10 -05001008 select MTD
Mark Kettenisdfacafb2022-04-19 21:20:31 +02001009 select OF_BOARD_SETUP
Mark Kettenis58d51272021-10-23 16:58:03 +02001010 select OF_CONTROL
Mark Kettenis59b09ba2023-01-21 20:27:58 +01001011 select PCI
Mark Kettenis23d98982023-07-14 22:21:42 +02001012 select PHY
Mark Kettenisc9329762021-11-02 18:21:57 +01001013 select PINCTRL
Mark Kettenis58d51272021-10-23 16:58:03 +02001014 select POSITION_INDEPENDENT
Mark Kettenis2fc94052022-01-10 20:58:44 +01001015 select POWER_DOMAIN
1016 select REGMAP
Mark Kettenis0c3e9242022-01-23 16:48:12 +01001017 select SPI
Mark Kettenis2fc94052022-01-10 20:58:44 +01001018 select SYSCON
Mark Kettenise19700f2022-01-12 19:55:17 +01001019 select SYSRESET
1020 select SYSRESET_WATCHDOG
1021 select SYSRESET_WATCHDOG_AUTO
Mark Kettenis58d51272021-10-23 16:58:03 +02001022 select USB
1023 imply CMD_DM
1024 imply CMD_GPT
1025 imply DISTRO_DEFAULTS
Simon Glass94886db2021-12-16 20:59:36 -07001026 imply OF_HAS_PRIOR_STAGE
Mark Kettenis58d51272021-10-23 16:58:03 +02001027
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05301028config ARCH_OWL
1029 bool "Actions Semi OWL SoCs"
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05301030 select DM
1031 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001032 select GPIO_EXTRA_HEADER
Amit Singh Tomarcae81932020-04-19 19:28:25 +05301033 select OWL_SERIAL
Amit Singh Tomar8821be42020-04-19 19:28:30 +05301034 select CLK
1035 select CLK_OWL
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05301036 select OF_CONTROL
Tom Rinia38d0ac2020-05-01 10:52:11 -04001037 select SYS_RELOC_GD_ENV_ADDR
Michal Simek2e7c8192018-07-23 15:55:14 +02001038 imply CMD_DM
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05301039
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +03001040config ARCH_QEMU
1041 bool "QEMU Virtual Platform"
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +03001042 select DM
1043 select DM_SERIAL
1044 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +01001045 select PL01X_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +02001046 imply CMD_DM
Heinrich Schuchardt2ebc22c2020-09-19 07:55:35 +02001047 imply DM_RNG
AKASHI Takahiro501cc842018-09-14 17:06:54 +09001048 imply DM_RTC
1049 imply RTC_PL031
Simon Glass94886db2021-12-16 20:59:36 -07001050 imply OF_HAS_PRIOR_STAGE
Alper Nebi Yasak79f469a2023-08-14 20:39:41 +03001051 imply VIDEO
1052 imply VIDEO_BOCHS
1053 imply SYS_WHITE_ON_BLACK
1054 imply SYS_CONSOLE_IS_IN_ENV
Alper Nebi Yasakbd522b52023-08-14 20:39:42 +03001055 imply PRE_CONSOLE_BUFFER
Alper Nebi Yasak211639d2023-08-14 20:39:43 +03001056 imply USB
1057 imply USB_XHCI_HCD
1058 imply USB_XHCI_PCI
1059 imply USB_KEYBOARD
1060 imply CMD_USB
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +03001061
Marek Vasut6468c4c2024-02-27 17:05:55 +01001062config ARCH_RENESAS
Masahiro Yamadac9c54e22014-08-31 07:10:57 +09001063 bool "Renesas ARM SoCs"
Nobuhiro Iwamatsu7c112732015-10-10 05:58:28 +09001064 select DM
1065 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001066 select GPIO_EXTRA_HEADER
Marek Vasutcc0d09e2024-02-11 18:34:30 +01001067 select LTO
Biju Das055763a2020-09-22 13:06:49 +01001068 imply BOARD_EARLY_INIT_F
Michal Simek2e7c8192018-07-23 15:55:14 +02001069 imply CMD_DM
Tom Rinid8532af2017-06-02 11:03:50 -04001070 imply FAT_WRITE
Tom Rini1c640a62017-03-18 09:01:44 -04001071 imply SYS_THUMB_BUILD
Marek Vasutb90dc692018-12-03 13:28:25 +01001072 imply ARCH_MISC_INIT if DISPLAY_CPUINFO
Nikita Kiryanovf5cab0f2014-09-07 18:59:29 +03001073
Mateusz Kulikowski2507d822016-03-31 23:12:32 +02001074config ARCH_SNAPDRAGON
1075 bool "Qualcomm Snapdragon SoCs"
1076 select ARM64
1077 select DM
1078 select DM_GPIO
1079 select DM_SERIAL
Konrad Dybcio6c0b8442023-11-07 12:41:01 +00001080 select DM_RESET
Volodymyr Babchukaae46492024-03-11 21:33:45 +00001081 select POWER_DOMAIN
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001082 select GPIO_EXTRA_HEADER
Michal Simek84f3dec2018-07-23 15:55:13 +02001083 select MSM_SMEM
Mateusz Kulikowski2507d822016-03-31 23:12:32 +02001084 select OF_CONTROL
1085 select OF_SEPARATE
Ramon Fried4b4bd492018-07-02 02:57:56 +03001086 select SMEM
Michal Simek84f3dec2018-07-23 15:55:13 +02001087 select SPMI
Caleb Connolly31385662024-02-26 17:26:25 +00001088 select BOARD_LATE_INIT
Caleb Connollyfe1694c2024-02-26 17:26:24 +00001089 select OF_BOARD
1090 select SAVE_PREV_BL_FDT_ADDR
1091 select LINUX_KERNEL_IMAGE_HEADER
Michal Simek2e7c8192018-07-23 15:55:14 +02001092 imply CMD_DM
Mateusz Kulikowski2507d822016-03-31 23:12:32 +02001093
Masahiro Yamada144a3e02015-04-21 20:38:20 +09001094config ARCH_SOCFPGA
1095 bool "Altera SOCFPGA family"
Marek Vasut014f0ab2018-05-11 22:25:59 +02001096 select ARCH_EARLY_INIT_R
Marek Vasut04c8f4f2018-08-13 20:06:46 +02001097 select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
Siew Chin Lim8a714162021-03-01 20:04:10 +08001098 select ARM64 if TARGET_SOCFPGA_SOC64
Ley Foon Tan9c407b52018-05-24 00:17:32 +08001099 select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Masahiro Yamadae2005542015-03-31 12:47:59 +09001100 select DM
Marek Vasut57f03d22018-05-11 22:26:35 +02001101 select DM_SERIAL
Tom Rini249f11f2021-08-19 14:19:39 -04001102 select GICV2
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001103 select GPIO_EXTRA_HEADER
Ley Foon Tan9c407b52018-05-24 00:17:32 +08001104 select ENABLE_ARM_SOC_BOOT0_HOOK if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Marek Vasut014f0ab2018-05-11 22:25:59 +02001105 select OF_CONTROL
Ley Foon Tan9ae7b0a2018-07-13 13:40:23 +08001106 select SPL_DM_RESET if DM_RESET
Michal Simek84f3dec2018-07-23 15:55:13 +02001107 select SPL_DM_SERIAL
Marek Vasut014f0ab2018-05-11 22:25:59 +02001108 select SPL_LIBCOMMON_SUPPORT
Marek Vasut014f0ab2018-05-11 22:25:59 +02001109 select SPL_LIBGENERIC_SUPPORT
Marek Vasut014f0ab2018-05-11 22:25:59 +02001110 select SPL_OF_CONTROL
Siew Chin Lim8a714162021-03-01 20:04:10 +08001111 select SPL_SEPARATE_BSS if TARGET_SOCFPGA_SOC64
Wan Yee Laue249d542024-02-05 11:47:16 +08001112 select SPL_DRIVERS_MISC if TARGET_SOCFPGA_SOC64
1113 select SPL_SOCFPGA_DT_REG if TARGET_SOCFPGA_SOC64
Simon Glassf4d60392021-08-08 12:20:12 -06001114 select SPL_SERIAL
Simon Goldschmidtfc824662019-07-15 21:47:55 +02001115 select SPL_SYSRESET
Simon Glass1ba1d4e2021-07-10 21:14:28 -06001116 select SPL_WATCHDOG
Marek Vasut014f0ab2018-05-11 22:25:59 +02001117 select SUPPORT_SPL
Marek Vasut57f03d22018-05-11 22:26:35 +02001118 select SYS_NS16550
Ley Foon Tan9c407b52018-05-24 00:17:32 +08001119 select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Simon Goldschmidtfc824662019-07-15 21:47:55 +02001120 select SYSRESET
1121 select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Jit Loon Lim977071e2024-03-12 22:01:03 +08001122 select SYSRESET_SOCFPGA_SOC64 if !TARGET_SOCFPGA_AGILEX5 && \
1123 TARGET_SOCFPGA_SOC64
Michal Simek2e7c8192018-07-23 15:55:14 +02001124 imply CMD_DM
Tom Rinic20bb732017-07-22 18:36:16 -04001125 imply CMD_MTDPARTS
Daniel Thompsona9e2c672017-05-19 17:26:58 +01001126 imply CRC32_VERIFY
Simon Goldschmidta4347302018-02-13 06:34:14 +01001127 imply DM_SPI
1128 imply DM_SPI_FLASH
Tom Rinid8532af2017-06-02 11:03:50 -04001129 imply FAT_WRITE
Tom Riniddb1ec12024-01-10 13:46:10 -05001130 imply MTD
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
Hans de Goedec8d43472015-12-21 20:22:00 +01001151 select DM_GPIO
Samuel Holland468f23b2021-10-08 00:17:25 -05001152 select DM_I2C if I2C
Andre Przywara06435db2022-01-11 12:46:02 +00001153 select DM_SPI if SPI
Tom Riniddb1ec12024-01-10 13:46:10 -05001154 select DM_SPI_FLASH if SPI && MTD
Hans de Goedec8d43472015-12-21 20:22:00 +01001155 select DM_KEYBOARD
Jagan Tekic4981542019-04-12 16:48:25 +05301156 select DM_MMC if MMC
Tom Rini10e87172015-06-30 16:51:15 -04001157 select DM_SERIAL
Hans de Goede48a234a2016-03-22 22:51:52 +01001158 select OF_BOARD_SETUP
Hans de Goede03914882015-04-15 20:46:48 +02001159 select OF_CONTROL
1160 select OF_SEPARATE
Samuel Hollande3095022021-08-12 20:09:43 -05001161 select PINCTRL
Tom Rinie69ba982018-03-06 19:02:27 -05001162 select SPECIFY_CONSOLE_INDEX
Samuel Hollandd30ac692021-08-22 13:23:53 -05001163 select SPL_SEPARATE_BSS if SPL
Tom Rinidac518f2017-06-21 07:54:46 -04001164 select SPL_STACK_R if SPL
1165 select SPL_SYS_MALLOC_SIMPLE if SPL
Andre Przywara9d874962024-01-03 00:12:27 +00001166 select SPL_SYS_THUMB_BUILD if SPL && !ARM64
Andre Przywara9d3bab92019-06-23 15:09:46 +01001167 select SUNXI_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +02001168 select SYS_NS16550
Maxime Ripard2ba0f212017-10-19 11:49:29 +02001169 select SYS_THUMB_BUILD if !ARM64
Yann E. MORINe28217d2016-10-31 22:33:40 +01001170 select USB if DISTRO_DEFAULTS
Tom Rini5b9e6162021-07-09 10:11:56 -04001171 select USB_KEYBOARD if DISTRO_DEFAULTS && USB_HOST
1172 select USB_STORAGE if DISTRO_DEFAULTS && USB_HOST
Andre Przywara9d874962024-01-03 00:12:27 +00001173 select SPL_USE_TINY_PRINTF if SPL
Andre Przywara3130df52020-02-20 17:51:14 +00001174 select USE_PREBOOT
1175 select SYS_RELOC_GD_ENV_ADDR
Andy Shevchenko1facc0f2020-12-08 17:45:31 +02001176 imply BOARD_LATE_INIT
Michal Simek2e7c8192018-07-23 15:55:14 +02001177 imply CMD_DM
Maxime Ripardbc7db012017-08-24 11:54:03 +02001178 imply CMD_GPT
Miquel Raynald0935362019-10-03 19:50:03 +02001179 imply CMD_UBI if MTD_RAW_NAND
Masahiro Yamada9afc6c52018-04-25 18:47:52 +09001180 imply DISTRO_DEFAULTS
Andre Przywara8ee04092022-07-15 16:52:14 +01001181 imply DM_REGULATOR
1182 imply DM_REGULATOR_FIXED
Tom Rinid8532af2017-06-02 11:03:50 -04001183 imply FAT_WRITE
Marek Vasut88e3a842018-10-10 18:27:35 +02001184 imply FIT
Andre Heider11790742018-01-16 09:44:22 +01001185 imply OF_LIBFDT_OVERLAY
Masahiro Yamada8e5e1ea2017-04-28 19:42:19 +09001186 imply PRE_CONSOLE_BUFFER
Simon Glass035939e2021-07-10 21:14:30 -06001187 imply SPL_GPIO
Masahiro Yamada8e5e1ea2017-04-28 19:42:19 +09001188 imply SPL_LIBCOMMON_SUPPORT
Masahiro Yamada8e5e1ea2017-04-28 19:42:19 +09001189 imply SPL_LIBGENERIC_SUPPORT
Simon Glassb58bfe02021-08-08 12:20:09 -06001190 imply SPL_MMC if MMC
Simon Glasse91ac4c2021-07-10 21:14:24 -06001191 imply SPL_POWER
Simon Glassf4d60392021-08-08 12:20:12 -06001192 imply SPL_SERIAL
Samuel Hollandf97d6762021-11-03 22:55:16 -05001193 imply SYSRESET
1194 imply SYSRESET_WATCHDOG
1195 imply SYSRESET_WATCHDOG_AUTO
Maxime Ripardabb17b42017-09-07 10:46:24 +02001196 imply USB_GADGET
Samuel Holland576ccd62021-08-22 13:53:28 -05001197 imply WDT
Chen-Yu Tsai848c2632014-10-22 16:47:44 +08001198
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001199config ARCH_U8500
1200 bool "ST-Ericsson U8500 Series"
1201 select CPU_V7A
1202 select DM
1203 select DM_GPIO
1204 select DM_MMC if MMC
1205 select DM_SERIAL
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001206 select DM_USB_GADGET if DM_USB
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001207 select OF_CONTROL
1208 select SYSRESET
1209 select TIMER
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001210 imply AB8500_USB_PHY
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001211 imply ARM_PL180_MMCI
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001212 imply CLK
1213 imply DM_PMIC
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001214 imply DM_RTC
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001215 imply NOMADIK_GPIO
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001216 imply NOMADIK_MTU_TIMER
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001217 imply PHY
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001218 imply PL01X_SERIAL
Stephan Gerholdca0a82b2021-08-07 15:07:19 +02001219 imply PMIC_AB8500
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001220 imply RTC_PL031
Stephan Gerholdd7720452021-08-07 15:07:24 +02001221 imply SYS_THUMB_BUILD
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001222 imply SYSRESET_SYSCON
1223
Michal Simek4b066a12018-08-22 14:55:27 +02001224config ARCH_VERSAL
1225 bool "Support Xilinx Versal Platform"
1226 select ARM64
1227 select CLK
1228 select DM
Michal Simek0609abd2019-01-15 08:52:46 +01001229 select DM_MMC if MMC
Michal Simek4b066a12018-08-22 14:55:27 +02001230 select DM_SERIAL
Tom Rini249f11f2021-08-19 14:19:39 -04001231 select GICV3
Michal Simek4b066a12018-08-22 14:55:27 +02001232 select OF_CONTROL
T Karthik Reddycb8485b2021-08-10 06:50:19 -06001233 select SOC_DEVICE
Siva Durga Prasad Paladugu37c2ff82019-01-31 17:28:14 +05301234 imply BOARD_LATE_INIT
Michal Simekbab07b62020-07-28 12:45:47 +02001235 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simek4b066a12018-08-22 14:55:27 +02001236
Michal Simek2e53eb22022-09-19 14:21:02 +02001237config ARCH_VERSAL_NET
Michal Simek30a73db2022-11-05 18:21:27 -07001238 bool "Support Xilinx Versal NET Platform"
Michal Simek2e53eb22022-09-19 14:21:02 +02001239 select ARM64
1240 select CLK
1241 select DM
Michal Simek2e53eb22022-09-19 14:21:02 +02001242 select DM_MMC if MMC
1243 select DM_SERIAL
1244 select OF_CONTROL
1245 imply BOARD_LATE_INIT
1246 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1247
Stefan Agnerd53c0a42017-03-13 18:41:36 -07001248config ARCH_VF610
1249 bool "Freescale Vybrid"
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301250 select CPU_V7A
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001251 select GPIO_EXTRA_HEADER
Tom Rini945a6682022-11-19 18:45:22 -05001252 select IOMUX_SHARE_CONF_REG
Tom Rini8086a822021-08-24 20:40:59 -04001253 select MACH_IMX
York Sun097e3602016-12-28 08:43:42 -08001254 select SYS_FSL_ERRATUM_ESDHC111
Tom Rinic20bb732017-07-22 18:36:16 -04001255 imply CMD_MTDPARTS
Miquel Raynald0935362019-10-03 19:50:03 +02001256 imply MTD_RAW_NAND
Sanchayan Maitycc4d78f2015-04-15 16:24:26 +05301257
Masahiro Yamada8204bd12015-03-16 16:43:24 +09001258config ARCH_ZYNQ
Michal Simek8caedde2017-11-23 08:25:41 +01001259 bool "Xilinx Zynq based platform"
Stefan Herbrechtsmeier10ff2882022-08-05 08:16:28 +02001260 select ARM_TWD_TIMER
Tom Rini57bef812023-02-15 22:36:49 -05001261 select ARCH_EARLY_INIT_R if FPGA || (SPL && SPL_FPGA)
Michal Simek84f3dec2018-07-23 15:55:13 +02001262 select CLK
1263 select CLK_ZYNQ
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301264 select CPU_V7A
Michal Simek7659fe42022-02-17 14:28:41 +01001265 select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
Masahiro Yamada2df07d42015-03-31 12:47:55 +09001266 select DM
Michal Simek6d35f3f2018-01-09 14:49:28 +01001267 select DM_MMC if MMC
Simon Glass23d9b622015-10-17 19:41:27 -06001268 select DM_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02001269 select DM_SPI
Jagan Teki0bd03a52015-06-27 00:51:32 +05301270 select DM_SPI_FLASH
Michal Simek84f3dec2018-07-23 15:55:13 +02001271 select OF_CONTROL
Tom Riniddb1ec12024-01-10 13:46:10 -05001272 select MTD
Adam Ford4e96ff82018-04-15 13:51:26 -04001273 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +02001274 select SPL_BOARD_INIT if SPL
1275 select SPL_CLK if SPL
1276 select SPL_DM if SPL
Lukasz Majewski76f442982020-06-04 23:11:53 +08001277 select SPL_DM_SPI if SPL
1278 select SPL_DM_SPI_FLASH if SPL
Michal Simek84f3dec2018-07-23 15:55:13 +02001279 select SPL_OF_CONTROL if SPL
1280 select SPL_SEPARATE_BSS if SPL
Stefan Herbrechtsmeier10ff2882022-08-05 08:16:28 +02001281 select SPL_TIMER if SPL
Michal Simek84f3dec2018-07-23 15:55:13 +02001282 select SUPPORT_SPL
Stefan Herbrechtsmeier10ff2882022-08-05 08:16:28 +02001283 select TIMER
Michal Simek37ad2702018-08-20 08:24:14 +02001284 imply BOARD_LATE_INIT
Simon Glass04ac6f12017-04-26 22:28:02 -06001285 imply CMD_CLK
Michal Simek2e7c8192018-07-23 15:55:14 +02001286 imply CMD_DM
Simon Glassc6567fa2017-08-04 16:34:48 -06001287 imply CMD_SPL
Michal Simekbab07b62020-07-28 12:45:47 +02001288 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simek84f3dec2018-07-23 15:55:13 +02001289 imply FAT_WRITE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001290
Michal Simekb513bcd2018-04-12 17:39:46 +02001291config ARCH_ZYNQMP_R5
1292 bool "Xilinx ZynqMP R5 based platform"
Michal Simek84f3dec2018-07-23 15:55:13 +02001293 select CLK
Michal Simekb513bcd2018-04-12 17:39:46 +02001294 select CPU_V7R
Michal Simekb513bcd2018-04-12 17:39:46 +02001295 select DM
Michal Simek5f3c3382019-01-15 09:06:46 +01001296 select DM_MMC if MMC
Michal Simekb513bcd2018-04-12 17:39:46 +02001297 select DM_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02001298 select OF_CONTROL
Michal Simek2e7c8192018-07-23 15:55:14 +02001299 imply CMD_DM
Jean-Jacques Hiblot44aaec72018-11-29 10:52:42 +01001300 imply DM_USB_GADGET
Michal Simekb513bcd2018-04-12 17:39:46 +02001301
Siva Durga Prasad Paladugu650fb402015-06-10 15:50:57 +05301302config ARCH_ZYNQMP
Michal Simek8caedde2017-11-23 08:25:41 +01001303 bool "Xilinx ZynqMP based platform"
Michal Simek04b7e622015-01-15 10:01:51 +01001304 select ARM64
Michal Simek84f3dec2018-07-23 15:55:13 +02001305 select CLK
Michal Simek25b83712015-10-17 19:41:25 -06001306 select DM
Michal Simeke5710e32022-02-17 14:28:42 +01001307 select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
Michal Simek875a1352022-11-29 16:09:42 +01001308 imply DM_MAILBOX
Michal Simek73f2d0f2019-01-15 08:52:51 +01001309 select DM_MMC if MMC
Michal Simek25b83712015-10-17 19:41:25 -06001310 select DM_SERIAL
Tom Riniddb1ec12024-01-10 13:46:10 -05001311 select MTD
Michal Simek968388d2019-01-15 10:50:39 +01001312 select DM_SPI if SPI
1313 select DM_SPI_FLASH if DM_SPI
Michal Simek85593af2022-01-14 13:08:42 +01001314 imply FIRMWARE
Tom Rini249f11f2021-08-19 14:19:39 -04001315 select GICV2
Michal Simek84f3dec2018-07-23 15:55:13 +02001316 select OF_CONTROL
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +08001317 select SPL_BOARD_INIT if SPL
Michal Simekfd1d7662017-12-01 15:13:36 +01001318 select SPL_CLK if SPL
Michal Simek40280f12020-08-19 10:30:39 +02001319 select SPL_DM if SPL
1320 select SPL_DM_SPI if SPI && SPL_DM
Lukasz Majewski76f442982020-06-04 23:11:53 +08001321 select SPL_DM_SPI_FLASH if SPL_DM_SPI
Ibai Erkiaga2d9b95b2019-09-27 11:37:04 +01001322 select SPL_DM_MAILBOX if SPL
Michal Simek85593af2022-01-14 13:08:42 +01001323 imply SPL_FIRMWARE if SPL
Michal Simek1bae5ec2024-03-12 16:51:21 +01001324 imply SPL_FS_FAT if SPL
1325 imply SPL_LIBCOMMON_SUPPORT if SPL
1326 imply SPL_LIBDISK_SUPPORT if SPL
1327 imply SPL_LIBGENERIC_SUPPORT if SPL
1328 imply SPL_MMC if SPL && MMC_SDHCI_ZYNQ
1329 imply SPL_SERIAL if SPL
1330 imply SPL_SPI if SPL && ZYNQ_QSPI
1331 imply SPL_SPI_FLASH_SUPPORT if SPL && ZYNQ_QSPI
Michal Simek88674da2018-11-23 09:01:44 +01001332 select SPL_SEPARATE_BSS if SPL
Michal Simek84f3dec2018-07-23 15:55:13 +02001333 select SUPPORT_SPL
Michal Simek875a1352022-11-29 16:09:42 +01001334 imply ZYNQMP_IPI if DM_MAILBOX
T Karthik Reddy501c2062021-08-10 06:50:18 -06001335 select SOC_DEVICE
Michal Simek37ad2702018-08-20 08:24:14 +02001336 imply BOARD_LATE_INIT
Michal Simek2e7c8192018-07-23 15:55:14 +02001337 imply CMD_DM
Michal Simekbab07b62020-07-28 12:45:47 +02001338 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Tom Rinid8532af2017-06-02 11:03:50 -04001339 imply FAT_WRITE
Michal Simeka8ddd6a2018-10-04 14:26:13 +02001340 imply MP
Jean-Jacques Hiblot44aaec72018-11-29 10:52:42 +01001341 imply DM_USB_GADGET
T Karthik Reddy01719722021-10-29 13:11:43 +02001342 imply ZYNQMP_GPIO_MODEPIN if DM_GPIO && USB
Michal Simek04b7e622015-01-15 10:01:51 +01001343
Trevor Woerner513f6402020-05-06 08:02:41 -04001344config ARCH_TEGRA
Masahiro Yamada73a5b1a2014-08-31 07:10:56 +09001345 bool "NVIDIA Tegra"
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001346 select GPIO_EXTRA_HEADER
Masahiro Yamada9afc6c52018-04-25 18:47:52 +09001347 imply DISTRO_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -04001348 imply FAT_WRITE
Svyatoslav Ryhel79a7e412023-02-01 10:53:03 +02001349 imply SPL_TIMER if SPL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001350
Andre Przywarab33739f2022-03-04 16:30:09 +00001351config ARCH_VEXPRESS64
1352 bool "Support ARMv8 Arm Ltd. VExpress based boards and models"
Masahiro Yamada0d46c342014-09-14 03:01:51 +09001353 select ARM64
Andre Przywara94504f42020-04-27 19:18:01 +01001354 select DM
Andre Przywara94504f42020-04-27 19:18:01 +01001355 select DM_SERIAL
Andre Przywarab33739f2022-03-04 16:30:09 +00001356 select PL01X_SERIAL
Andre Przywara395e9a92022-03-04 16:30:11 +00001357 select OF_CONTROL
1358 select CLK
Andre Przywara9fd5ec52022-03-04 16:30:13 +00001359 select BLK
1360 select MTD_NOR_FLASH if MTD
1361 select FLASH_CFI_DRIVER if MTD
1362 select ENV_IS_IN_FLASH if MTD
Andre Przywara019753a2022-03-04 16:30:14 +00001363 imply DISTRO_DEFAULTS
Linus Walleijc5822502015-01-23 14:41:10 +01001364
Rui Miguel Silvaee0fec72022-05-11 10:55:41 +01001365config TARGET_CORSTONE1000
1366 bool "Support Corstone1000 Platform"
1367 select ARM64
1368 select PL01X_SERIAL
1369 select DM
1370
Usama Arif9218a112020-08-12 16:12:53 +01001371config TARGET_TOTAL_COMPUTE
1372 bool "Support Total Compute Platform"
1373 select ARM64
1374 select PL01X_SERIAL
1375 select DM
1376 select DM_SERIAL
1377 select DM_MMC
1378 select DM_GPIO
1379
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301380config TARGET_LS2080A_EMU
1381 bool "Support ls2080a_emu"
York Sun4dd8c612016-10-04 14:31:48 -07001382 select ARCH_LS2080A
Masahiro Yamada0d46c342014-09-14 03:01:51 +09001383 select ARM64
Linus Walleij74771392015-03-09 10:53:21 +01001384 select ARMV8_MULTIENTRY
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001385 select FSL_DDR_SYNC_REFRESH
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001386 select GPIO_EXTRA_HEADER
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301387 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -05001388 Support for Freescale LS2080A_EMU platform.
1389 The LS2080A Development System (EMULATOR) is a pre-silicon
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301390 development platform that supports the QorIQ LS2080A
1391 Layerscape Architecture processor.
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001392
Ashish Kumar1ef4c772017-08-31 16:12:55 +05301393config TARGET_LS1088AQDS
1394 bool "Support ls1088aqds"
1395 select ARCH_LS1088A
1396 select ARM64
1397 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001398 select ARCH_SUPPORT_TFABOOT
Ashish Kumar1ef4c772017-08-31 16:12:55 +05301399 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001400 select GPIO_EXTRA_HEADER
Ashish Kumar4feb83b2017-11-06 13:18:44 +05301401 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001402 select FSL_DDR_INTERACTIVE if !SD_BOOT
Ashish Kumar1ef4c772017-08-31 16:12:55 +05301403 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -05001404 Support for NXP LS1088AQDS platform.
Ashish Kumar1ef4c772017-08-31 16:12:55 +05301405 The LS1088A Development System (QDS) is a high-performance
1406 development platform that supports the QorIQ LS1088A
1407 Layerscape Architecture processor.
1408
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301409config TARGET_LS2080AQDS
1410 bool "Support ls2080aqds"
York Sun4dd8c612016-10-04 14:31:48 -07001411 select ARCH_LS2080A
York Sun03017032015-03-20 19:28:23 -07001412 select ARM64
1413 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001414 select ARCH_SUPPORT_TFABOOT
Tom Rini22d567e2017-01-22 19:43:11 -05001415 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001416 select GPIO_EXTRA_HEADER
Scott Wood8e728cd2015-03-24 13:25:02 -07001417 select SUPPORT_SPL
Simon Glass0e5faf02017-06-14 21:28:21 -06001418 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +02001419 imply SCSI_AHCI
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001420 select FSL_DDR_BIST
1421 select FSL_DDR_INTERACTIVE if !SPL
York Sun03017032015-03-20 19:28:23 -07001422 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -05001423 Support for Freescale LS2080AQDS platform.
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301424 The LS2080A Development System (QDS) is a high-performance
1425 development platform that supports the QorIQ LS2080A
York Sun03017032015-03-20 19:28:23 -07001426 Layerscape Architecture processor.
1427
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301428config TARGET_LS2080ARDB
1429 bool "Support ls2080ardb"
York Sun4dd8c612016-10-04 14:31:48 -07001430 select ARCH_LS2080A
York Sune12abcb2015-03-20 19:28:24 -07001431 select ARM64
1432 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001433 select ARCH_SUPPORT_TFABOOT
Tom Rini22d567e2017-01-22 19:43:11 -05001434 select BOARD_LATE_INIT
Scott Wood212b8d82015-03-24 13:25:03 -07001435 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001436 select FSL_DDR_BIST
1437 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001438 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001439 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +02001440 imply SCSI_AHCI
York Sune12abcb2015-03-20 19:28:24 -07001441 help
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301442 Support for Freescale LS2080ARDB platform.
1443 The LS2080A Reference design board (RDB) is a high-performance
1444 development platform that supports the QorIQ LS2080A
York Sune12abcb2015-03-20 19:28:24 -07001445 Layerscape Architecture processor.
1446
Priyanka Jain75cd67f2017-04-27 15:08:07 +05301447config TARGET_LS2081ARDB
1448 bool "Support ls2081ardb"
1449 select ARCH_LS2080A
1450 select ARM64
1451 select ARMV8_MULTIENTRY
1452 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001453 select GPIO_EXTRA_HEADER
Priyanka Jain75cd67f2017-04-27 15:08:07 +05301454 select SUPPORT_SPL
Priyanka Jain75cd67f2017-04-27 15:08:07 +05301455 help
1456 Support for Freescale LS2081ARDB platform.
1457 The LS2081A Reference design board (RDB) is a high-performance
1458 development platform that supports the QorIQ LS2081A/LS2041A
1459 Layerscape Architecture processor.
1460
Priyanka Jainfd45ca02018-11-28 13:04:27 +00001461config TARGET_LX2160ARDB
1462 bool "Support lx2160ardb"
1463 select ARCH_LX2160A
Priyanka Jainfd45ca02018-11-28 13:04:27 +00001464 select ARM64
1465 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001466 select ARCH_SUPPORT_TFABOOT
Priyanka Jainfd45ca02018-11-28 13:04:27 +00001467 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001468 select GPIO_EXTRA_HEADER
Priyanka Jainfd45ca02018-11-28 13:04:27 +00001469 help
1470 Support for NXP LX2160ARDB platform.
1471 The lx2160ardb (LX2160A Reference design board (RDB)
1472 is a high-performance development platform that supports the
1473 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1474
Pankaj Bansal338baa32019-02-08 10:29:58 +00001475config TARGET_LX2160AQDS
1476 bool "Support lx2160aqds"
1477 select ARCH_LX2160A
Pankaj Bansal338baa32019-02-08 10:29:58 +00001478 select ARM64
1479 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001480 select ARCH_SUPPORT_TFABOOT
Pankaj Bansal338baa32019-02-08 10:29:58 +00001481 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001482 select GPIO_EXTRA_HEADER
Pankaj Bansal338baa32019-02-08 10:29:58 +00001483 help
1484 Support for NXP LX2160AQDS platform.
1485 The lx2160aqds (LX2160A QorIQ Development System (QDS)
1486 is a high-performance development platform that supports the
1487 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1488
Meenakshi Aggarwal8a03b0d2020-12-04 20:17:28 +05301489config TARGET_LX2162AQDS
1490 bool "Support lx2162aqds"
1491 select ARCH_LX2162A
1492 select ARCH_MISC_INIT
1493 select ARM64
1494 select ARMV8_MULTIENTRY
1495 select ARCH_SUPPORT_TFABOOT
1496 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001497 select GPIO_EXTRA_HEADER
Meenakshi Aggarwal8a03b0d2020-12-04 20:17:28 +05301498 help
1499 Support for NXP LX2162AQDS platform.
1500 The lx2162aqds support is based on LX2160A Layerscape Architecture processor.
1501
Peter Griffin31f327e2015-07-30 18:55:23 +01001502config TARGET_HIKEY
1503 bool "Support HiKey 96boards Consumer Edition Platform"
1504 select ARM64
Peter Griffinff9302f2015-09-10 21:55:16 +01001505 select DM
1506 select DM_GPIO
Peter Griffin0382c642015-09-10 21:55:17 +01001507 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001508 select GPIO_EXTRA_HEADER
Peter Griffinc97c37a2016-04-20 17:13:59 +01001509 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +01001510 select PL01X_SERIAL
Tom Rinie69ba982018-03-06 19:02:27 -05001511 select SPECIFY_CONSOLE_INDEX
Michal Simek2e7c8192018-07-23 15:55:14 +02001512 imply CMD_DM
Peter Griffin31f327e2015-07-30 18:55:23 +01001513 help
1514 Support for HiKey 96boards platform. It features a HI6220
1515 SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
1516
Manivannan Sadhasivamcf33f922019-08-02 20:40:09 +05301517config TARGET_HIKEY960
1518 bool "Support HiKey960 96boards Consumer Edition Platform"
1519 select ARM64
1520 select DM
1521 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001522 select GPIO_EXTRA_HEADER
Manivannan Sadhasivamcf33f922019-08-02 20:40:09 +05301523 select OF_CONTROL
1524 select PL01X_SERIAL
1525 imply CMD_DM
1526 help
1527 Support for HiKey960 96boards platform. It features a HI3660
1528 SoC, with 4xA73 CPU, 4xA53 CPU, MALI-G71 GPU, and 3GB RAM.
1529
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02001530config TARGET_POPLAR
1531 bool "Support Poplar 96boards Enterprise Edition Platform"
1532 select ARM64
1533 select DM
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02001534 select DM_SERIAL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001535 select GPIO_EXTRA_HEADER
Michal Simek84f3dec2018-07-23 15:55:13 +02001536 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +01001537 select PL01X_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +02001538 imply CMD_DM
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02001539 help
1540 Support for Poplar 96boards EE platform. It features a HI3798cv200
1541 SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
1542 making it capable of running any commercial set-top solution based on
1543 Linux or Android.
1544
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05301545config TARGET_LS1012AQDS
1546 bool "Support ls1012aqds"
York Sunb3d71642016-09-26 08:09:26 -07001547 select ARCH_LS1012A
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05301548 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001549 select ARCH_SUPPORT_TFABOOT
Tom Rini22d567e2017-01-22 19:43:11 -05001550 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001551 select GPIO_EXTRA_HEADER
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05301552 help
1553 Support for Freescale LS1012AQDS platform.
1554 The LS1012A Development System (QDS) is a high-performance
1555 development platform that supports the QorIQ LS1012A
1556 Layerscape Architecture processor.
1557
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05301558config TARGET_LS1012ARDB
1559 bool "Support ls1012ardb"
York Sunb3d71642016-09-26 08:09:26 -07001560 select ARCH_LS1012A
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05301561 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001562 select ARCH_SUPPORT_TFABOOT
Tom Rini22d567e2017-01-22 19:43:11 -05001563 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001564 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001565 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +02001566 imply SCSI_AHCI
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05301567 help
1568 Support for Freescale LS1012ARDB platform.
1569 The LS1012A Reference design board (RDB) is a high-performance
1570 development platform that supports the QorIQ LS1012A
1571 Layerscape Architecture processor.
1572
Bhaskar Upadhaya7fff22a2018-01-11 20:03:31 +05301573config TARGET_LS1012A2G5RDB
1574 bool "Support ls1012a2g5rdb"
1575 select ARCH_LS1012A
1576 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001577 select ARCH_SUPPORT_TFABOOT
Bhaskar Upadhaya7fff22a2018-01-11 20:03:31 +05301578 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001579 select GPIO_EXTRA_HEADER
Bhaskar Upadhaya7fff22a2018-01-11 20:03:31 +05301580 imply SCSI
1581 help
1582 Support for Freescale LS1012A2G5RDB platform.
1583 The LS1012A 2G5 Reference design board (RDB) is a high-performance
1584 development platform that supports the QorIQ LS1012A
1585 Layerscape Architecture processor.
1586
Bhaskar Upadhaya5e6f5982018-05-23 11:03:30 +05301587config TARGET_LS1012AFRWY
1588 bool "Support ls1012afrwy"
1589 select ARCH_LS1012A
1590 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001591 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001592 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001593 select GPIO_EXTRA_HEADER
Bhaskar Upadhaya5e6f5982018-05-23 11:03:30 +05301594 imply SCSI
1595 imply SCSI_AHCI
1596 help
1597 Support for Freescale LS1012AFRWY platform.
1598 The LS1012A FRWY board (FRWY) is a high-performance
1599 development platform that supports the QorIQ LS1012A
1600 Layerscape Architecture processor.
1601
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05301602config TARGET_LS1012AFRDM
1603 bool "Support ls1012afrdm"
York Sunb3d71642016-09-26 08:09:26 -07001604 select ARCH_LS1012A
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05301605 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001606 select ARCH_SUPPORT_TFABOOT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001607 select GPIO_EXTRA_HEADER
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05301608 help
1609 Support for Freescale LS1012AFRDM platform.
1610 The LS1012A Freedom board (FRDM) is a high-performance
1611 development platform that supports the QorIQ LS1012A
1612 Layerscape Architecture processor.
1613
Yuantian Tang473bbc42019-04-10 16:43:35 +08001614config TARGET_LS1028AQDS
1615 bool "Support ls1028aqds"
1616 select ARCH_LS1028A
1617 select ARM64
1618 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001619 select ARCH_SUPPORT_TFABOOT
Yuantian Tangafa86692019-07-02 16:16:22 +08001620 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001621 select GPIO_EXTRA_HEADER
Yuantian Tang473bbc42019-04-10 16:43:35 +08001622 help
1623 Support for Freescale LS1028AQDS platform
1624 The LS1028A Development System (QDS) is a high-performance
1625 development platform that supports the QorIQ LS1028A
1626 Layerscape Architecture processor.
1627
Yuantian Tang92f18ff2019-04-10 16:43:34 +08001628config TARGET_LS1028ARDB
1629 bool "Support ls1028ardb"
1630 select ARCH_LS1028A
1631 select ARM64
1632 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001633 select ARCH_SUPPORT_TFABOOT
Yuantian Tang31c98902020-03-09 14:10:07 +08001634 select BOARD_LATE_INIT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001635 select GPIO_EXTRA_HEADER
Yuantian Tang92f18ff2019-04-10 16:43:34 +08001636 help
1637 Support for Freescale LS1028ARDB platform
1638 The LS1028A Development System (RDB) is a high-performance
1639 development platform that supports the QorIQ LS1028A
1640 Layerscape Architecture processor.
1641
Ashish Kumar227b4bc2017-08-31 16:12:54 +05301642config TARGET_LS1088ARDB
1643 bool "Support ls1088ardb"
1644 select ARCH_LS1088A
1645 select ARM64
1646 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001647 select ARCH_SUPPORT_TFABOOT
Ashish Kumar227b4bc2017-08-31 16:12:54 +05301648 select BOARD_LATE_INIT
Ashish Kumar5676ceb2017-11-06 13:18:43 +05301649 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001650 select FSL_DDR_INTERACTIVE if !SD_BOOT
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001651 select GPIO_EXTRA_HEADER
Ashish Kumar227b4bc2017-08-31 16:12:54 +05301652 help
1653 Support for NXP LS1088ARDB platform.
1654 The LS1088A Reference design board (RDB) is a high-performance
1655 development platform that supports the QorIQ LS1088A
1656 Layerscape Architecture processor.
1657
Wang Huanf0ce7d62014-09-05 13:52:44 +08001658config TARGET_LS1021AQDS
Alison Wang6ea8ad42014-12-03 16:18:09 +08001659 bool "Support ls1021aqds"
Michal Simek84f3dec2018-07-23 15:55:13 +02001660 select ARCH_LS1021A
1661 select ARCH_SUPPORT_PSCI
1662 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001663 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301664 select CPU_V7A
Hongbo Zhange80fccf2016-09-21 18:31:04 +08001665 select CPU_V7_HAS_NONSEC
1666 select CPU_V7_HAS_VIRT
York Sun4de7e932016-09-26 08:09:29 -07001667 select LS1_DEEP_SLEEP
Tom Rinid7b177e2022-12-02 16:42:40 -05001668 select PEN_ADDR_BIG_ENDIAN
Michal Simek84f3dec2018-07-23 15:55:13 +02001669 select SUPPORT_SPL
York Sund297d392016-12-28 08:43:40 -08001670 select SYS_FSL_DDR
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001671 select FSL_DDR_INTERACTIVE
Lukasz Majewski23aa8342020-06-04 23:11:52 +08001672 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001673 select GPIO_EXTRA_HEADER
Lukasz Majewski23aa8342020-06-04 23:11:52 +08001674 select SPI_FLASH_DATAFLASH if FSL_DSPI || FSL_QSPI
Simon Glass0e5faf02017-06-14 21:28:21 -06001675 imply SCSI
Masahiro Yamadad5415b22016-08-30 16:22:22 +09001676
Wang Huanddf89f92014-09-05 13:52:45 +08001677config TARGET_LS1021ATWR
Alison Wang6ea8ad42014-12-03 16:18:09 +08001678 bool "Support ls1021atwr"
Michal Simek84f3dec2018-07-23 15:55:13 +02001679 select ARCH_LS1021A
1680 select ARCH_SUPPORT_PSCI
1681 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001682 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301683 select CPU_V7A
Hongbo Zhange80fccf2016-09-21 18:31:04 +08001684 select CPU_V7_HAS_NONSEC
1685 select CPU_V7_HAS_VIRT
York Sun4de7e932016-09-26 08:09:29 -07001686 select LS1_DEEP_SLEEP
Tom Rinid7b177e2022-12-02 16:42:40 -05001687 select PEN_ADDR_BIG_ENDIAN
Michal Simek84f3dec2018-07-23 15:55:13 +02001688 select SUPPORT_SPL
Lukasz Majewski23aa8342020-06-04 23:11:52 +08001689 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001690 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001691 imply SCSI
Wang Huanddf89f92014-09-05 13:52:45 +08001692
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +00001693config TARGET_PG_WCOM_SELI8
1694 bool "Support Hitachi-Powergrids SELI8 service unit card"
1695 select ARCH_LS1021A
1696 select ARCH_SUPPORT_PSCI
1697 select BOARD_EARLY_INIT_F
1698 select BOARD_LATE_INIT
1699 select CPU_V7A
1700 select CPU_V7_HAS_NONSEC
1701 select CPU_V7_HAS_VIRT
1702 select SYS_FSL_DDR
1703 select FSL_DDR_INTERACTIVE
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001704 select GPIO_EXTRA_HEADER
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +00001705 select VENDOR_KM
1706 imply SCSI
1707 help
1708 Support for Hitachi-Powergrids SELI8 service unit card.
1709 SELI8 is a QorIQ LS1021a based service unit card used
1710 in XMC20 and FOX615 product families.
1711
Aleksandar Gerasimovski3b24bbd2021-06-08 14:16:28 +00001712config TARGET_PG_WCOM_EXPU1
1713 bool "Support Hitachi-Powergrids EXPU1 service unit card"
1714 select ARCH_LS1021A
1715 select ARCH_SUPPORT_PSCI
1716 select BOARD_EARLY_INIT_F
1717 select BOARD_LATE_INIT
1718 select CPU_V7A
1719 select CPU_V7_HAS_NONSEC
1720 select CPU_V7_HAS_VIRT
1721 select SYS_FSL_DDR
1722 select FSL_DDR_INTERACTIVE
1723 select VENDOR_KM
1724 imply SCSI
1725 help
1726 Support for Hitachi-Powergrids EXPU1 service unit card.
1727 EXPU1 is a QorIQ LS1021a based service unit card used
1728 in XMC20 and FOX615 product families.
1729
Jianchao Wange5332ba2019-07-19 00:30:01 +03001730config TARGET_LS1021ATSN
1731 bool "Support ls1021atsn"
1732 select ARCH_LS1021A
1733 select ARCH_SUPPORT_PSCI
1734 select BOARD_EARLY_INIT_F
1735 select BOARD_LATE_INIT
1736 select CPU_V7A
1737 select CPU_V7_HAS_NONSEC
1738 select CPU_V7_HAS_VIRT
1739 select LS1_DEEP_SLEEP
1740 select SUPPORT_SPL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001741 select GPIO_EXTRA_HEADER
Jianchao Wange5332ba2019-07-19 00:30:01 +03001742 imply SCSI
1743
Feng Li39e112d2016-11-03 14:15:17 +08001744config TARGET_LS1021AIOT
1745 bool "Support ls1021aiot"
Michal Simek84f3dec2018-07-23 15:55:13 +02001746 select ARCH_LS1021A
1747 select ARCH_SUPPORT_PSCI
Tom Rini22d567e2017-01-22 19:43:11 -05001748 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301749 select CPU_V7A
Feng Li39e112d2016-11-03 14:15:17 +08001750 select CPU_V7_HAS_NONSEC
1751 select CPU_V7_HAS_VIRT
Tom Rinid7b177e2022-12-02 16:42:40 -05001752 select PEN_ADDR_BIG_ENDIAN
Feng Li39e112d2016-11-03 14:15:17 +08001753 select SUPPORT_SPL
Lukasz Majewski23aa8342020-06-04 23:11:52 +08001754 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001755 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001756 imply SCSI
Feng Li39e112d2016-11-03 14:15:17 +08001757 help
1758 Support for Freescale LS1021AIOT platform.
1759 The LS1021A Freescale board (IOT) is a high-performance
1760 development platform that supports the QorIQ LS1021A
1761 Layerscape Architecture processor.
1762
Shaohui Xiedd335672015-11-11 17:58:37 +08001763config TARGET_LS1043AQDS
1764 bool "Support ls1043aqds"
York Sun149eb332016-09-26 08:09:27 -07001765 select ARCH_LS1043A
Shaohui Xiedd335672015-11-11 17:58:37 +08001766 select ARM64
1767 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001768 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001769 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001770 select BOARD_LATE_INIT
Shaohui Xiedd335672015-11-11 17:58:37 +08001771 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001772 select FSL_DDR_INTERACTIVE if !SPL
Lukasz Majewski9cb0cc12020-06-04 23:11:51 +08001773 select FSL_DSPI if !SPL_NO_DSPI
1774 select DM_SPI_FLASH if FSL_DSPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001775 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001776 imply SCSI
Peng Maa550eb62019-01-30 19:11:49 +08001777 imply SCSI_AHCI
Shaohui Xiedd335672015-11-11 17:58:37 +08001778 help
1779 Support for Freescale LS1043AQDS platform.
1780
Mingkai Hueee86ff2015-10-26 19:47:52 +08001781config TARGET_LS1043ARDB
1782 bool "Support ls1043ardb"
York Sun149eb332016-09-26 08:09:27 -07001783 select ARCH_LS1043A
Mingkai Hueee86ff2015-10-26 19:47:52 +08001784 select ARM64
Hou Zhiqiangc7098fa2015-10-26 19:47:57 +08001785 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001786 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001787 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001788 select BOARD_LATE_INIT
Gong Qianyu8168a0f2015-10-26 19:47:53 +08001789 select SUPPORT_SPL
Lukasz Majewski9cb0cc12020-06-04 23:11:51 +08001790 select FSL_DSPI if !SPL_NO_DSPI
1791 select DM_SPI_FLASH if FSL_DSPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001792 select GPIO_EXTRA_HEADER
Mingkai Hueee86ff2015-10-26 19:47:52 +08001793 help
1794 Support for Freescale LS1043ARDB platform.
1795
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001796config TARGET_LS1046AQDS
1797 bool "Support ls1046aqds"
York Sunbad49842016-09-26 08:09:24 -07001798 select ARCH_LS1046A
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001799 select ARM64
1800 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001801 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001802 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001803 select BOARD_LATE_INIT
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001804 select DM_SPI_FLASH if DM_SPI
Michal Simek84f3dec2018-07-23 15:55:13 +02001805 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001806 select FSL_DDR_BIST if !SPL
1807 select FSL_DDR_INTERACTIVE if !SPL
1808 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001809 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001810 imply SCSI
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001811 help
1812 Support for Freescale LS1046AQDS platform.
1813 The LS1046A Development System (QDS) is a high-performance
1814 development platform that supports the QorIQ LS1046A
1815 Layerscape Architecture processor.
1816
Mingkai Hud2396512016-09-07 18:47:28 +08001817config TARGET_LS1046ARDB
1818 bool "Support ls1046ardb"
York Sunbad49842016-09-26 08:09:24 -07001819 select ARCH_LS1046A
Mingkai Hud2396512016-09-07 18:47:28 +08001820 select ARM64
1821 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001822 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001823 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001824 select BOARD_LATE_INIT
Mingkai Hud2396512016-09-07 18:47:28 +08001825 select DM_SPI_FLASH if DM_SPI
Hou Zhiqiang67b6d0a2016-12-09 16:09:01 +08001826 select POWER_MC34VR500
Michal Simek84f3dec2018-07-23 15:55:13 +02001827 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001828 select FSL_DDR_BIST
1829 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001830 select GPIO_EXTRA_HEADER
Simon Glass0e5faf02017-06-14 21:28:21 -06001831 imply SCSI
Mingkai Hud2396512016-09-07 18:47:28 +08001832 help
1833 Support for Freescale LS1046ARDB platform.
1834 The LS1046A Reference Design Board (RDB) is a high-performance
1835 development platform that supports the QorIQ LS1046A
1836 Layerscape Architecture processor.
1837
Vabhav Sharma51641912019-06-06 12:35:28 +00001838config TARGET_LS1046AFRWY
1839 bool "Support ls1046afrwy"
1840 select ARCH_LS1046A
1841 select ARM64
1842 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001843 select ARCH_SUPPORT_TFABOOT
Vabhav Sharma51641912019-06-06 12:35:28 +00001844 select BOARD_EARLY_INIT_F
1845 select BOARD_LATE_INIT
1846 select DM_SPI_FLASH if DM_SPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001847 select GPIO_EXTRA_HEADER
Vabhav Sharma51641912019-06-06 12:35:28 +00001848 imply SCSI
1849 help
1850 Support for Freescale LS1046AFRWY platform.
1851 The LS1046A Freeway Board (FRWY) is a high-performance
1852 development platform that supports the QorIQ LS1046A
1853 Layerscape Architecture processor.
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001854
Michael Walle36ba7642020-10-15 23:08:57 +02001855config TARGET_SL28
1856 bool "Support sl28"
1857 select ARCH_LS1028A
1858 select ARM64
1859 select ARMV8_MULTIENTRY
1860 select SUPPORT_SPL
1861 select BINMAN
Michael Walleb53a4f32021-03-26 19:40:57 +01001862 select DM
1863 select DM_GPIO
1864 select DM_I2C
1865 select DM_MMC
Tom Riniddb1ec12024-01-10 13:46:10 -05001866 select MTD
Michael Walleb53a4f32021-03-26 19:40:57 +01001867 select DM_SPI_FLASH
Michael Walleb53a4f32021-03-26 19:40:57 +01001868 select DM_MDIO
Simon Glass3933d292021-08-01 18:54:44 -06001869 select PCI
Michael Walleb53a4f32021-03-26 19:40:57 +01001870 select DM_RNG
1871 select DM_RTC
Tom Rini15a2ab52023-10-27 20:59:51 -04001872 select SCSI
Michael Walle7a66ef02021-03-26 19:40:58 +01001873 select DM_SERIAL
Michael Walleb53a4f32021-03-26 19:40:57 +01001874 select DM_SPI
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09001875 select GPIO_EXTRA_HEADER
Michael Walleb53a4f32021-03-26 19:40:57 +01001876 select SPL_DM if SPL
1877 select SPL_DM_SPI if SPL
1878 select SPL_DM_SPI_FLASH if SPL
1879 select SPL_DM_I2C if SPL
1880 select SPL_DM_MMC if SPL
1881 select SPL_DM_SERIAL if SPL
Michael Walle36ba7642020-10-15 23:08:57 +02001882 help
1883 Support for Kontron SMARC-sAL28 board.
1884
Mathew McBridee605fb12022-01-31 18:34:43 +05301885config TARGET_TEN64
1886 bool "Support ten64"
1887 select ARCH_LS1088A
1888 select ARCH_MISC_INIT
1889 select ARM64
1890 select ARMV8_MULTIENTRY
1891 select ARCH_SUPPORT_TFABOOT
1892 select BOARD_LATE_INIT
1893 select SUPPORT_SPL
1894 select FSL_DDR_INTERACTIVE if !SD_BOOT
1895 select GPIO_EXTRA_HEADER
1896 help
1897 Support for Traverse Technologies Ten64 board, based
1898 on NXP LS1088A.
1899
Masahiro Yamada82069432014-10-03 19:21:07 +09001900config ARCH_UNIPHIER
Masahiro Yamada563ee4c2015-05-29 17:30:01 +09001901 bool "Socionext UniPhier SoCs"
Tom Rini22d567e2017-01-22 19:43:11 -05001902 select BOARD_LATE_INIT
Masahiro Yamada85eb8262015-03-31 12:47:54 +09001903 select DM
Masahiro Yamada5f128922016-02-16 17:03:50 +09001904 select DM_GPIO
Masahiro Yamada85eb8262015-03-31 12:47:54 +09001905 select DM_I2C
Masahiro Yamada867453e2016-02-18 19:52:49 +09001906 select DM_MMC
Masahiro Yamada8fc53822020-01-30 22:07:59 +09001907 select DM_MTD
Masahiro Yamada2aa4b5b2016-10-08 13:25:31 +09001908 select DM_RESET
Masahiro Yamada694adf12016-09-14 01:05:59 +09001909 select DM_SERIAL
Masahiro Yamadae0a6fa82018-07-19 16:28:25 +09001910 select OF_BOARD_SETUP
Masahiro Yamada694adf12016-09-14 01:05:59 +09001911 select OF_CONTROL
1912 select OF_LIBFDT
Masahiro Yamada0c977252016-09-17 03:33:01 +09001913 select PINCTRL
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +08001914 select SPL_BOARD_INIT if SPL
Masahiro Yamadadabee242017-01-21 18:05:22 +09001915 select SPL_DM if SPL
1916 select SPL_LIBCOMMON_SUPPORT if SPL
1917 select SPL_LIBGENERIC_SUPPORT if SPL
1918 select SPL_OF_CONTROL if SPL
1919 select SPL_PINCTRL if SPL
Masahiro Yamada694adf12016-09-14 01:05:59 +09001920 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +02001921 imply CMD_DM
Masahiro Yamada577242b2018-07-20 21:47:18 +09001922 imply DISTRO_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -04001923 imply FAT_WRITE
Masahiro Yamada563ee4c2015-05-29 17:30:01 +09001924 help
1925 Support for UniPhier SoC family developed by Socionext Inc.
1926 (formerly, System LSI Business Division of Panasonic Corporation)
Masahiro Yamada82069432014-10-03 19:21:07 +09001927
Masami Hiramatsu7c741272021-06-04 18:45:10 +09001928config ARCH_SYNQUACER
1929 bool "Socionext SynQuacer SoCs"
1930 select ARM64
1931 select DM
1932 select GIC_V3
1933 select PSCI_RESET
1934 select SYSRESET
1935 select SYSRESET_PSCI
1936 select OF_CONTROL
1937 help
1938 Support for SynQuacer SoC family developed by Socionext Inc.
1939 This SoC is used on 96boards EE DeveloperBox.
1940
Trevor Woerner2bcc1ed2020-05-06 08:02:42 -04001941config ARCH_STM32
Patrick Delaunay85b53972018-03-12 10:46:10 +01001942 bool "Support STMicroelectronics STM32 MCU with cortex M"
rev13@wp.pl6b5e5a92015-03-01 12:44:42 +01001943 select CPU_V7M
Kamil Lulko75d48a62015-12-01 09:08:19 +01001944 select DM
1945 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +02001946 imply CMD_DM
rev13@wp.pl6b5e5a92015-03-01 12:44:42 +01001947
Patrice Chotard5b428242017-02-21 13:37:04 +01001948config ARCH_STI
Patrick Delaunaya6b185e2022-05-20 18:38:10 +02001949 bool "Support STMicroelectronics SoCs"
Michal Simek84f3dec2018-07-23 15:55:13 +02001950 select BLK
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301951 select CPU_V7A
Patrice Chotard42d742b2017-02-21 13:37:07 +01001952 select DM
Patrice Chotard2eea7d82017-02-21 13:37:09 +01001953 select DM_MMC
Patrice Chotard1235aa02017-03-22 10:54:03 +01001954 select DM_RESET
Michal Simek84f3dec2018-07-23 15:55:13 +02001955 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +02001956 imply CMD_DM
Patrice Chotard5b428242017-02-21 13:37:04 +01001957 help
1958 Support for STMicroelectronics STiH407/10 SoC family.
1959 This SoC is used on Linaro 96Board STiH410-B2260
1960
Patrick Delaunay85b53972018-03-12 10:46:10 +01001961config ARCH_STM32MP
1962 bool "Support STMicroelectronics STM32MP Socs with cortex A"
Patrick Delaunayc5d15652018-03-20 10:54:53 +01001963 select ARCH_MISC_INIT
Patrick Delaunayf8fe21d2020-04-01 09:07:33 +02001964 select ARCH_SUPPORT_TFABOOT
Patrick Delaunay85b53972018-03-12 10:46:10 +01001965 select BOARD_LATE_INIT
1966 select CLK
1967 select DM
1968 select DM_GPIO
1969 select DM_RESET
1970 select DM_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02001971 select MISC
Patrick Delaunay85b53972018-03-12 10:46:10 +01001972 select OF_CONTROL
1973 select OF_LIBFDT
Patrick Delaunaya6f03912019-07-05 17:20:14 +02001974 select OF_SYSTEM_SETUP
Patrick Delaunay85b53972018-03-12 10:46:10 +01001975 select PINCTRL
1976 select REGMAP
Patrick Delaunay85b53972018-03-12 10:46:10 +01001977 select SYSCON
Patrick Delaunay32ddd262018-03-20 14:15:06 +01001978 select SYSRESET
Patrice Chotardd29531c2023-10-27 16:43:04 +02001979 select SYS_THUMB_BUILD if !ARM64
Kever Yang525ea472019-04-02 20:41:25 +08001980 imply SPL_SYSRESET
Michal Simek2e7c8192018-07-23 15:55:14 +02001981 imply CMD_DM
Patrick Delaunay4e8dbe22019-04-12 11:55:46 +02001982 imply CMD_POWEROFF
Patrick Delaunay03552502019-07-30 19:16:28 +02001983 imply OF_LIBFDT_OVERLAY
Patrick Delaunayd70e3f82019-02-27 17:01:11 +01001984 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Patrick Delaunay64e02e92019-04-18 17:32:38 +02001985 imply USE_PREBOOT
Simon Glass65831d92021-12-18 11:27:50 -07001986 imply TIMESTAMP
Patrick Delaunay85b53972018-03-12 10:46:10 +01001987 help
1988 Support for STM32MP SoC family developed by STMicroelectronics,
1989 MPUs based on ARM cortex A core
Patrick Delaunay5d061412019-02-12 11:44:39 +01001990 U-BOOT is running in DDR, loaded by the First Stage BootLoader (FSBL).
1991 FSBL can be TF-A: Trusted Firmware for Cortex A, for trusted boot
1992 chain.
1993 SPL is the unsecure FSBL for the basic boot chain.
Patrick Delaunay85b53972018-03-12 10:46:10 +01001994
Simon Glass2cffe662015-08-30 16:55:38 -06001995config ARCH_ROCKCHIP
1996 bool "Support Rockchip SoCs"
Simon Glass94106272016-06-12 23:30:14 -06001997 select BLK
Quentin Schulzd9ffa5e2022-09-02 15:10:52 +02001998 select BINMAN if SPL_OPTEE || SPL
Simon Glass2cffe662015-08-30 16:55:38 -06001999 select DM
Simon Glass94106272016-06-12 23:30:14 -06002000 select DM_GPIO
2001 select DM_I2C
2002 select DM_MMC
Michal Simek84f3dec2018-07-23 15:55:13 +02002003 select DM_PWM
2004 select DM_REGULATOR
Simon Glass94106272016-06-12 23:30:14 -06002005 select DM_SERIAL
2006 select DM_SPI
2007 select DM_SPI_FLASH
Jonas Karlman08293182023-11-12 17:48:58 +00002008 select DM_USB_GADGET if USB_DWC3_GADGET
Philipp Tomsichb6f395c2017-10-10 16:21:03 +02002009 select ENABLE_ARM_SOC_BOOT0_HOOK
Michal Simek84f3dec2018-07-23 15:55:13 +02002010 select OF_CONTROL
Tom Riniddb1ec12024-01-10 13:46:10 -05002011 select MTD
Adam Ford4e96ff82018-04-15 13:51:26 -04002012 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +02002013 select SPL_DM if SPL
Lukasz Majewski76f442982020-06-04 23:11:53 +08002014 select SPL_DM_SPI if SPL
2015 select SPL_DM_SPI_FLASH if SPL
Michal Simek84f3dec2018-07-23 15:55:13 +02002016 select SYS_MALLOC_F
2017 select SYS_THUMB_BUILD if !ARM64
2018 imply ADC
Michal Simek2e7c8192018-07-23 15:55:14 +02002019 imply CMD_DM
Kever Yang2563ee82019-03-29 09:08:58 +08002020 imply DEBUG_UART_BOARD_INIT
Simon Glassf27e9d52023-04-24 13:49:51 +12002021 imply BOOTSTD_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -04002022 imply FAT_WRITE
Philipp Tomsich2fa7b7e2017-09-20 13:50:13 +02002023 imply SARADC_ROCKCHIP
Michal Simek84f3dec2018-07-23 15:55:13 +02002024 imply SPL_SYSRESET
Thomas Hebb1bda4322019-11-15 08:48:57 -08002025 imply SPL_SYS_MALLOC_SIMPLE
Kever Yang4a3448c2018-04-19 11:37:09 +08002026 imply SYS_NS16550
Michal Simek84f3dec2018-07-23 15:55:13 +02002027 imply TPL_SYSRESET
2028 imply USB_FUNCTION_FASTBOOT
Simon Glass2cffe662015-08-30 16:55:38 -06002029
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07002030config ARCH_OCTEONTX
2031 bool "Support OcteonTX SoCs"
Stefan Roesefbd18652020-09-23 11:01:30 +02002032 select CLK
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07002033 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09002034 select GPIO_EXTRA_HEADER
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07002035 select ARM64
2036 select OF_CONTROL
2037 select OF_LIVE
2038 select BOARD_LATE_INIT
2039 select SYS_CACHE_SHIFT_7
Tom Rini50e6f1b2021-12-12 22:12:32 -05002040 select SYS_PCI_64BIT if PCI
Simon Glass94886db2021-12-16 20:59:36 -07002041 imply OF_HAS_PRIOR_STAGE
Suneel Garapatid9e72462019-10-19 18:47:37 -07002042
2043config ARCH_OCTEONTX2
2044 bool "Support OcteonTX2 SoCs"
Stefan Roesefbd18652020-09-23 11:01:30 +02002045 select CLK
Suneel Garapatid9e72462019-10-19 18:47:37 -07002046 select DM
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09002047 select GPIO_EXTRA_HEADER
Suneel Garapatid9e72462019-10-19 18:47:37 -07002048 select ARM64
2049 select OF_CONTROL
2050 select OF_LIVE
2051 select BOARD_LATE_INIT
2052 select SYS_CACHE_SHIFT_7
Tom Rini50e6f1b2021-12-12 22:12:32 -05002053 select SYS_PCI_64BIT if PCI
Simon Glass94886db2021-12-16 20:59:36 -07002054 imply OF_HAS_PRIOR_STAGE
Suneel Garapatid9e72462019-10-19 18:47:37 -07002055
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07002056config TARGET_THUNDERX_88XX
2057 bool "Support ThunderX 88xx"
Marek Vasut09ab8ad2016-06-01 02:33:53 +02002058 select ARM64
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09002059 select GPIO_EXTRA_HEADER
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07002060 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +01002061 select PL01X_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02002062 select SYS_CACHE_SHIFT_7
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07002063
maxims@google.comf57bd002017-01-18 13:44:55 -08002064config ARCH_ASPEED
2065 bool "Support Aspeed SoCs"
maxims@google.comf57bd002017-01-18 13:44:55 -08002066 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +02002067 select OF_CONTROL
Michal Simek2e7c8192018-07-23 15:55:14 +02002068 imply CMD_DM
maxims@google.comf57bd002017-01-18 13:44:55 -08002069
liu hao1c4a2c42019-10-31 07:51:08 +00002070config TARGET_DURIAN
2071 bool "Support Phytium Durian Platform"
2072 select ARM64
Masami Hiramatsucc32c0b2021-06-04 18:43:55 +09002073 select GPIO_EXTRA_HEADER
liu hao1c4a2c42019-10-31 07:51:08 +00002074 help
2075 Support for durian platform.
2076 It has 2GB Sdram, uart and pcie.
2077
weichangzheng74b45192022-03-02 15:09:05 +08002078config TARGET_POMELO
2079 bool "Support Phytium Pomelo Platform"
2080 select ARM64
2081 select DM
2082 select AHCI
2083 select SCSI_AHCI
2084 select AHCI_PCI
2085 select BLK
2086 select PCI
2087 select DM_PCI
2088 select SCSI
weichangzheng74b45192022-03-02 15:09:05 +08002089 select DM_SERIAL
weichangzheng74b45192022-03-02 15:09:05 +08002090 imply CMD_PCI
2091 help
2092 Support for pomelo platform.
2093 It has 8GB Sdram, uart and pcie.
2094
TracyMg_Li734d5772023-12-25 11:21:34 +08002095config TARGET_PE2201
2096 bool "Support Phytium PE2201 Platform"
2097 select ARM64
2098 help
2099 Support for pe2201 platform.It has 2GB Sdram, uart and pcie.
2100
Alex Nemirovsky1ecad072020-01-30 12:34:59 -08002101config TARGET_PRESIDIO_ASIC
2102 bool "Support Cortina Presidio ASIC Platform"
2103 select ARM64
Tom Rini249f11f2021-08-19 14:19:39 -04002104 select GICV2
Alex Nemirovsky1ecad072020-01-30 12:34:59 -08002105
Andrii Anisov355d1e42020-08-06 12:42:47 +03002106config TARGET_XENGUEST_ARM64
2107 bool "Xen guest ARM64"
2108 select ARM64
2109 select XEN
2110 select OF_CONTROL
2111 select LINUX_KERNEL_IMAGE_HEADER
Peng Fan8162f8f2020-08-06 12:42:50 +03002112 select XEN_SERIAL
Simon Glass94886db2021-12-16 20:59:36 -07002113 imply OF_HAS_PRIOR_STAGE
2114
Nick Hawkins0998a752022-06-08 16:21:34 -05002115config ARCH_GXP
2116 bool "Support HPE GXP SoCs"
2117 select DM
2118 select OF_CONTROL
2119 imply CMD_DM
2120
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002121endchoice
2122
Tom Rini4cc38852021-08-30 09:16:30 -04002123config SUPPORT_PASSING_ATAGS
2124 bool "Support pre-devicetree ATAG-based booting"
2125 depends on !ARM64
2126 imply SETUP_MEMORY_TAGS
2127 help
2128 Support for booting older Linux kernels, using ATAGs rather than
2129 passing a devicetree. This is option is rarely used, and the
2130 semantics are defined at
2131 https://www.kernel.org/doc/Documentation/arm/Booting at section 4a.
2132
2133config SETUP_MEMORY_TAGS
2134 bool "Pass memory size information via ATAG"
2135 depends on SUPPORT_PASSING_ATAGS
2136
2137config CMDLINE_TAG
2138 bool "Pass Linux kernel cmdline via ATAG"
2139 depends on SUPPORT_PASSING_ATAGS
2140
2141config INITRD_TAG
2142 bool "Pass initrd starting point and size via ATAG"
2143 depends on SUPPORT_PASSING_ATAGS
2144
2145config REVISION_TAG
2146 bool "Pass system revision via ATAG"
2147 depends on SUPPORT_PASSING_ATAGS
2148
2149config SERIAL_TAG
2150 bool "Pass system serial number via ATAG"
2151 depends on SUPPORT_PASSING_ATAGS
2152
Tom Riniea1e52b2021-08-30 09:16:31 -04002153config STATIC_MACH_TYPE
2154 bool "Statically define the Machine ID number"
Tom Rinia4bdec22023-09-04 21:12:28 -04002155 default y if TARGET_DS109 || TARGET_DS414 || DEFAULT_DEVICE_TREE = "sun7i-a20-icnova-swac"
Tom Riniea1e52b2021-08-30 09:16:31 -04002156 help
2157 When booting via ATAGs, enable this option if we know the correct
2158 machine ID number to use at compile time. Some systems will be
2159 passed the number dynamically by whatever loads U-Boot.
2160
2161config MACH_TYPE
2162 int "Machine ID number"
2163 depends on STATIC_MACH_TYPE
Pali Rohár4cf1b942022-08-11 22:29:03 +02002164 default 527 if TARGET_DS109
Pali Rohár4cf1b942022-08-11 22:29:03 +02002165 default 3036 if TARGET_DS414
2166 default 4283 if DEFAULT_DEVICE_TREE = "sun7i-a20-icnova-swac"
Tom Riniea1e52b2021-08-30 09:16:31 -04002167 help
2168 When booting via ATAGs, the machine type must be passed as a number.
2169 For the full list see https://www.arm.linux.org.uk/developer/machines
2170
AKASHI Takahirofb83f752019-07-03 10:44:39 +09002171config ARCH_SUPPORT_TFABOOT
2172 bool
2173
2174config TFABOOT
2175 bool "Support for booting from TF-A"
2176 depends on ARCH_SUPPORT_TFABOOT
AKASHI Takahirofb83f752019-07-03 10:44:39 +09002177 help
Andre Przywara41087af2020-09-30 15:45:07 +01002178 Some platforms support the setup of secure registers (for instance
2179 for CPU errata handling) or provide secure services like PSCI.
2180 Those services could also be provided by other firmware parts
2181 like TF-A (Trusted Firmware for Cortex-A), in which case U-Boot
2182 does not need to (and cannot) execute this code.
2183 Enabling this option will make a U-Boot binary that is relying
2184 on other firmware layers to provide secure functionality.
AKASHI Takahirofb83f752019-07-03 10:44:39 +09002185
Andrew F. Davisd3fe9172018-02-14 11:53:37 -06002186config TI_SECURE_DEVICE
2187 bool "HS Device Type Support"
Andrew F. Davis2ed41072019-04-12 12:54:45 -04002188 depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
Andrew F. Davisd3fe9172018-02-14 11:53:37 -06002189 help
2190 If a high secure (HS) device type is being used, this config
2191 must be set. This option impacts various aspects of the
2192 build system (to create signed boot images that can be
2193 authenticated) and the code. See the doc/README.ti-secure
2194 file for further details.
2195
Tom Rini43b9c292021-12-17 18:08:45 -05002196config SYS_KWD_CONFIG
2197 string "kwbimage config file path"
2198 depends on ARCH_KIRKWOOD || ARCH_MVEBU
2199 default "arch/arm/mach-mvebu/kwbimage.cfg"
2200 help
2201 Path within the source directory to the kwbimage.cfg file to use
2202 when packaging the U-Boot image for use.
2203
Mark Kettenis58d51272021-10-23 16:58:03 +02002204source "arch/arm/mach-apple/Kconfig"
2205
maxims@google.comf57bd002017-01-18 13:44:55 -08002206source "arch/arm/mach-aspeed/Kconfig"
2207
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +09002208source "arch/arm/mach-at91/Kconfig"
2209
Masahiro Yamadaed22cc72015-03-19 19:42:56 +09002210source "arch/arm/mach-bcm283x/Kconfig"
Masahiro Yamadae604ef92014-08-31 07:11:01 +09002211
William Zhangd7cdf302022-05-09 09:28:02 -07002212source "arch/arm/mach-bcmbca/Kconfig"
2213
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -04002214source "arch/arm/mach-bcmstb/Kconfig"
2215
Masahiro Yamadaed22cc72015-03-19 19:42:56 +09002216source "arch/arm/mach-davinci/Kconfig"
Simon Glass13fc6a22015-02-05 21:41:39 -07002217
Thomas Abraham74f84862015-08-03 17:58:00 +05302218source "arch/arm/mach-exynos/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +09002219
Nick Hawkins0998a752022-06-08 16:21:34 -05002220source "arch/arm/mach-hpe/gxp/Kconfig"
2221
Masahiro Yamada95ec48b2015-02-20 17:04:08 +09002222source "arch/arm/mach-highbank/Kconfig"
Masahiro Yamada52ece9c2014-08-31 07:11:07 +09002223
Yang Xiwendb1d1f42023-04-01 19:17:33 +08002224source "arch/arm/mach-histb/Kconfig"
2225
Masahiro Yamadacad44162015-04-21 21:59:36 +09002226source "arch/arm/mach-integrator/Kconfig"
2227
Robert Markoe7a34f12020-07-06 10:37:54 +02002228source "arch/arm/mach-ipq40xx/Kconfig"
2229
Lokesh Vutla9bdec002018-08-27 15:57:08 +05302230source "arch/arm/mach-k3/Kconfig"
2231
Masahiro Yamadaf058b792015-02-20 17:04:11 +09002232source "arch/arm/mach-keystone/Kconfig"
Masahiro Yamada32013fb2014-08-31 07:11:05 +09002233
Masahiro Yamada5e5e23a2015-02-20 17:04:06 +09002234source "arch/arm/mach-kirkwood/Kconfig"
Masahiro Yamadad7570852014-08-31 07:10:59 +09002235
Trevor Woerner28d261f2020-05-06 08:02:36 -04002236source "arch/arm/mach-lpc32xx/Kconfig"
Vladimir Zapolskiy31d0e962018-09-17 21:43:03 +03002237
Stefan Roese383e0c12015-08-25 13:18:38 +02002238source "arch/arm/mach-mvebu/Kconfig"
2239
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07002240source "arch/arm/mach-octeontx/Kconfig"
Suneel Garapatid9e72462019-10-19 18:47:37 -07002241
2242source "arch/arm/mach-octeontx2/Kconfig"
2243
York Sun149eb332016-09-26 08:09:27 -07002244source "arch/arm/cpu/armv7/ls102xa/Kconfig"
2245
Magnus Liljac74f70f2018-05-11 14:06:54 +02002246source "arch/arm/mach-imx/mx3/Kconfig"
2247
Peng Fan66294882018-01-10 13:20:19 +08002248source "arch/arm/mach-imx/mx5/Kconfig"
2249
2250source "arch/arm/mach-imx/mx6/Kconfig"
Peng Fan2c7b1702017-02-22 16:21:39 +08002251
Stefano Babic33731bc2017-06-29 10:16:06 +02002252source "arch/arm/mach-imx/mx7/Kconfig"
Adrian Alonso98810772015-09-03 11:49:28 -05002253
Peng Fan66294882018-01-10 13:20:19 +08002254source "arch/arm/mach-imx/mx7ulp/Kconfig"
Boris BREZILLON51e82662015-03-04 13:13:03 +01002255
Peng Fan6bae1c72018-10-18 14:28:08 +02002256source "arch/arm/mach-imx/imx8/Kconfig"
2257
Peng Fan39945c12018-11-20 10:19:25 +00002258source "arch/arm/mach-imx/imx8m/Kconfig"
Andrej Rosano1ac4bca2015-04-08 18:56:29 +02002259
Peng Fan570dc4f2021-08-07 16:00:30 +08002260source "arch/arm/mach-imx/imx8ulp/Kconfig"
2261
Peng Fanbbcd2c42022-07-26 16:40:39 +08002262source "arch/arm/mach-imx/imx9/Kconfig"
2263
Giulio Benetti9dba2622020-01-10 15:51:47 +01002264source "arch/arm/mach-imx/imxrt/Kconfig"
2265
Stefan Agner081ea1f2018-02-06 09:44:34 +01002266source "arch/arm/mach-imx/mxs/Kconfig"
2267
Tom Rini28eec372016-11-07 21:34:54 -05002268source "arch/arm/mach-omap2/Kconfig"
Madan Srinivaseba13cd2016-05-19 19:10:43 -05002269
York Sunbad49842016-09-26 08:09:24 -07002270source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
2271
Masahiro Yamada22537642015-02-20 17:04:09 +09002272source "arch/arm/mach-orion5x/Kconfig"
Masahiro Yamada04ffbc12014-08-31 07:11:06 +09002273
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05302274source "arch/arm/mach-owl/Kconfig"
2275
Marek Vasute3f84ec2024-02-27 17:05:56 +01002276source "arch/arm/mach-renesas/Kconfig"
Masahiro Yamadac9c54e22014-08-31 07:10:57 +09002277
Beniamino Galvanid1037e42016-05-08 08:30:16 +02002278source "arch/arm/mach-meson/Kconfig"
2279
developerf4a079c2018-11-15 10:07:52 +08002280source "arch/arm/mach-mediatek/Kconfig"
2281
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +03002282source "arch/arm/mach-qemu/Kconfig"
2283
Simon Glass2cffe662015-08-30 16:55:38 -06002284source "arch/arm/mach-rockchip/Kconfig"
2285
Minkyu Kang56b820a2015-11-20 15:24:57 +09002286source "arch/arm/mach-s5pc1xx/Kconfig"
Simon Glass96aa0722014-10-07 22:01:50 -06002287
Mateusz Kulikowski2507d822016-03-31 23:12:32 +02002288source "arch/arm/mach-snapdragon/Kconfig"
2289
Masahiro Yamada144a3e02015-04-21 20:38:20 +09002290source "arch/arm/mach-socfpga/Kconfig"
2291
Patrice Chotard5b428242017-02-21 13:37:04 +01002292source "arch/arm/mach-sti/Kconfig"
2293
Vikas Manocha95c89192016-01-15 17:49:06 -08002294source "arch/arm/mach-stm32/Kconfig"
2295
Patrick Delaunay85b53972018-03-12 10:46:10 +01002296source "arch/arm/mach-stm32mp/Kconfig"
2297
Masahiro Yamada4976a222017-04-28 19:42:18 +09002298source "arch/arm/mach-sunxi/Kconfig"
2299
Masahiro Yamadaed1632a2015-02-20 17:04:04 +09002300source "arch/arm/mach-tegra/Kconfig"
Masahiro Yamada73a5b1a2014-08-31 07:10:56 +09002301
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01002302source "arch/arm/mach-u8500/Kconfig"
2303
Masahiro Yamadaf8563982015-02-27 02:26:42 +09002304source "arch/arm/mach-uniphier/Kconfig"
Masahiro Yamada82069432014-10-03 19:21:07 +09002305
Stefan Agnerd53c0a42017-03-13 18:41:36 -07002306source "arch/arm/cpu/armv7/vf610/Kconfig"
2307
Masahiro Yamada43246cc2015-03-16 16:43:22 +09002308source "arch/arm/mach-zynq/Kconfig"
Masahiro Yamada73a5b1a2014-08-31 07:10:56 +09002309
Michal Simek7f60b232019-01-17 08:22:43 +01002310source "arch/arm/mach-zynqmp/Kconfig"
2311
Michal Simek4b066a12018-08-22 14:55:27 +02002312source "arch/arm/mach-versal/Kconfig"
2313
Michal Simek2e53eb22022-09-19 14:21:02 +02002314source "arch/arm/mach-versal-net/Kconfig"
2315
Michal Simekb513bcd2018-04-12 17:39:46 +02002316source "arch/arm/mach-zynqmp-r5/Kconfig"
2317
Hans de Goede85437352014-11-14 09:34:30 +01002318source "arch/arm/cpu/armv7/Kconfig"
2319
Linus Walleij74771392015-03-09 10:53:21 +01002320source "arch/arm/cpu/armv8/Kconfig"
2321
Stefano Babic33731bc2017-06-29 10:16:06 +02002322source "arch/arm/mach-imx/Kconfig"
Boris BREZILLON6b9b9a02015-03-04 13:13:04 +01002323
Stefan Bosch6563ea22020-07-10 19:07:26 +02002324source "arch/arm/mach-nexell/Kconfig"
2325
Jim Liu4359b332022-04-19 13:32:19 +08002326source "arch/arm/mach-npcm/Kconfig"
2327
Usama Arif9218a112020-08-12 16:12:53 +01002328source "board/armltd/total_compute/Kconfig"
Rui Miguel Silvaee0fec72022-05-11 10:55:41 +01002329source "board/armltd/corstone1000/Kconfig"
Heiko Schocherf1163962016-06-07 08:31:25 +02002330source "board/bosch/shc/Kconfig"
Sjoerd Simonsf93564c2019-02-25 15:33:00 +00002331source "board/bosch/guardian/Kconfig"
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07002332source "board/Marvell/octeontx/Kconfig"
Suneel Garapatid9e72462019-10-19 18:47:37 -07002333source "board/Marvell/octeontx2/Kconfig"
Kristian Amlie8f8a2992021-09-07 08:37:51 +02002334source "board/armltd/vexpress/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002335source "board/armltd/vexpress64/Kconfig"
Alex Nemirovsky1ecad072020-01-30 12:34:59 -08002336source "board/cortina/presidio-asic/Kconfig"
Linus Walleijaaa9e3d2023-04-24 09:38:30 +02002337source "board/broadcom/bcmns/Kconfig"
Rayagonda Kokatanur1d8fa362020-07-15 22:48:55 +05302338source "board/broadcom/bcmns3/Kconfig"
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07002339source "board/cavium/thunderx/Kconfig"
Felix Brack1ba8c9e2018-01-23 18:27:22 +01002340source "board/eets/pdu001/Kconfig"
Bin Meng53290422018-10-15 02:21:18 -07002341source "board/emulation/qemu-arm/Kconfig"
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05302342source "board/freescale/ls2080aqds/Kconfig"
2343source "board/freescale/ls2080ardb/Kconfig"
Ashish Kumar227b4bc2017-08-31 16:12:54 +05302344source "board/freescale/ls1088a/Kconfig"
Yuantian Tang92f18ff2019-04-10 16:43:34 +08002345source "board/freescale/ls1028a/Kconfig"
Wang Huanf0ce7d62014-09-05 13:52:44 +08002346source "board/freescale/ls1021aqds/Kconfig"
Shaohui Xiedd335672015-11-11 17:58:37 +08002347source "board/freescale/ls1043aqds/Kconfig"
Wang Huanddf89f92014-09-05 13:52:45 +08002348source "board/freescale/ls1021atwr/Kconfig"
Jianchao Wange5332ba2019-07-19 00:30:01 +03002349source "board/freescale/ls1021atsn/Kconfig"
Feng Li39e112d2016-11-03 14:15:17 +08002350source "board/freescale/ls1021aiot/Kconfig"
Shaohui Xie085ac1c2016-09-07 17:56:14 +08002351source "board/freescale/ls1046aqds/Kconfig"
Mingkai Hueee86ff2015-10-26 19:47:52 +08002352source "board/freescale/ls1043ardb/Kconfig"
Mingkai Hud2396512016-09-07 18:47:28 +08002353source "board/freescale/ls1046ardb/Kconfig"
Vabhav Sharma51641912019-06-06 12:35:28 +00002354source "board/freescale/ls1046afrwy/Kconfig"
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05302355source "board/freescale/ls1012aqds/Kconfig"
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05302356source "board/freescale/ls1012ardb/Kconfig"
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05302357source "board/freescale/ls1012afrdm/Kconfig"
Priyanka Jainfd45ca02018-11-28 13:04:27 +00002358source "board/freescale/lx2160a/Kconfig"
Marcin Niestroj20315d22017-01-25 09:53:08 +01002359source "board/grinn/chiliboard/Kconfig"
Tom Rinibdf4f182015-09-02 15:32:20 -04002360source "board/hisilicon/hikey/Kconfig"
Manivannan Sadhasivamcf33f922019-08-02 20:40:09 +05302361source "board/hisilicon/hikey960/Kconfig"
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02002362source "board/hisilicon/poplar/Kconfig"
Ladislav Michl10bdc712017-04-01 17:17:16 +02002363source "board/isee/igep003x/Kconfig"
Michael Walle36ba7642020-10-15 23:08:57 +02002364source "board/kontron/sl28/Kconfig"
Parthiban Nallathambi8214fd92020-07-27 16:48:41 +02002365source "board/myir/mys_6ulx/Kconfig"
Tom Rinib5207bb2022-11-19 18:45:26 -05002366source "board/samsung/common/Kconfig"
Tom Rini29e05952022-06-10 22:59:35 -04002367source "board/siemens/common/Kconfig"
Navin Sankar Velliangiri3b2cc732021-05-18 09:03:20 +05302368source "board/seeed/npi_imx6ull/Kconfig"
Masami Hiramatsu7c741272021-06-04 18:45:10 +09002369source "board/socionext/developerbox/Kconfig"
Enric Balletbò i Serra9d89b082015-09-07 07:43:20 +02002370source "board/tcl/sl50/Kconfig"
Mathew McBridee605fb12022-01-31 18:34:43 +05302371source "board/traverse/ten64/Kconfig"
Parthiban Nallathambi5e9147d2019-04-18 00:04:09 +02002372source "board/variscite/dart_6ul/Kconfig"
Yegor Yefremovfa8b71b2015-05-29 19:27:29 +02002373source "board/vscom/baltos/Kconfig"
liu hao1c4a2c42019-10-31 07:51:08 +00002374source "board/phytium/durian/Kconfig"
weichangzheng74b45192022-03-02 15:09:05 +08002375source "board/phytium/pomelo/Kconfig"
TracyMg_Li734d5772023-12-25 11:21:34 +08002376source "board/phytium/pe2201/Kconfig"
Andrii Anisov355d1e42020-08-06 12:42:47 +03002377source "board/xen/xenguest_arm64/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002378
Masahiro Yamadadf00e522014-09-01 11:06:34 +09002379source "arch/arm/Kconfig.debug"
2380
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002381endmenu