Kconfig 43.2 KB
Newer Older
1 2 3 4 5 6
menu "ARM architecture"
	depends on ARM

config SYS_ARCH
	default "arm"

7 8
config ARM64
	bool
9
	select PHYS_64BIT
10
	select SYS_CACHE_SHIFT_6
11

12 13 14 15 16 17 18 19 20 21
if ARM64
config POSITION_INDEPENDENT
	bool "Generate position-independent pre-relocation code"
	help
	  U-Boot expects to be linked to a specific hard-coded address, and to
	  be loaded to and run from that address. This option lifts that
	  restriction, thus allowing the code to be loaded to and executed
	  from almost any address. This logic relies on the relocation
	  information that is embedded into the binary to support U-Boot
	  relocating itself to the top-of-RAM later during execution.
22

23 24
config INIT_SP_RELATIVE
	bool "Specify the early stack pointer relative to the .bss section"
25 26
	help
	  U-Boot typically uses a hard-coded value for the stack pointer
27
	  before relocation. Enable this option to instead calculate the
28 29
	  initial SP at run-time. This is useful to avoid hard-coding addresses
	  into U-Boot, so that can be loaded and executed at arbitrary
30 31 32 33 34 35 36 37 38 39 40 41
	  addresses and thus avoid using arbitrary addresses at runtime.

	  If this option is enabled, the early stack pointer is set to
	  &_bss_start with a offset value added. The offset is specified by
	  SYS_INIT_SP_BSS_OFFSET.

config SYS_INIT_SP_BSS_OFFSET
	int "Early stack offset from the .bss base address"
	depends on INIT_SP_RELATIVE
	default 524288
	help
	  This option's value is the offset added to &_bss_start in order to
42 43 44
	  calculate the stack pointer. This offset should be large enough so
	  that the early malloc region, global data (gd), and early stack usage
	  do not overlap any appended DTB.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61

config LINUX_KERNEL_IMAGE_HEADER
	bool
	help
	  Place a Linux kernel image header at the start of the U-Boot binary.
	  The format of the header is described in the Linux kernel source at
	  Documentation/arm64/booting.txt. This feature is useful since the
	  image header reports the amount of memory (BSS and similar) that
	  U-Boot needs to use, but which isn't part of the binary.

if LINUX_KERNEL_IMAGE_HEADER
config LNX_KRNL_IMG_TEXT_OFFSET_BASE
	hex
	help
	  The value subtracted from CONFIG_SYS_TEXT_BASE to calculate the
	  TEXT_OFFSET value written in to the Linux kernel image header.
endif
62 63 64 65 66 67
endif

config STATIC_RELA
	bool
	default y if ARM64 && !POSITION_INDEPENDENT

68 69 70 71
config DMA_ADDR_T_64BIT
	bool
	default y if ARM64

72
config HAS_VBAR
73
	bool
74

75
config HAS_THUMB2
76
	bool
77

78 79 80 81 82 83 84 85 86
# Used for compatibility with asm files copied from the kernel
config ARM_ASM_UNIFIED
	bool
	default y

# Used for compatibility with asm files copied from the kernel
config THUMB2_KERNEL
	bool

87 88 89 90 91 92
config SYS_ICACHE_OFF
	bool "Do not enable icache"
	default n
	help
	  Do not enable instruction cache in U-Boot.

93 94 95 96 97 98 99
config SPL_SYS_ICACHE_OFF
	bool "Do not enable icache in SPL"
	depends on SPL
	default SYS_ICACHE_OFF
	help
	  Do not enable instruction cache in SPL.

100 101 102 103 104 105
config SYS_DCACHE_OFF
	bool "Do not enable dcache"
	default n
	help
	  Do not enable data cache in U-Boot.

106 107 108 109 110 111 112
config SPL_SYS_DCACHE_OFF
	bool "Do not enable dcache in SPL"
	depends on SPL
	default SYS_DCACHE_OFF
	help
	  Do not enable data cache in SPL.

113 114 115 116 117 118
config SYS_ARM_CACHE_CP15
	bool "CP15 based cache enabling support"
	help
	  Select this if your processor suports enabling caches by using
	  CP15 registers.

119 120
config SYS_ARM_MMU
	bool "MMU-based Paged Memory Management Support"
121
	select SYS_ARM_CACHE_CP15
122 123 124 125
	help
	  Select if you want MMU-based virtualised addressing space
	  support by paged memory management.

L
Lokesh Vutla 已提交
126 127 128 129 130 131 132 133 134
config SYS_ARM_MPU
	bool 'Use the ARM v7 PMSA Compliant MPU'
	help
	  Some ARM systems without an MMU have instead a Memory Protection
	  Unit (MPU) that defines the type and permissions for regions of
	  memory.
	  If your CPU has an MPU then you should choose 'y' here unless you
	  know that you do not want to use the MPU.

T
Tom Rini 已提交
135 136 137 138 139 140 141 142 143 144 145 146
# If set, the workarounds for these ARM errata are applied early during U-Boot
# startup. Note that in general these options force the workarounds to be
# applied; no CPU-type/version detection exists, unlike the similar options in
# the Linux kernel. Do not set these options unless they apply!  Also note that
# the following can be machine specific errata. These do have ability to
# provide rudimentary version and machine specific checks, but expect no
# product checks:
# CONFIG_ARM_ERRATA_430973
# CONFIG_ARM_ERRATA_454179
# CONFIG_ARM_ERRATA_621766
# CONFIG_ARM_ERRATA_798870
# CONFIG_ARM_ERRATA_801819
147
# CONFIG_ARM_CORTEX_A8_CVE_2017_5715
148
# CONFIG_ARM_CORTEX_A15_CVE_2017_5715
149

T
Tom Rini 已提交
150 151 152 153 154 155 156 157 158 159 160 161
config ARM_ERRATA_430973
	bool

config ARM_ERRATA_454179
	bool

config ARM_ERRATA_621766
	bool

config ARM_ERRATA_716044
	bool

162 163 164
config ARM_ERRATA_725233
	bool

T
Tom Rini 已提交
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
config ARM_ERRATA_742230
	bool

config ARM_ERRATA_743622
	bool

config ARM_ERRATA_751472
	bool

config ARM_ERRATA_761320
	bool

config ARM_ERRATA_773022
	bool

config ARM_ERRATA_774769
	bool

config ARM_ERRATA_794072
	bool

config ARM_ERRATA_798870
	bool

config ARM_ERRATA_801819
	bool

config ARM_ERRATA_826974
	bool

config ARM_ERRATA_828024
	bool

config ARM_ERRATA_829520
	bool

config ARM_ERRATA_833069
	bool

config ARM_ERRATA_833471
	bool

207
config ARM_ERRATA_845369
208
	bool
209

210 211 212 213 214 215
config ARM_ERRATA_852421
	bool

config ARM_ERRATA_852423
	bool

216 217 218
config ARM_ERRATA_855873
	bool

219 220 221
config ARM_CORTEX_A8_CVE_2017_5715
	bool

222 223 224
config ARM_CORTEX_A15_CVE_2017_5715
	bool

225
config CPU_ARM720T
226
	bool
227
	select SYS_CACHE_SHIFT_5
228
	imply SYS_ARM_MMU
229 230

config CPU_ARM920T
231
	bool
232
	select SYS_CACHE_SHIFT_5
233
	imply SYS_ARM_MMU
234 235

config CPU_ARM926EJS
236
	bool
237
	select SYS_CACHE_SHIFT_5
238
	imply SYS_ARM_MMU
239 240

config CPU_ARM946ES
241
	bool
242
	select SYS_CACHE_SHIFT_5
243
	imply SYS_ARM_MMU
244 245

config CPU_ARM1136
246
	bool
247
	select SYS_CACHE_SHIFT_5
248
	imply SYS_ARM_MMU
249 250

config CPU_ARM1176
251 252
	bool
	select HAS_VBAR
253
	select SYS_CACHE_SHIFT_5
254
	imply SYS_ARM_MMU
255

256
config CPU_V7A
257 258
	bool
	select HAS_THUMB2
259
	select HAS_VBAR
260
	select SYS_CACHE_SHIFT_6
261
	imply SYS_ARM_MMU
262

R
rev13@wp.pl 已提交
263 264
config CPU_V7M
	bool
265
	select HAS_THUMB2
L
Lokesh Vutla 已提交
266
	select SYS_ARM_MPU
267
	select SYS_CACHE_SHIFT_5
268
	select SYS_THUMB_BUILD
269
	select THUMB2_KERNEL
R
rev13@wp.pl 已提交
270

M
Michal Simek 已提交
271 272 273
config CPU_V7R
	bool
	select HAS_THUMB2
L
Lokesh Vutla 已提交
274
	select SYS_ARM_CACHE_CP15
275 276
	select SYS_ARM_MPU
	select SYS_CACHE_SHIFT_6
M
Michal Simek 已提交
277

278
config CPU_PXA
279
	bool
280
	select SYS_CACHE_SHIFT_5
281
	imply SYS_ARM_MMU
282 283

config CPU_SA1100
284
	bool
285
	select SYS_CACHE_SHIFT_5
286
	imply SYS_ARM_MMU
287 288

config SYS_CPU
289 290 291 292 293 294
	default "arm720t" if CPU_ARM720T
	default "arm920t" if CPU_ARM920T
	default "arm926ejs" if CPU_ARM926EJS
	default "arm946es" if CPU_ARM946ES
	default "arm1136" if CPU_ARM1136
	default "arm1176" if CPU_ARM1176
295
	default "armv7" if CPU_V7A
M
Michal Simek 已提交
296
	default "armv7" if CPU_V7R
297 298 299
	default "armv7m" if CPU_V7M
	default "pxa" if CPU_PXA
	default "sa1100" if CPU_SA1100
300
	default "armv8" if ARM64
301

302 303 304 305 306 307 308 309
config SYS_ARM_ARCH
	int
	default 4 if CPU_ARM720T
	default 4 if CPU_ARM920T
	default 5 if CPU_ARM926EJS
	default 5 if CPU_ARM946ES
	default 6 if CPU_ARM1136
	default 6 if CPU_ARM1176
310
	default 7 if CPU_V7A
311
	default 7 if CPU_V7M
M
Michal Simek 已提交
312
	default 7 if CPU_V7R
313 314 315 316
	default 5 if CPU_PXA
	default 4 if CPU_SA1100
	default 8 if ARM64

317 318 319 320 321 322 323 324 325 326 327 328 329 330 331
config SYS_CACHE_SHIFT_5
	bool

config SYS_CACHE_SHIFT_6
	bool

config SYS_CACHE_SHIFT_7
	bool

config SYS_CACHELINE_SIZE
	int
	default 128 if SYS_CACHE_SHIFT_7
	default 64 if SYS_CACHE_SHIFT_6
	default 32 if SYS_CACHE_SHIFT_5

332 333 334 335 336 337
config ARCH_CPU_INIT
	bool "Enable ARCH_CPU_INIT"
	help
	  Some architectures require a call to arch_cpu_init()
	  Say Y here to enable it

338 339
config SYS_ARCH_TIMER
	bool "ARM Generic Timer support"
340
	depends on CPU_V7A || ARM64
341 342 343 344 345 346 347
	default y if ARM64
	help
	  The ARM Generic Timer (aka arch-timer) provides an architected
	  interface to a timer source on an SoC.
	  It is mandantory for ARMv8 implementation and widely available
	  on ARMv7 systems.

348 349
config ARM_SMCCC
	bool "Support for ARM SMC Calling Convention (SMCCC)"
350
	depends on CPU_V7A || ARM64
351
	select ARM_PSCI_FW
352 353 354 355 356
	help
	  Say Y here if you want to enable ARM SMC Calling Convention.
	  This should be enabled if U-Boot needs to communicate with system
	  firmware (for example, PSCI) according to SMCCC.

357 358 359 360 361 362 363
config SEMIHOSTING
	bool "support boot from semihosting"
	help
	  In emulated environments, semihosting is a way for
	  the hosted environment to call out to the emulator to
	  retrieve files from the host machine.

364 365 366 367 368 369 370 371 372 373 374 375
config SYS_THUMB_BUILD
	bool "Build U-Boot using the Thumb instruction set"
	depends on !ARM64
	help
	   Use this flag to build U-Boot using the Thumb instruction set for
	   ARM architectures. Thumb instruction set provides better code
	   density. For ARM architectures that support Thumb2 this flag will
	   result in Thumb2 code generated by GCC.

config SPL_SYS_THUMB_BUILD
	bool "Build SPL using the Thumb instruction set"
	default y if SYS_THUMB_BUILD
376
	depends on !ARM64 && SPL
377 378 379 380 381 382
	help
	   Use this flag to build SPL using the Thumb instruction set for
	   ARM architectures. Thumb instruction set provides better code
	   density. For ARM architectures that support Thumb2 this flag will
	   result in Thumb2 code generated by GCC.

383 384 385 386 387 388 389 390 391 392 393
config TPL_SYS_THUMB_BUILD
	bool "Build TPL using the Thumb instruction set"
	default y if SYS_THUMB_BUILD
	depends on TPL && !ARM64
	help
	   Use this flag to build SPL using the Thumb instruction set for
	   ARM architectures. Thumb instruction set provides better code
	   density. For ARM architectures that support Thumb2 this flag will
	   result in Thumb2 code generated by GCC.


394 395 396 397 398 399
config SYS_L2CACHE_OFF
	bool "L2cache off"
	help
	  If SoC does not support L2CACHE or one do not want to enable
	  L2CACHE, choose this option.

400 401 402 403
config ENABLE_ARM_SOC_BOOT0_HOOK
	bool "prepare BOOT0 header"
	help
	  If the SoC's BOOT0 requires a header area filled with (magic)
404 405
	  values, then choose this option, and create a file included as
	  <asm/arch/boot0.h> which contains the required assembler code.
406

407 408 409 410
config ARM_CORTEX_CPU_IS_UP
	bool
	default n

411 412
config USE_ARCH_MEMCPY
	bool "Use an assembly optimized implementation of memcpy"
413 414 415 416 417 418 419 420
	default y
	depends on !ARM64
	help
	  Enable the generation of an optimized version of memcpy.
	  Such implementation may be faster under some conditions
	  but may increase the binary size.

config SPL_USE_ARCH_MEMCPY
421
	bool "Use an assembly optimized implementation of memcpy for SPL"
422
	default y if USE_ARCH_MEMCPY
423
	depends on !ARM64 && SPL
424 425 426 427 428
	help
	  Enable the generation of an optimized version of memcpy.
	  Such implementation may be faster under some conditions
	  but may increase the binary size.

429 430 431
config TPL_USE_ARCH_MEMCPY
	bool "Use an assembly optimized implementation of memcpy for TPL"
	default y if USE_ARCH_MEMCPY
432
	depends on !ARM64 && TPL
433 434 435 436 437
	help
	  Enable the generation of an optimized version of memcpy.
	  Such implementation may be faster under some conditions
	  but may increase the binary size.

438 439
config USE_ARCH_MEMSET
	bool "Use an assembly optimized implementation of memset"
440 441 442 443 444 445 446 447
	default y
	depends on !ARM64
	help
	  Enable the generation of an optimized version of memset.
	  Such implementation may be faster under some conditions
	  but may increase the binary size.

config SPL_USE_ARCH_MEMSET
448
	bool "Use an assembly optimized implementation of memset for SPL"
449
	default y if USE_ARCH_MEMSET
450
	depends on !ARM64 && SPL
451 452 453 454 455
	help
	  Enable the generation of an optimized version of memset.
	  Such implementation may be faster under some conditions
	  but may increase the binary size.

456 457 458
config TPL_USE_ARCH_MEMSET
	bool "Use an assembly optimized implementation of memset for TPL"
	default y if USE_ARCH_MEMSET
459
	depends on !ARM64 && TPL
460 461 462 463 464
	help
	  Enable the generation of an optimized version of memset.
	  Such implementation may be faster under some conditions
	  but may increase the binary size.

465 466
config SET_STACK_SIZE
	bool "Enable an option to set max stack size that can be used"
467
	default y if ARCH_VERSAL || ARCH_ZYNQMP
468 469 470 471 472 473 474
	help
	  This will enable an option to set max stack size that can be
	  used by u-boot.

config STACK_SIZE
	hex "Define max stack size that can be used by u-boot"
	depends on SET_STACK_SIZE
475
	default 0x4000000 if ARCH_VERSAL || ARCH_ZYNQMP
476 477 478 479 480
	help
	  Defines Max stack size that can be used by u-boot so that the
	  initrd_high will be calculated as base stack pointer minus this
	  stack size.

481 482
config ARM64_SUPPORT_AARCH32
	bool "ARM64 system support AArch32 execution state"
483 484
	depends on ARM64
	default y if !TARGET_THUNDERX_88XX
485 486 487
	help
	  This ARM64 system supports AArch32 execution state.

488 489
choice
	prompt "Target select"
S
Simon Glass 已提交
490
	default TARGET_HIKEY
491

492 493
config ARCH_AT91
	bool "Atmel AT91"
494
	select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
495 496 497

config TARGET_EDB93XX
	bool "Support edb93xx"
498
	select CPU_ARM920T
499
	select PL010_SERIAL
500 501 502

config TARGET_ASPENITE
	bool "Support aspenite"
503
	select CPU_ARM926EJS
504 505 506

config TARGET_GPLUGD
	bool "Support gplugd"
507
	select CPU_ARM926EJS
508

509 510
config ARCH_DAVINCI
	bool "TI DaVinci"
511
	select CPU_ARM926EJS
512
	imply CMD_SAVES
513 514
	help
	  Support for TI's DaVinci platform.
515

516 517
config KIRKWOOD
	bool "Marvell Kirkwood"
518
	select ARCH_MISC_INIT
519 520
	select BOARD_EARLY_INIT_F
	select CPU_ARM926EJS
521

522
config ARCH_MVEBU
523
	bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
524
	select DM
525
	select DM_ETH
526
	select DM_SERIAL
527 528
	select DM_SPI
	select DM_SPI_FLASH
529 530
	select OF_CONTROL
	select OF_SEPARATE
A
Adam Ford 已提交
531
	select SPI
M
Michal Simek 已提交
532
	imply CMD_DM
533

534 535
config TARGET_APF27
	bool "Support apf27"
536
	select CPU_ARM926EJS
M
Masahiro Yamada 已提交
537
	select SUPPORT_SPL
538

539 540
config ORION5X
	bool "Marvell Orion"
541
	select CPU_ARM926EJS
542 543 544

config TARGET_SPEAR300
	bool "Support spear300"
545
	select BOARD_EARLY_INIT_F
546
	select CPU_ARM926EJS
547
	select PL011_SERIAL
548
	imply CMD_SAVES
549 550 551

config TARGET_SPEAR310
	bool "Support spear310"
552
	select BOARD_EARLY_INIT_F
553
	select CPU_ARM926EJS
554
	select PL011_SERIAL
555
	imply CMD_SAVES
556 557 558

config TARGET_SPEAR320
	bool "Support spear320"
559
	select BOARD_EARLY_INIT_F
560
	select CPU_ARM926EJS
561
	select PL011_SERIAL
562
	imply CMD_SAVES
563 564 565

config TARGET_SPEAR600
	bool "Support spear600"
566
	select BOARD_EARLY_INIT_F
567
	select CPU_ARM926EJS
568
	select PL011_SERIAL
569
	imply CMD_SAVES
570

571 572
config TARGET_STV0991
	bool "Support stv0991"
573
	select CPU_V7A
574 575
	select DM
	select DM_SERIAL
576 577
	select DM_SPI
	select DM_SPI_FLASH
578
	select PL01X_SERIAL
A
Adam Ford 已提交
579
	select SPI
580
	select SPI_FLASH
M
Michal Simek 已提交
581
	imply CMD_DM
582

583 584
config TARGET_X600
	bool "Support x600"
585
	select BOARD_LATE_INIT
586
	select CPU_ARM926EJS
587
	select PL011_SERIAL
588
	select SUPPORT_SPL
589 590 591

config TARGET_WOODBURN
	bool "Support woodburn"
592
	select CPU_ARM1136
593 594 595

config TARGET_WOODBURN_SD
	bool "Support woodburn_sd"
596
	select CPU_ARM1136
M
Masahiro Yamada 已提交
597
	select SUPPORT_SPL
598 599 600

config TARGET_FLEA3
	bool "Support flea3"
601
	select CPU_ARM1136
602 603 604

config TARGET_MX35PDK
	bool "Support mx35pdk"
605
	select BOARD_LATE_INIT
606
	select CPU_ARM1136
607

608 609
config ARCH_BCM283X
	bool "Broadcom BCM283X family"
M
Masahiro Yamada 已提交
610 611
	select DM
	select DM_GPIO
612
	select DM_SERIAL
613
	select OF_CONTROL
614
	select PL01X_SERIAL
615
	select SERIAL_SEARCH_ALL
M
Michal Simek 已提交
616
	imply CMD_DM
T
Tom Rini 已提交
617
	imply FAT_WRITE
618

P
Philippe Reynes 已提交
619 620 621 622 623 624
config ARCH_BCM63158
	bool "Broadcom BCM63158 family"
	select DM
	select OF_CONTROL
	imply CMD_DM

P
Philippe Reynes 已提交
625 626 627 628 629 630
config ARCH_BCM6858
	bool "Broadcom BCM6858 family"
	select DM
	select OF_CONTROL
	imply CMD_DM

631 632
config TARGET_VEXPRESS_CA15_TC2
	bool "Support vexpress_ca15_tc2"
633
	select CPU_V7A
634 635
	select CPU_V7_HAS_NONSEC
	select CPU_V7_HAS_VIRT
636
	select PL011_SERIAL
637

638 639 640 641 642 643
config ARCH_BCMSTB
	bool "Broadcom BCM7XXX family"
	select CPU_V7A
	select DM
	select OF_CONTROL
	select OF_PRIOR_STAGE
M
Michal Simek 已提交
644
	imply CMD_DM
645 646 647 648
	help
	  This enables support for Broadcom ARM-based set-top box
	  chipsets, including the 7445 family of chips.

649 650
config TARGET_VEXPRESS_CA5X2
	bool "Support vexpress_ca5x2"
651
	select CPU_V7A
652
	select PL011_SERIAL
653 654 655

config TARGET_VEXPRESS_CA9X4
	bool "Support vexpress_ca9x4"
656
	select CPU_V7A
657
	select PL011_SERIAL
658

659 660
config TARGET_BCM23550_W1D
	bool "Support bcm23550_w1d"
661
	select CPU_V7A
662
	imply CRC32_VERIFY
T
Tom Rini 已提交
663
	imply FAT_WRITE
664

665 666
config TARGET_BCM28155_AP
	bool "Support bcm28155_ap"
667
	select CPU_V7A
668
	imply CRC32_VERIFY
T
Tom Rini 已提交
669
	imply FAT_WRITE
670

S
Steve Rae 已提交
671 672
config TARGET_BCMCYGNUS
	bool "Support bcmcygnus"
673
	select CPU_V7A
674 675
	imply BCM_SF2_ETH
	imply BCM_SF2_ETH_GMAC
S
Simon Glass 已提交
676
	imply CMD_HASH
677
	imply CRC32_VERIFY
T
Tom Rini 已提交
678
	imply FAT_WRITE
679
	imply HASH_VERIFY
680
	imply NETDEVICES
681

S
Steve Rae 已提交
682 683
config TARGET_BCMNSP
	bool "Support bcmnsp"
684
	select CPU_V7A
685

686 687 688 689 690 691 692 693
config TARGET_BCMNS2
	bool "Support Broadcom Northstar2"
	select ARM64
	help
	  Support for Broadcom Northstar 2 SoCs.  NS2 is a quad-core 64-bit
	  ARMv8 Cortex-A57 processors targeting a broad range of networking
	  applications

694 695
config ARCH_EXYNOS
	bool "Samsung EXYNOS"
M
Masahiro Yamada 已提交
696
	select DM
697
	select DM_GPIO
698
	select DM_I2C
699
	select DM_KEYBOARD
M
Masahiro Yamada 已提交
700 701
	select DM_SERIAL
	select DM_SPI
702
	select DM_SPI_FLASH
A
Adam Ford 已提交
703
	select SPI
G
Guillaume GARDET 已提交
704
	imply SYS_THUMB_BUILD
M
Michal Simek 已提交
705
	imply CMD_DM
T
Tom Rini 已提交
706
	imply FAT_WRITE
707

708 709
config ARCH_S5PC1XX
	bool "Samsung S5PC1XX"
710
	select CPU_V7A
M
Masahiro Yamada 已提交
711 712
	select DM
	select DM_GPIO
713
	select DM_I2C
714
	select DM_SERIAL
M
Michal Simek 已提交
715
	imply CMD_DM
716

717 718
config ARCH_HIGHBANK
	bool "Calxeda Highbank"
719
	select CPU_V7A
720
	select PL011_SERIAL
721

722 723
config ARCH_INTEGRATOR
	bool "ARM Ltd. Integrator family"
724 725
	select DM
	select DM_SERIAL
726
	select PL01X_SERIAL
M
Michal Simek 已提交
727
	imply CMD_DM
728

729 730
config ARCH_KEYSTONE
	bool "TI Keystone"
731
	select CMD_POWEROFF
732
	select CPU_V7A
M
Masahiro Yamada 已提交
733
	select SUPPORT_SPL
734
	select SYS_ARCH_TIMER
735
	select SYS_THUMB_BUILD
736
	imply CMD_MTDPARTS
737
	imply CMD_SAVES
738
	imply FIT
739

740 741 742 743 744 745
config ARCH_K3
	bool "Texas Instruments' K3 Architecture"
	select SPL
	select SUPPORT_SPL
	select FIT

746 747
config ARCH_OMAP2PLUS
	bool "TI OMAP2+"
748
	select CPU_V7A
749
	select SPL_BOARD_INIT if SPL
750
	select SPL_STACK_R if SPL
751 752 753
	select SUPPORT_SPL
	imply FIT

754 755
config ARCH_MESON
	bool "Amlogic Meson"
756
	imply DISTRO_DEFAULTS
757 758 759 760 761
	help
	  Support for the Meson SoC family developed by Amlogic Inc.,
	  targeted at media players and tablet computers. We currently
	  support the S905 (GXBaby) 64-bit SoC.

762 763 764 765 766 767 768 769 770 771 772 773 774 775
config ARCH_MEDIATEK
	bool "MediaTek SoCs"
	select BINMAN
	select DM
	select OF_CONTROL
	select SPL_DM if SPL
	select SPL_LIBCOMMON_SUPPORT if SPL
	select SPL_LIBGENERIC_SUPPORT if SPL
	select SPL_OF_CONTROL if SPL
	select SUPPORT_SPL
	help
	  Support for the MediaTek SoCs family developed by MediaTek Inc.
	  Please refer to doc/README.mediatek for more information.

776 777 778 779 780 781 782 783 784 785
config ARCH_LPC32XX
	bool "NXP LPC32xx platform"
	select CPU_ARM926EJS
	select DM
	select DM_GPIO
	select DM_SERIAL
	select SPL_DM if SPL
	select SUPPORT_SPL
	imply CMD_DM

P
Peng Fan 已提交
786 787 788 789 790 791
config ARCH_IMX8
	bool "NXP i.MX8 platform"
	select ARM64
	select DM
	select OF_CONTROL

P
Peng Fan 已提交
792
config ARCH_IMX8M
P
Peng Fan 已提交
793 794 795 796
	bool "NXP i.MX8M platform"
	select ARM64
	select DM
	select SUPPORT_SPL
M
Michal Simek 已提交
797
	imply CMD_DM
P
Peng Fan 已提交
798

799 800 801 802 803 804
config ARCH_MX23
	bool "NXP i.MX23 family"
	select CPU_ARM926EJS
	select PL011_SERIAL
	select SUPPORT_SPL

805 806 807
config ARCH_MX25
	bool "NXP MX25"
	select CPU_ARM926EJS
A
Adam Ford 已提交
808
	imply MXC_GPIO
809

810 811 812 813 814 815
config ARCH_MX28
	bool "NXP i.MX28 family"
	select CPU_ARM926EJS
	select PL011_SERIAL
	select SUPPORT_SPL

816 817 818 819
config ARCH_MX31
	bool "NXP i.MX31 family"
	select CPU_ARM1136

P
Peng Fan 已提交
820
config ARCH_MX7ULP
821
	bool "NXP MX7ULP"
822
	select CPU_V7A
P
Peng Fan 已提交
823
	select ROM_UNIFIED_SECTIONS
A
Adam Ford 已提交
824
	imply MXC_GPIO
P
Peng Fan 已提交
825

826 827
config ARCH_MX7
	bool "Freescale MX7"
828 829
	select ARCH_MISC_INIT
	select BOARD_EARLY_INIT_F
830
	select CPU_V7A
831 832
	select SYS_FSL_HAS_SEC if SECURE_BOOT
	select SYS_FSL_SEC_COMPAT_4
833
	select SYS_FSL_SEC_LE
A
Adam Ford 已提交
834
	imply MXC_GPIO
835

836 837
config ARCH_MX6
	bool "Freescale MX6"
838
	select CPU_V7A
839 840
	select SYS_FSL_HAS_SEC if SECURE_BOOT
	select SYS_FSL_SEC_COMPAT_4
841
	select SYS_FSL_SEC_LE
842
	select SYS_THUMB_BUILD if SPL
A
Adam Ford 已提交
843
	imply MXC_GPIO
844

845 846
if ARCH_MX6
config SPL_LDSCRIPT
847
	default "arch/arm/mach-omap2/u-boot-spl.lds"
848 849
endif

850 851
config ARCH_MX5
	bool "Freescale MX5"
852
	select BOARD_EARLY_INIT_F
853
	select CPU_V7A
A
Adam Ford 已提交
854
	imply MXC_GPIO
855

856 857 858 859 860 861
config ARCH_OWL
	bool "Actions Semi OWL SoCs"
	select ARM64
	select DM
	select DM_SERIAL
	select OF_CONTROL
M
Michal Simek 已提交
862
	imply CMD_DM
863

864 865
config ARCH_QEMU
	bool "QEMU Virtual Platform"
866
	select ARCH_SUPPORT_TFABOOT
867 868 869
	select DM
	select DM_SERIAL
	select OF_CONTROL
870
	select PL01X_SERIAL
M
Michal Simek 已提交
871
	imply CMD_DM
872 873
	imply DM_RTC
	imply RTC_PL031
874

875
config ARCH_RMOBILE
876
	bool "Renesas ARM SoCs"
877
	select BOARD_EARLY_INIT_F if !RZA1
878 879
	select DM
	select DM_SERIAL
M
Michal Simek 已提交
880
	imply CMD_DM
T
Tom Rini 已提交
881
	imply FAT_WRITE
882
	imply SYS_THUMB_BUILD
883
	imply ARCH_MISC_INIT if DISPLAY_CPUINFO
884

885 886 887
config TARGET_S32V234EVB
	bool "Support s32v234evb"
	select ARM64
888
	select SYS_FSL_ERRATUM_ESDHC111
889

890 891 892 893 894 895
config ARCH_SNAPDRAGON
	bool "Qualcomm Snapdragon SoCs"
	select ARM64
	select DM
	select DM_GPIO
	select DM_SERIAL
896
	select MSM_SMEM
897 898
	select OF_CONTROL
	select OF_SEPARATE
899
	select SMEM
900
	select SPMI
M
Michal Simek 已提交
901
	imply CMD_DM
902

903 904
config ARCH_SOCFPGA
	bool "Altera SOCFPGA family"
905
	select ARCH_EARLY_INIT_R
906
	select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
907
	select ARM64 if TARGET_SOCFPGA_STRATIX10
908
	select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
909
	select DM
M
Marek Vasut 已提交
910
	select DM_SERIAL
911
	select ENABLE_ARM_SOC_BOOT0_HOOK if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
912
	select OF_CONTROL
913
	select SPL_DM_RESET if DM_RESET
914
	select SPL_DM_SERIAL
915 916 917 918
	select SPL_LIBCOMMON_SUPPORT
	select SPL_LIBGENERIC_SUPPORT
	select SPL_NAND_SUPPORT if SPL_NAND_DENALI
	select SPL_OF_CONTROL
919
	select SPL_SEPARATE_BSS if TARGET_SOCFPGA_STRATIX10
920
	select SPL_SERIAL_SUPPORT
921
	select SPL_SYSRESET
922 923
	select SPL_WATCHDOG_SUPPORT
	select SUPPORT_SPL
M
Marek Vasut 已提交
924
	select SYS_NS16550
925
	select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
926 927
	select SYSRESET
	select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
928
	select SYSRESET_SOCFPGA_S10 if TARGET_SOCFPGA_STRATIX10
M
Michal Simek 已提交
929
	imply CMD_DM
930
	imply CMD_MTDPARTS
931
	imply CRC32_VERIFY
932 933
	imply DM_SPI
	imply DM_SPI_FLASH
T
Tom Rini 已提交
934
	imply FAT_WRITE
935 936
	imply SPL
	imply SPL_DM
937 938
	imply SPL_LIBDISK_SUPPORT
	imply SPL_MMC_SUPPORT
939
	imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
940
	imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
941 942
	imply SPL_SPI_FLASH_SUPPORT
	imply SPL_SPI_SUPPORT
943
	imply L2X0_CACHE
944

945 946
config ARCH_SUNXI
	bool "Support sunxi (Allwinner) SoCs"
947
	select BINMAN
948
	select CMD_GPIO
949
	select CMD_MMC if MMC
950
	select CMD_USB if DISTRO_DEFAULTS
J
Jagan Teki 已提交
951
	select CLK
952
	select DM
953
	select DM_ETH
H
Hans de Goede 已提交
954 955
	select DM_GPIO
	select DM_KEYBOARD
956 957
	select DM_MMC if MMC
	select DM_SCSI if SCSI
958
	select DM_SERIAL
959
	select DM_USB if DISTRO_DEFAULTS
960
	select OF_BOARD_SETUP
961 962
	select OF_CONTROL
	select OF_SEPARATE
963
	select SPECIFY_CONSOLE_INDEX
964 965
	select SPL_STACK_R if SPL
	select SPL_SYS_MALLOC_SIMPLE if SPL
966
	select SPL_SYS_THUMB_BUILD if !ARM64
967
	select SUNXI_GPIO
968
	select SYS_NS16550
969
	select SYS_THUMB_BUILD if !ARM64
970 971
	select USB if DISTRO_DEFAULTS
	select USB_KEYBOARD if DISTRO_DEFAULTS
972
	select USB_STORAGE if DISTRO_DEFAULTS
H
Hans de Goede 已提交
973
	select USE_TINY_PRINTF
M
Michal Simek 已提交
974
	imply CMD_DM
M
Maxime Ripard 已提交
975
	imply CMD_GPT
976
	imply CMD_UBI if NAND
977
	imply DISTRO_DEFAULTS
T
Tom Rini 已提交
978
	imply FAT_WRITE
M
Marek Vasut 已提交
979
	imply FIT
980
	imply OF_LIBFDT_OVERLAY
981 982 983 984
	imply PRE_CONSOLE_BUFFER
	imply SPL_GPIO_SUPPORT
	imply SPL_LIBCOMMON_SUPPORT
	imply SPL_LIBGENERIC_SUPPORT
985
	imply SPL_MMC_SUPPORT if MMC
986 987
	imply SPL_POWER_SUPPORT
	imply SPL_SERIAL_SUPPORT
M
Maxime Ripard 已提交
988
	imply USB_GADGET
C
Chen-Yu Tsai 已提交
989

990 991 992 993 994
config ARCH_VERSAL
	bool "Support Xilinx Versal Platform"
	select ARM64
	select CLK
	select DM
995 996
	select DM_ETH if NET
	select DM_MMC if MMC
997 998
	select DM_SERIAL
	select OF_CONTROL
999
	imply BOARD_LATE_INIT
1000

1001 1002
config ARCH_VF610
	bool "Freescale Vybrid"
1003
	select CPU_V7A
1004
	select SYS_FSL_ERRATUM_ESDHC111
1005
	imply CMD_MTDPARTS
A
Adam Ford 已提交
1006
	imply NAND
1007

1008
config ARCH_ZYNQ
1009
	bool "Xilinx Zynq based platform"
1010 1011 1012
	select BOARD_EARLY_INIT_F if WDT
	select CLK
	select CLK_ZYNQ
1013
	select CPU_V7A
1014
	select DM
1015 1016
	select DM_ETH if NET
	select DM_MMC if MMC
1017
	select DM_SERIAL
1018
	select DM_SPI
1019
	select DM_SPI_FLASH
1020
	select DM_USB if USB
1021
	select OF_CONTROL
A
Adam Ford 已提交
1022
	select SPI
1023 1024 1025 1026 1027 1028 1029
	select SPL_BOARD_INIT if SPL
	select SPL_CLK if SPL
	select SPL_DM if SPL
	select SPL_OF_CONTROL if SPL
	select SPL_SEPARATE_BSS if SPL
	select SUPPORT_SPL
	imply ARCH_EARLY_INIT_R
1030
	imply BOARD_LATE_INIT
S
Simon Glass 已提交
1031
	imply CMD_CLK
M
Michal Simek 已提交
1032
	imply CMD_DM
S
Simon Glass 已提交
1033
	imply CMD_SPL
1034
	imply FAT_WRITE
1035

1036 1037
config ARCH_ZYNQMP_R5
	bool "Xilinx ZynqMP R5 based platform"
1038
	select CLK
1039 1040
	select CPU_V7R
	select DM
1041 1042
	select DM_ETH if NET
	select DM_MMC if MMC
1043
	select DM_SERIAL
1044
	select OF_CONTROL
M
Michal Simek 已提交
1045
	imply CMD_DM
1046
	imply DM_USB_GADGET
1047

1048
config ARCH_ZYNQMP
1049
	bool "Xilinx ZynqMP based platform"
M
Michal Simek 已提交
1050
	select ARM64
1051
	select CLK
1052
	select DM
1053 1054
	select DM_ETH if NET
	select DM_MMC if MMC
1055
	select DM_SERIAL
1056 1057
	select DM_SPI if SPI
	select DM_SPI_FLASH if DM_SPI
1058 1059
	select DM_USB if USB
	select OF_CONTROL
1060
	select SPL_BOARD_INIT if SPL
1061
	select SPL_CLK if SPL
1062
	select SPL_SEPARATE_BSS if SPL
1063
	select SUPPORT_SPL
1064
	imply BOARD_LATE_INIT
M
Michal Simek 已提交
1065
	imply CMD_DM
T
Tom Rini 已提交
1066
	imply FAT_WRITE
1067
	imply MP
1068
	imply DM_USB_GADGET
M
Michal Simek 已提交
1069

1070 1071
config TEGRA
	bool "NVIDIA Tegra"
1072
	imply DISTRO_DEFAULTS
T
Tom Rini 已提交
1073
	imply FAT_WRITE
1074

1075
config TARGET_VEXPRESS64_AEMV8A
1076
	bool "Support vexpress_aemv8a"
1077
	select ARM64
1078
	select PL01X_SERIAL
1079

1080 1081 1082
config TARGET_VEXPRESS64_BASE_FVP
	bool "Support Versatile Express ARMv8a FVP BASE model"
	select ARM64
1083
	select PL01X_SERIAL
1084
	select SEMIHOSTING
1085

1086 1087 1088
config TARGET_VEXPRESS64_JUNO
	bool "Support Versatile Express Juno Development Platform"
	select ARM64
1089
	select PL01X_SERIAL
1090

1091 1092
config TARGET_LS2080A_EMU
	bool "Support ls2080a_emu"
1093
	select ARCH_LS2080A
1094
	select ARCH_MISC_INIT
1095
	select ARM64
1096
	select ARMV8_MULTIENTRY
1097
	select FSL_DDR_SYNC_REFRESH
1098 1099 1100 1101 1102
	help
	  Support for Freescale LS2080A_EMU platform
	  The LS2080A Development System (EMULATOR) is a pre silicon
	  development platform that supports the QorIQ LS2080A
	  Layerscape Architecture processor.
1103

1104 1105
config TARGET_LS2080A_SIMU
	bool "Support ls2080a_simu"
1106
	select ARCH_LS2080A
1107
	select ARCH_MISC_INIT
1108
	select ARM64
1109
	select ARMV8_MULTIENTRY
1110
	select BOARD_LATE_INIT
1111 1112 1113 1114 1115
	help
	  Support for Freescale LS2080A_SIMU platform
	  The LS2080A Development System (QDS) is a pre silicon
	  development platform that supports the QorIQ LS2080A
	  Layerscape Architecture processor.
1116

1117 1118 1119
config TARGET_LS1088AQDS
	bool "Support ls1088aqds"
	select ARCH_LS1088A
1120
	select ARCH_MISC_INIT
1121 1122
	select ARM64
	select ARMV8_MULTIENTRY
1123
	select ARCH_SUPPORT_TFABOOT
1124
	select BOARD_LATE_INIT
1125
	select SUPPORT_SPL
1126
	select FSL_DDR_INTERACTIVE if !SD_BOOT
1127 1128 1129 1130 1131 1132
	help
	  Support for NXP LS1088AQDS platform
	  The LS1088A Development System (QDS) is a high-performance
	  development platform that supports the QorIQ LS1088A
	  Layerscape Architecture processor.

1133 1134
config TARGET_LS2080AQDS
	bool "Support ls2080aqds"
1135
	select ARCH_LS2080A
1136
	select ARCH_MISC_INIT
1137 1138
	select ARM64
	select ARMV8_MULTIENTRY
1139
	select ARCH_SUPPORT_TFABOOT
1140
	select BOARD_LATE_INIT
S
Scott Wood 已提交
1141
	select SUPPORT_SPL
S
Simon Glass 已提交
1142
	imply SCSI
1143
	imply SCSI_AHCI
1144 1145
	select FSL_DDR_BIST
	select FSL_DDR_INTERACTIVE if !SPL
1146
	help
1147 1148 1149
	  Support for Freescale LS2080AQDS platform
	  The LS2080A Development System (QDS) is a high-performance
	  development platform that supports the QorIQ LS2080A
1150 1151
	  Layerscape Architecture processor.

1152 1153
config TARGET_LS2080ARDB
	bool "Support ls2080ardb"
1154
	select ARCH_LS2080A
1155
	select ARCH_MISC_INIT
1156 1157
	select ARM64
	select ARMV8_MULTIENTRY
1158
	select ARCH_SUPPORT_TFABOOT
1159
	select BOARD_LATE_INIT
1160
	select SUPPORT_SPL
1161 1162
	select FSL_DDR_BIST
	select FSL_DDR_INTERACTIVE if !SPL
S
Simon Glass 已提交
1163
	imply SCSI
1164
	imply SCSI_AHCI
1165
	help
1166 1167 1168
	  Support for Freescale LS2080ARDB platform.
	  The LS2080A Reference design board (RDB) is a high-performance
	  development platform that supports the QorIQ LS2080A
1169 1170
	  Layerscape Architecture processor.

1171 1172 1173
config TARGET_LS2081ARDB
	bool "Support ls2081ardb"
	select ARCH_LS2080A
1174
	select ARCH_MISC_INIT
1175 1176 1177 1178 1179 1180 1181 1182 1183 1184
	select ARM64
	select ARMV8_MULTIENTRY
	select BOARD_LATE_INIT
	select SUPPORT_SPL
	help
	  Support for Freescale LS2081ARDB platform.
	  The LS2081A Reference design board (RDB) is a high-performance
	  development platform that supports the QorIQ LS2081A/LS2041A
	  Layerscape Architecture processor.

1185 1186 1187 1188 1189 1190
config TARGET_LX2160ARDB
	bool "Support lx2160ardb"
	select ARCH_LX2160A
	select ARCH_MISC_INIT
	select ARM64
	select ARMV8_MULTIENTRY
1191
	select ARCH_SUPPORT_TFABOOT
1192 1193 1194 1195 1196 1197 1198
	select BOARD_LATE_INIT
	help
	  Support for NXP LX2160ARDB platform.
	  The lx2160ardb (LX2160A Reference design board (RDB)
	  is a high-performance development platform that supports the
	  QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.

1199 1200 1201 1202 1203 1204
config TARGET_LX2160AQDS
	bool "Support lx2160aqds"
	select ARCH_LX2160A
	select ARCH_MISC_INIT
	select ARM64
	select ARMV8_MULTIENTRY
1205
	select ARCH_SUPPORT_TFABOOT
1206 1207 1208 1209 1210 1211 1212
	select BOARD_LATE_INIT
	help
	  Support for NXP LX2160AQDS platform.
	  The lx2160aqds (LX2160A QorIQ Development System (QDS)
	  is a high-performance development platform that supports the
	  QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.

1213 1214 1215
config TARGET_HIKEY
	bool "Support HiKey 96boards Consumer Edition Platform"
	select ARM64
1216 1217
	select DM
	select DM_GPIO
1218
	select DM_SERIAL
1219
	select OF_CONTROL
1220
	select PL01X_SERIAL
1221
	select SPECIFY_CONSOLE_INDEX
M
Michal Simek 已提交
1222
	imply CMD_DM
1223 1224 1225 1226
	  help
	  Support for HiKey 96boards platform. It features a HI6220
	  SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.

1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238
config TARGET_HIKEY960
	bool "Support HiKey960 96boards Consumer Edition Platform"
	select ARM64
	select DM
	select DM_SERIAL
	select OF_CONTROL
	select PL01X_SERIAL
	imply CMD_DM
	  help
	  Support for HiKey960 96boards platform. It features a HI3660
	  SoC, with 4xA73 CPU, 4xA53 CPU, MALI-G71 GPU, and 3GB RAM.

1239 1240 1241 1242 1243 1244
config TARGET_POPLAR
	bool "Support Poplar 96boards Enterprise Edition Platform"
	select ARM64
	select DM
	select DM_SERIAL
	select DM_USB
1245
	select OF_CONTROL
1246
	select PL01X_SERIAL
M
Michal Simek 已提交
1247
	imply CMD_DM
1248 1249 1250 1251 1252 1253
	  help
	  Support for Poplar 96boards EE platform. It features a HI3798cv200
	  SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
	  making it capable of running any commercial set-top solution based on
	  Linux or Android.

1254 1255
config TARGET_LS1012AQDS
	bool "Support ls1012aqds"
1256
	select ARCH_LS1012A
1257
	select ARM64
1258
	select ARCH_SUPPORT_TFABOOT
1259
	select BOARD_LATE_INIT
1260 1261 1262 1263 1264 1265
	help
	  Support for Freescale LS1012AQDS platform.
	  The LS1012A Development System (QDS) is a high-performance
	  development platform that supports the QorIQ LS1012A
	  Layerscape Architecture processor.

1266 1267
config TARGET_LS1012ARDB
	bool "Support ls1012ardb"
1268
	select ARCH_LS1012A
1269
	select ARM64
1270
	select ARCH_SUPPORT_TFABOOT
1271
	select BOARD_LATE_INIT
S
Simon Glass 已提交
1272
	imply SCSI
1273
	imply SCSI_AHCI
1274 1275 1276 1277 1278 1279
	help
	  Support for Freescale LS1012ARDB platform.
	  The LS1012A Reference design board (RDB) is a high-performance
	  development platform that supports the QorIQ LS1012A
	  Layerscape Architecture processor.

1280 1281 1282 1283
config TARGET_LS1012A2G5RDB
	bool "Support ls1012a2g5rdb"
	select ARCH_LS1012A
	select ARM64
1284
	select ARCH_SUPPORT_TFABOOT
1285 1286 1287 1288 1289 1290 1291 1292
	select BOARD_LATE_INIT
	imply SCSI
	help
	  Support for Freescale LS1012A2G5RDB platform.
	  The LS1012A 2G5 Reference design board (RDB) is a high-performance
	  development platform that supports the QorIQ LS1012A
	  Layerscape Architecture processor.

1293 1294 1295 1296
config TARGET_LS1012AFRWY
	bool "Support ls1012afrwy"
	select ARCH_LS1012A
	select ARM64
1297
	select ARCH_SUPPORT_TFABOOT
1298
	select BOARD_LATE_INIT
1299 1300 1301 1302 1303 1304 1305 1306
	imply SCSI
	imply SCSI_AHCI
	help
	 Support for Freescale LS1012AFRWY platform.
	 The LS1012A FRWY board (FRWY) is a high-performance
	 development platform that supports the QorIQ LS1012A
	 Layerscape Architecture processor.

1307 1308
config TARGET_LS1012AFRDM
	bool "Support ls1012afrdm"
1309
	select ARCH_LS1012A
1310
	select ARM64
1311
	select ARCH_SUPPORT_TFABOOT
1312 1313 1314 1315 1316 1317
	help
	  Support for Freescale LS1012AFRDM platform.
	  The LS1012A Freedom  board (FRDM) is a high-performance
	  development platform that supports the QorIQ LS1012A
	  Layerscape Architecture processor.

1318 1319 1320 1321 1322
config TARGET_LS1028AQDS
	bool "Support ls1028aqds"
	select ARCH_LS1028A
	select ARM64
	select ARMV8_MULTIENTRY
1323
	select ARCH_SUPPORT_TFABOOT
1324
	select BOARD_LATE_INIT
1325
	select ARCH_MISC_INIT
1326 1327 1328 1329 1330 1331
	help
	  Support for Freescale LS1028AQDS platform
	  The LS1028A Development System (QDS) is a high-performance
	  development platform that supports the QorIQ LS1028A
	  Layerscape Architecture processor.

1332 1333 1334 1335 1336
config TARGET_LS1028ARDB
	bool "Support ls1028ardb"
	select ARCH_LS1028A
	select ARM64
	select ARMV8_MULTIENTRY
1337
	select ARCH_SUPPORT_TFABOOT
1338 1339 1340 1341 1342 1343
	help
	  Support for Freescale LS1028ARDB platform
	  The LS1028A Development System (RDB) is a high-performance
	  development platform that supports the QorIQ LS1028A
	  Layerscape Architecture processor.

1344 1345 1346
config TARGET_LS1088ARDB
	bool "Support ls1088ardb"
	select ARCH_LS1088A
1347
	select ARCH_MISC_INIT
1348 1349
	select ARM64
	select ARMV8_MULTIENTRY
1350
	select ARCH_SUPPORT_TFABOOT
1351
	select BOARD_LATE_INIT
1352
	select SUPPORT_SPL
1353
	select FSL_DDR_INTERACTIVE if !SD_BOOT
1354 1355 1356 1357 1358 1359
	help
	  Support for NXP LS1088ARDB platform.
	  The LS1088A Reference design board (RDB) is a high-performance
	  development platform that supports the QorIQ LS1088A
	  Layerscape Architecture processor.

1360
config TARGET_LS1021AQDS
1361
	bool "Support ls1021aqds"
1362 1363 1364
	select ARCH_LS1021A
	select ARCH_SUPPORT_PSCI
	select BOARD_EARLY_INIT_F
1365
	select BOARD_LATE_INIT
1366
	select CPU_V7A
1367 1368
	select CPU_V7_HAS_NONSEC
	select CPU_V7_HAS_VIRT
1369
	select LS1_DEEP_SLEEP
1370
	select SUPPORT_SPL
1371
	select SYS_FSL_DDR
1372
	select FSL_DDR_INTERACTIVE
S
Simon Glass 已提交
1373
	imply SCSI
1374

1375
config TARGET_LS1021ATWR
1376
	bool "Support ls1021atwr"
1377 1378 1379
	select ARCH_LS1021A
	select ARCH_SUPPORT_PSCI
	select BOARD_EARLY_INIT_F
1380
	select BOARD_LATE_INIT
1381
	select CPU_V7A
1382 1383
	select CPU_V7_HAS_NONSEC
	select CPU_V7_HAS_VIRT
1384
	select LS1_DEEP_SLEEP
1385
	select SUPPORT_SPL
S
Simon Glass 已提交
1386
	imply SCSI
1387

1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400
config TARGET_LS1021ATSN
	bool "Support ls1021atsn"
	select ARCH_LS1021A
	select ARCH_SUPPORT_PSCI
	select BOARD_EARLY_INIT_F
	select BOARD_LATE_INIT
	select CPU_V7A
	select CPU_V7_HAS_NONSEC
	select CPU_V7_HAS_VIRT
	select LS1_DEEP_SLEEP
	select SUPPORT_SPL
	imply SCSI

F
Feng Li 已提交
1401 1402
config TARGET_LS1021AIOT
	bool "Support ls1021aiot"
1403 1404
	select ARCH_LS1021A
	select ARCH_SUPPORT_PSCI
1405
	select BOARD_LATE_INIT
1406
	select CPU_V7A
F
Feng Li 已提交
1407 1408 1409
	select CPU_V7_HAS_NONSEC
	select CPU_V7_HAS_VIRT
	select SUPPORT_SPL
S
Simon Glass 已提交
1410
	imply SCSI
F
Feng Li 已提交
1411 1412 1413 1414 1415 1416
	help
	  Support for Freescale LS1021AIOT platform.
	  The LS1021A Freescale board (IOT) is a high-performance
	  development platform that supports the QorIQ LS1021A
	  Layerscape Architecture processor.

1417 1418
config TARGET_LS1043AQDS
	bool "Support ls1043aqds"
1419
	select ARCH_LS1043A
1420 1421
	select ARM64
	select ARMV8_MULTIENTRY
1422
	select ARCH_SUPPORT_TFABOOT
1423
	select BOARD_EARLY_INIT_F
1424
	select BOARD_LATE_INIT
1425
	select SUPPORT_SPL
1426
	select FSL_DDR_INTERACTIVE if !SPL
S
Simon Glass 已提交
1427
	imply SCSI
1428
	imply SCSI_AHCI
1429 1430 1431
	help
	  Support for Freescale LS1043AQDS platform.

1432 1433
config TARGET_LS1043ARDB
	bool "Support ls1043ardb"
1434
	select ARCH_LS1043A
1435
	select ARM64
1436
	select ARMV8_MULTIENTRY
1437
	select ARCH_SUPPORT_TFABOOT
1438
	select BOARD_EARLY_INIT_F
1439
	select BOARD_LATE_INIT
1440
	select SUPPORT_SPL
1441 1442 1443
	help
	  Support for Freescale LS1043ARDB platform.

1444 1445
config TARGET_LS1046AQDS
	bool "Support ls1046aqds"
1446
	select ARCH_LS1046A
1447 1448
	select ARM64
	select ARMV8_MULTIENTRY
1449
	select ARCH_SUPPORT_TFABOOT
1450
	select BOARD_EARLY_INIT_F
1451
	select BOARD_LATE_INIT
1452
	select DM_SPI_FLASH if DM_SPI
1453
	select SUPPORT_SPL
1454 1455 1456
	select FSL_DDR_BIST if !SPL
	select FSL_DDR_INTERACTIVE  if !SPL
	select FSL_DDR_INTERACTIVE if !SPL
S
Simon Glass 已提交
1457
	imply SCSI
1458 1459 1460 1461 1462 1463
	help
	  Support for Freescale LS1046AQDS platform.
	  The LS1046A Development System (QDS) is a high-performance
	  development platform that supports the QorIQ LS1046A
	  Layerscape Architecture processor.

1464 1465
config TARGET_LS1046ARDB
	bool "Support ls1046ardb"
1466
	select ARCH_LS1046A
1467 1468
	select ARM64
	select ARMV8_MULTIENTRY
1469
	select ARCH_SUPPORT_TFABOOT
1470
	select BOARD_EARLY_INIT_F
1471
	select BOARD_LATE_INIT
1472
	select DM_SPI_FLASH if DM_SPI
1473
	select POWER_MC34VR500
1474
	select SUPPORT_SPL
1475 1476
	select FSL_DDR_BIST
	select FSL_DDR_INTERACTIVE if !SPL
S
Simon Glass 已提交
1477
	imply SCSI
1478 1479 1480 1481 1482 1483
	help
	  Support for Freescale LS1046ARDB platform.
	  The LS1046A Reference Design Board (RDB) is a high-performance
	  development platform that supports the QorIQ LS1046A
	  Layerscape Architecture processor.

1484 1485 1486 1487 1488
config TARGET_LS1046AFRWY
	bool "Support ls1046afrwy"
	select ARCH_LS1046A
	select ARM64
	select ARMV8_MULTIENTRY
1489
	select ARCH_SUPPORT_TFABOOT
1490 1491 1492 1493 1494 1495 1496 1497 1498
	select BOARD_EARLY_INIT_F
	select BOARD_LATE_INIT
	select DM_SPI_FLASH if DM_SPI
	imply SCSI
	help
	  Support for Freescale LS1046AFRWY platform.
	  The LS1046A Freeway Board (FRWY) is a high-performance
	  development platform that supports the QorIQ LS1046A
	  Layerscape Architecture processor.
1499 1500
config TARGET_H2200
	bool "Support h2200"
1501
	select CPU_PXA
1502 1503 1504

config TARGET_COLIBRI_PXA270
	bool "Support colibri_pxa270"
1505
	select CPU_PXA
1506

1507
config ARCH_UNIPHIER
1508
	bool "Socionext UniPhier SoCs"
1509
	select BOARD_LATE_INIT
1510
	select DM
1511
	select DM_GPIO
1512
	select DM_I2C
1513
	select DM_MMC
1514
	select DM_RESET
1515
	select DM_SERIAL
1516
	select DM_USB
1517
	select OF_BOARD_SETUP
1518 1519
	select OF_CONTROL
	select OF_LIBFDT
1520
	select PINCTRL
1521
	select SPL_BOARD_INIT if SPL
1522 1523 1524 1525 1526
	select SPL_DM if SPL
	select SPL_LIBCOMMON_SUPPORT if SPL
	select SPL_LIBGENERIC_SUPPORT if SPL
	select SPL_OF_CONTROL if SPL
	select SPL_PINCTRL if SPL
1527
	select SUPPORT_SPL
M
Michal Simek 已提交
1528
	imply CMD_DM
1529
	imply DISTRO_DEFAULTS
T
Tom Rini 已提交
1530
	imply FAT_WRITE
1531 1532 1533
	help
	  Support for UniPhier SoC family developed by Socionext Inc.
	  (formerly, System LSI Business Division of Panasonic Corporation)
1534

1535
config STM32
1536
	bool "Support STMicroelectronics STM32 MCU with cortex M"
1537
	select CPU_V7M
K
Kamil Lulko 已提交
1538 1539
	select DM
	select DM_SERIAL
M
Michal Simek 已提交
1540
	imply CMD_DM
1541

1542 1543
config ARCH_STI
	bool "Support STMicrolectronics SoCs"
1544
	select BLK
1545
	select CPU_V7A
P
Patrice Chotard 已提交
1546
	select DM
P
Patrice Chotard 已提交
1547
	select DM_MMC
P
Patrice Chotard 已提交
1548
	select DM_RESET
1549
	select DM_SERIAL
M
Michal Simek 已提交
1550
	imply CMD_DM
1551 1552 1553 1554
	help
	  Support for STMicroelectronics STiH407/10 SoC family.
	  This SoC is used on Linaro 96Board STiH410-B2260

1555 1556
config ARCH_STM32MP
	bool "Support STMicroelectronics STM32MP Socs with cortex A"
1557
	select ARCH_MISC_INIT
1558 1559 1560 1561 1562 1563
	select BOARD_LATE_INIT
	select CLK
	select DM
	select DM_GPIO
	select DM_RESET
	select DM_SERIAL
1564
	select MISC
1565 1566
	select OF_CONTROL
	select OF_LIBFDT
1567
	select OF_SYSTEM_SETUP
1568 1569 1570 1571
	select PINCTRL
	select REGMAP
	select SUPPORT_SPL
	select SYSCON
P
Patrick Delaunay 已提交
1572
	select SYSRESET
1573
	select SYS_THUMB_BUILD
1574
	imply SPL_SYSRESET
M
Michal Simek 已提交
1575
	imply CMD_DM
1576
	imply CMD_POWEROFF
1577
	imply OF_LIBFDT_OVERLAY
1578
	imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1579
	imply USE_PREBOOT
1580 1581 1582
	help
	  Support for STM32MP SoC family developed by STMicroelectronics,
	  MPUs based on ARM cortex A core
1583 1584 1585 1586
	  U-BOOT is running in DDR, loaded by the First Stage BootLoader (FSBL).
	  FSBL can be TF-A: Trusted Firmware for Cortex A, for trusted boot
	  chain.
	  SPL is the unsecure FSBL for the basic boot chain.
1587

1588 1589
config ARCH_ROCKCHIP
	bool "Support Rockchip SoCs"
1590
	select BLK
1591
	select DM
1592 1593 1594
	select DM_GPIO
	select DM_I2C
	select DM_MMC
1595 1596
	select DM_PWM
	select DM_REGULATOR
1597 1598 1599
	select DM_SERIAL
	select DM_SPI
	select DM_SPI_FLASH
1600
	select DM_USB if USB
1601
	select ENABLE_ARM_SOC_BOOT0_HOOK
1602
	select OF_CONTROL
A
Adam Ford 已提交
1603
	select SPI
1604 1605 1606 1607 1608
	select SPL_DM if SPL
	select SPL_SYS_MALLOC_SIMPLE if SPL
	select SYS_MALLOC_F
	select SYS_THUMB_BUILD if !ARM64
	imply ADC
M
Michal Simek 已提交
1609
	imply CMD_DM
1610
	imply DEBUG_UART_BOARD_INIT
1611
	imply DISTRO_DEFAULTS
T
Tom Rini 已提交
1612
	imply FAT_WRITE
1613
	imply SARADC_ROCKCHIP
1614
	imply SPL_SYSRESET
1615
	imply SYS_NS16550
1616 1617
	imply TPL_SYSRESET
	imply USB_FUNCTION_FASTBOOT
1618

1619 1620
config TARGET_THUNDERX_88XX
	bool "Support ThunderX 88xx"
1621
	select ARM64
1622
	select OF_CONTROL
1623
	select PL01X_SERIAL
1624
	select SYS_CACHE_SHIFT_7
1625

1626 1627 1628
config ARCH_ASPEED
	bool "Support Aspeed SoCs"
	select DM
1629
	select OF_CONTROL
M
Michal Simek 已提交
1630
	imply CMD_DM
1631

1632 1633
endchoice

1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644
config ARCH_SUPPORT_TFABOOT
	bool

config TFABOOT
	bool "Support for booting from TF-A"
	depends on ARCH_SUPPORT_TFABOOT
	default n
	help
	  Enabling this will make a U-Boot binary that is capable of being
	  booted via TF-A.

1645 1646
config TI_SECURE_DEVICE
	bool "HS Device Type Support"
1647
	depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
1648 1649 1650 1651 1652 1653 1654
	help
	  If a high secure (HS) device type is being used, this config
	  must be set. This option impacts various aspects of the
	  build system (to create signed boot images that can be
	  authenticated) and the code. See the doc/README.ti-secure
	  file for further details.

1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669
if AM43XX || AM33XX || OMAP54XX || ARCH_KEYSTONE
config ISW_ENTRY_ADDR
	hex "Address in memory or XIP address of bootloader entry point"
	default 0x402F4000 if AM43XX
	default 0x402F0400 if AM33XX
	default 0x40301350 if OMAP54XX
	help
	  After any reset, the boot ROM searches the boot media for a valid
	  boot image. For non-XIP devices, the ROM then copies the image into
	  internal memory. For all boot modes, after the ROM processes the
	  boot image it eventually computes the entry point address depending
	  on the device type (secure/non-secure), boot media (xip/non-xip) and
	  image headers.
endif

1670 1671
source "arch/arm/mach-aspeed/Kconfig"

1672 1673
source "arch/arm/mach-at91/Kconfig"

1674
source "arch/arm/mach-bcm283x/Kconfig"
1675

1676 1677
source "arch/arm/mach-bcmstb/Kconfig"

1678
source "arch/arm/mach-davinci/Kconfig"
1679

1680
source "arch/arm/mach-exynos/Kconfig"
1681

1682
source "arch/arm/mach-highbank/Kconfig"
1683

1684 1685
source "arch/arm/mach-integrator/Kconfig"

1686 1687
source "arch/arm/mach-k3/Kconfig"

1688
source "arch/arm/mach-keystone/Kconfig"
1689

1690
source "arch/arm/mach-kirkwood/Kconfig"
1691

1692 1693
source "arch/arm/cpu/arm926ejs/lpc32xx/Kconfig"

1694 1695
source "arch/arm/mach-mvebu/Kconfig"

1696 1697
source "arch/arm/cpu/armv7/ls102xa/Kconfig"

1698 1699
source "arch/arm/mach-imx/mx2/Kconfig"

1700 1701
source "arch/arm/mach-imx/mx3/Kconfig"

P
Peng Fan 已提交
1702 1703 1704
source "arch/arm/mach-imx/mx5/Kconfig"

source "arch/arm/mach-imx/mx6/Kconfig"
P
Peng Fan 已提交
1705

1706
source "arch/arm/mach-imx/mx7/Kconfig"
1707

P
Peng Fan 已提交
1708
source "arch/arm/mach-imx/mx7ulp/Kconfig"
1709

P
Peng Fan 已提交
1710 1711
source "arch/arm/mach-imx/imx8/Kconfig"

P
Peng Fan 已提交
1712
source "arch/arm/mach-imx/imx8m/Kconfig"
1713

1714 1715
source "arch/arm/mach-imx/mxs/Kconfig"

1716
source "arch/arm/mach-omap2/Kconfig"
1717

1718 1719
source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"

1720
source "arch/arm/mach-orion5x/Kconfig"
1721

1722 1723
source "arch/arm/mach-owl/Kconfig"

1724
source "arch/arm/mach-rmobile/Kconfig"
1725

1726 1727
source "arch/arm/mach-meson/Kconfig"

1728 1729
source "arch/arm/mach-mediatek/Kconfig"

1730 1731
source "arch/arm/mach-qemu/Kconfig"

1732 1733
source "arch/arm/mach-rockchip/Kconfig"

1734
source "arch/arm/mach-s5pc1xx/Kconfig"
1735

1736 1737
source "arch/arm/mach-snapdragon/Kconfig"

1738 1739
source "arch/arm/mach-socfpga/Kconfig"

1740 1741
source "arch/arm/mach-sti/Kconfig"

1742 1743
source "arch/arm/mach-stm32/Kconfig"

1744 1745
source "arch/arm/mach-stm32mp/Kconfig"

1746 1747
source "arch/arm/mach-sunxi/Kconfig"

1748
source "arch/arm/mach-tegra/Kconfig"
1749

1750
source "arch/arm/mach-uniphier/Kconfig"
1751

1752 1753
source "arch/arm/cpu/armv7/vf610/Kconfig"

1754
source "arch/arm/mach-zynq/Kconfig"
1755

1756 1757
source "arch/arm/mach-zynqmp/Kconfig"

1758 1759
source "arch/arm/mach-versal/Kconfig"

1760 1761
source "arch/arm/mach-zynqmp-r5/Kconfig"

1762 1763
source "arch/arm/cpu/armv7/Kconfig"

1764 1765
source "arch/arm/cpu/armv8/Kconfig"

1766
source "arch/arm/mach-imx/Kconfig"
1767

1768
source "board/bosch/shc/Kconfig"
1769
source "board/bosch/guardian/Kconfig"
1770 1771 1772 1773 1774 1775
source "board/CarMediaLab/flea3/Kconfig"
source "board/Marvell/aspenite/Kconfig"
source "board/Marvell/gplugd/Kconfig"
source "board/armadeus/apf27/Kconfig"
source "board/armltd/vexpress/Kconfig"
source "board/armltd/vexpress64/Kconfig"
1776
source "board/broadcom/bcm23550_w1d/Kconfig"
1777
source "board/broadcom/bcm28155_ap/Kconfig"
P
Philippe Reynes 已提交
1778
source "board/broadcom/bcm963158/Kconfig"
P
Philippe Reynes 已提交
1779
source "board/broadcom/bcm968580xref/Kconfig"
S
Steve Rae 已提交
1780 1781
source "board/broadcom/bcmcygnus/Kconfig"
source "board/broadcom/bcmnsp/Kconfig"
1782
source "board/broadcom/bcmns2/Kconfig"
1783
source "board/cavium/thunderx/Kconfig"
1784
source "board/cirrus/edb93xx/Kconfig"
F
Felix Brack 已提交
1785
source "board/eets/pdu001/Kconfig"
1786
source "board/emulation/qemu-arm/Kconfig"
1787 1788 1789
source "board/freescale/ls2080a/Kconfig"
source "board/freescale/ls2080aqds/Kconfig"
source "board/freescale/ls2080ardb/Kconfig"
1790
source "board/freescale/ls1088a/Kconfig"
1791
source "board/freescale/ls1028a/Kconfig"
1792
source "board/freescale/ls1021aqds/Kconfig"
1793
source "board/freescale/ls1043aqds/Kconfig"
1794
source "board/freescale/ls1021atwr/Kconfig"
1795
source "board/freescale/ls1021atsn/Kconfig"
F
Feng Li 已提交
1796
source "board/freescale/ls1021aiot/Kconfig"
1797
source "board/freescale/ls1046aqds/Kconfig"
1798
source "board/freescale/ls1043ardb/Kconfig"
1799
source "board/freescale/ls1046ardb/Kconfig"
1800
source "board/freescale/ls1046afrwy/Kconfig"
1801
source "board/freescale/ls1012aqds/Kconfig"
1802
source "board/freescale/ls1012ardb/Kconfig"
1803
source "board/freescale/ls1012afrdm/Kconfig"
1804
source "board/freescale/lx2160a/Kconfig"
1805
source "board/freescale/mx35pdk/Kconfig"
1806
source "board/freescale/s32v234evb/Kconfig"
1807
source "board/grinn/chiliboard/Kconfig"
1808 1809
source "board/gumstix/pepper/Kconfig"
source "board/h2200/Kconfig"
1810
source "board/hisilicon/hikey/Kconfig"
1811
source "board/hisilicon/hikey960/Kconfig"
1812
source "board/hisilicon/poplar/Kconfig"
L
Ladislav Michl 已提交
1813
source "board/isee/igep003x/Kconfig"
1814 1815 1816 1817 1818 1819 1820
source "board/phytec/pcm051/Kconfig"
source "board/silica/pengwyn/Kconfig"
source "board/spear/spear300/Kconfig"
source "board/spear/spear310/Kconfig"
source "board/spear/spear320/Kconfig"
source "board/spear/spear600/Kconfig"
source "board/spear/x600/Kconfig"
1821
source "board/st/stv0991/Kconfig"
1822
source "board/tcl/sl50/Kconfig"
1823
source "board/ucRobotics/bubblegum_96/Kconfig"
1824
source "board/birdland/bav335x/Kconfig"
1825
source "board/toradex/colibri_pxa270/Kconfig"
1826
source "board/variscite/dart_6ul/Kconfig"
1827
source "board/vscom/baltos/Kconfig"
1828
source "board/woodburn/Kconfig"
1829
source "board/xilinx/Kconfig"
1830
source "board/xilinx/zynq/Kconfig"
1831
source "board/xilinx/zynqmp/Kconfig"
1832

1833 1834
source "arch/arm/Kconfig.debug"

1835
endmenu
1836 1837

config SPL_LDSCRIPT
1838 1839
	default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if (ARCH_MX23 || ARCH_MX28) && !SPL_FRAMEWORK
	default "arch/arm/cpu/arm1136/u-boot-spl.lds" if CPU_ARM1136
1840 1841 1842
	default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64