2014-07-30 05:08:14 +00:00
|
|
|
menu "ARM architecture"
|
|
|
|
depends on ARM
|
|
|
|
|
|
|
|
config SYS_ARCH
|
|
|
|
default "arm"
|
|
|
|
|
2014-09-13 18:01:51 +00:00
|
|
|
config ARM64
|
|
|
|
bool
|
2016-07-25 10:56:03 +00:00
|
|
|
select PHYS_64BIT
|
2016-08-22 12:22:17 +00:00
|
|
|
select SYS_CACHE_SHIFT_6
|
2022-04-12 14:59:04 +00:00
|
|
|
imply SPL_SEPARATE_BSS
|
2014-09-13 18:01:51 +00:00
|
|
|
|
2021-08-30 13:05:23 +00:00
|
|
|
config ARM64_CRC32
|
|
|
|
bool "Enable support for CRC32 instruction"
|
|
|
|
depends on ARM64
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
ARMv8 implements dedicated crc32 instruction for crc32 calculation.
|
|
|
|
This is faster than software crc32 calculation. This instruction may
|
|
|
|
not be present on all ARMv8.0, but is always present on ARMv8.1 and
|
|
|
|
newer.
|
|
|
|
|
2022-04-13 09:47:18 +00:00
|
|
|
config COUNTER_FREQUENCY
|
|
|
|
int "Timer clock frequency"
|
|
|
|
depends on ARM64 || CPU_V7A
|
2022-04-13 09:47:19 +00:00
|
|
|
default 8000000 if IMX8 || MX7 || MX6UL || MX6ULL
|
|
|
|
default 24000000 if ARCH_SUNXI || ARCH_EXYNOS || ROCKCHIP_RK3128 || \
|
|
|
|
ROCKCHIP_RK3288 || ROCKCHIP_RK322X || ROCKCHIP_RK3036
|
|
|
|
default 25000000 if ARCH_LX2160A || ARCH_LX2162A || ARCH_LS1088A
|
|
|
|
default 100000000 if ARCH_ZYNQMP
|
2022-04-13 09:47:18 +00:00
|
|
|
default 0
|
|
|
|
help
|
|
|
|
For platforms with ARMv8-A and ARMv7-A which features a system
|
|
|
|
counter, those platforms needs software to program the counter
|
|
|
|
frequency. Setup time clock frequency for certain platform.
|
|
|
|
0 means no need to configure the system counter frequency.
|
|
|
|
For platforms needs the frequency set in U-Boot with a
|
|
|
|
pre-defined value, should have the macro defined as a non-zero value.
|
|
|
|
|
2017-11-03 00:11:27 +00:00
|
|
|
config POSITION_INDEPENDENT
|
|
|
|
bool "Generate position-independent pre-relocation code"
|
2021-08-03 02:50:10 +00:00
|
|
|
depends on ARM64 || CPU_V7A
|
2017-11-03 00:11:27 +00:00
|
|
|
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
|
2020-09-09 17:07:24 +00:00
|
|
|
restriction, thus allowing the code to be loaded to and executed from
|
|
|
|
almost any 4K aligned address. This logic relies on the relocation
|
2019-12-25 11:34:07 +00:00
|
|
|
information that is embedded in the binary to support U-Boot
|
2017-11-03 00:11:27 +00:00
|
|
|
relocating itself to the top-of-RAM later during execution.
|
2017-12-20 01:30:36 +00:00
|
|
|
|
2019-06-26 04:51:46 +00:00
|
|
|
config INIT_SP_RELATIVE
|
|
|
|
bool "Specify the early stack pointer relative to the .bss section"
|
2021-08-03 02:50:09 +00:00
|
|
|
depends on ARM64
|
2020-09-30 16:39:18 +00:00
|
|
|
default n if ARCH_QEMU
|
2020-09-30 16:39:15 +00:00
|
|
|
default y if POSITION_INDEPENDENT
|
2017-12-20 01:30:36 +00:00
|
|
|
help
|
|
|
|
U-Boot typically uses a hard-coded value for the stack pointer
|
2019-06-26 04:51:46 +00:00
|
|
|
before relocation. Enable this option to instead calculate the
|
2017-12-20 01:30:36 +00:00
|
|
|
initial SP at run-time. This is useful to avoid hard-coding addresses
|
2019-12-25 11:34:07 +00:00
|
|
|
into U-Boot, so that it can be loaded and executed at arbitrary
|
2019-06-26 04:51:46 +00:00
|
|
|
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"
|
2021-08-03 02:50:09 +00:00
|
|
|
depends on ARM64
|
2019-06-26 04:51:46 +00:00
|
|
|
depends on INIT_SP_RELATIVE
|
|
|
|
default 524288
|
|
|
|
help
|
|
|
|
This option's value is the offset added to &_bss_start in order to
|
2017-12-20 01:30:36 +00:00
|
|
|
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.
|
2018-01-03 21:31:51 +00:00
|
|
|
|
2022-04-06 14:20:18 +00:00
|
|
|
config SPL_SYS_NO_VECTOR_TABLE
|
|
|
|
depends on SPL
|
|
|
|
bool
|
|
|
|
|
2018-01-03 21:31:51 +00:00
|
|
|
config LINUX_KERNEL_IMAGE_HEADER
|
2021-08-03 02:50:09 +00:00
|
|
|
depends on ARM64
|
2018-01-03 21:31:51 +00:00
|
|
|
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.
|
|
|
|
|
|
|
|
config LNX_KRNL_IMG_TEXT_OFFSET_BASE
|
2021-08-03 02:50:09 +00:00
|
|
|
depends on LINUX_KERNEL_IMAGE_HEADER
|
2018-01-03 21:31:51 +00:00
|
|
|
hex
|
|
|
|
help
|
|
|
|
The value subtracted from CONFIG_SYS_TEXT_BASE to calculate the
|
2019-12-25 11:34:07 +00:00
|
|
|
TEXT_OFFSET value written to the Linux kernel image header.
|
2017-11-03 00:11:27 +00:00
|
|
|
|
2021-08-19 18:19:39 +00:00
|
|
|
config GICV2
|
|
|
|
bool
|
|
|
|
|
|
|
|
config GICV3
|
|
|
|
bool
|
|
|
|
|
2019-12-16 17:09:43 +00:00
|
|
|
config GIC_V3_ITS
|
|
|
|
bool "ARM GICV3 ITS"
|
2021-03-08 15:48:14 +00:00
|
|
|
select IRQ
|
2019-12-16 17:09:43 +00:00
|
|
|
help
|
|
|
|
ARM GICV3 Interrupt translation service (ITS).
|
|
|
|
Basic support for programming locality specific peripheral
|
|
|
|
interrupts (LPI) configuration tables and enable LPI tables.
|
|
|
|
LPI configuration table can be used by u-boot or Linux.
|
|
|
|
ARM GICV3 has limitation, once the LPI table is enabled, LPI
|
|
|
|
configuration table can not be re-programmed, unless GICV3 reset.
|
|
|
|
|
2017-11-03 00:11:27 +00:00
|
|
|
config STATIC_RELA
|
|
|
|
bool
|
2020-09-30 16:39:13 +00:00
|
|
|
default y if ARM64
|
2017-11-03 00:11:27 +00:00
|
|
|
|
2016-03-24 10:32:00 +00:00
|
|
|
config DMA_ADDR_T_64BIT
|
|
|
|
bool
|
|
|
|
default y if ARM64
|
|
|
|
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
config HAS_VBAR
|
2016-08-22 12:22:18 +00:00
|
|
|
bool
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
|
2015-10-23 16:06:40 +00:00
|
|
|
config HAS_THUMB2
|
2016-08-22 12:22:18 +00:00
|
|
|
bool
|
2015-10-23 16:06:40 +00:00
|
|
|
|
2021-06-04 09:43:55 +00:00
|
|
|
config GPIO_EXTRA_HEADER
|
|
|
|
bool
|
|
|
|
|
2017-06-01 06:33:28 +00:00
|
|
|
# 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
|
|
|
|
|
2019-05-03 13:40:59 +00:00
|
|
|
config SYS_ICACHE_OFF
|
|
|
|
bool "Do not enable icache"
|
|
|
|
help
|
|
|
|
Do not enable instruction cache in U-Boot.
|
|
|
|
|
2019-05-03 13:41:00 +00:00
|
|
|
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.
|
|
|
|
|
2019-05-03 13:40:59 +00:00
|
|
|
config SYS_DCACHE_OFF
|
|
|
|
bool "Do not enable dcache"
|
|
|
|
help
|
|
|
|
Do not enable data cache in U-Boot.
|
|
|
|
|
2019-05-03 13:41:00 +00:00
|
|
|
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.
|
|
|
|
|
2018-04-26 12:51:28 +00:00
|
|
|
config SYS_ARM_CACHE_CP15
|
|
|
|
bool "CP15 based cache enabling support"
|
|
|
|
help
|
|
|
|
Select this if your processor suports enabling caches by using
|
|
|
|
CP15 registers.
|
|
|
|
|
2018-04-26 12:51:27 +00:00
|
|
|
config SYS_ARM_MMU
|
|
|
|
bool "MMU-based Paged Memory Management Support"
|
2018-04-26 12:51:28 +00:00
|
|
|
select SYS_ARM_CACHE_CP15
|
2018-04-26 12:51:27 +00:00
|
|
|
help
|
|
|
|
Select if you want MMU-based virtualised addressing space
|
2019-12-25 11:34:07 +00:00
|
|
|
support via paged memory management.
|
2018-04-26 12:51:27 +00:00
|
|
|
|
2018-04-26 12:51:30 +00:00
|
|
|
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.
|
|
|
|
|
2017-03-07 12:13:42 +00:00
|
|
|
# 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
|
2019-12-25 11:34:07 +00:00
|
|
|
# the following can be machine-specific errata. These do have ability to
|
|
|
|
# provide rudimentary version and machine-specific checks, but expect no
|
2017-03-07 12:13:42 +00:00
|
|
|
# product checks:
|
|
|
|
# CONFIG_ARM_ERRATA_430973
|
|
|
|
# CONFIG_ARM_ERRATA_454179
|
|
|
|
# CONFIG_ARM_ERRATA_621766
|
|
|
|
# CONFIG_ARM_ERRATA_798870
|
|
|
|
# CONFIG_ARM_ERRATA_801819
|
2018-06-12 20:24:08 +00:00
|
|
|
# CONFIG_ARM_CORTEX_A8_CVE_2017_5715
|
2018-06-12 20:24:09 +00:00
|
|
|
# CONFIG_ARM_CORTEX_A15_CVE_2017_5715
|
2018-06-12 20:24:08 +00:00
|
|
|
|
2017-03-07 12:13:42 +00:00
|
|
|
config ARM_ERRATA_430973
|
|
|
|
bool
|
|
|
|
|
|
|
|
config ARM_ERRATA_454179
|
|
|
|
bool
|
|
|
|
|
|
|
|
config ARM_ERRATA_621766
|
|
|
|
bool
|
|
|
|
|
|
|
|
config ARM_ERRATA_716044
|
|
|
|
bool
|
|
|
|
|
2017-03-06 01:16:53 +00:00
|
|
|
config ARM_ERRATA_725233
|
|
|
|
bool
|
|
|
|
|
2017-03-07 12:13:42 +00:00
|
|
|
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
|
|
|
|
|
2017-08-08 05:34:52 +00:00
|
|
|
config ARM_ERRATA_845369
|
2018-07-23 13:55:12 +00:00
|
|
|
bool
|
2017-08-08 05:34:52 +00:00
|
|
|
|
2017-04-26 21:18:01 +00:00
|
|
|
config ARM_ERRATA_852421
|
|
|
|
bool
|
|
|
|
|
|
|
|
config ARM_ERRATA_852423
|
|
|
|
bool
|
|
|
|
|
2017-12-28 05:00:55 +00:00
|
|
|
config ARM_ERRATA_855873
|
|
|
|
bool
|
|
|
|
|
2018-06-12 20:24:08 +00:00
|
|
|
config ARM_CORTEX_A8_CVE_2017_5715
|
|
|
|
bool
|
|
|
|
|
2018-06-12 20:24:09 +00:00
|
|
|
config ARM_CORTEX_A15_CVE_2017_5715
|
|
|
|
bool
|
|
|
|
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
config CPU_ARM720T
|
2016-08-22 12:22:18 +00:00
|
|
|
bool
|
2016-08-22 12:22:17 +00:00
|
|
|
select SYS_CACHE_SHIFT_5
|
2018-04-26 12:51:27 +00:00
|
|
|
imply SYS_ARM_MMU
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
|
|
|
|
config CPU_ARM920T
|
2016-08-22 12:22:18 +00:00
|
|
|
bool
|
2016-08-22 12:22:17 +00:00
|
|
|
select SYS_CACHE_SHIFT_5
|
2018-04-26 12:51:27 +00:00
|
|
|
imply SYS_ARM_MMU
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
|
|
|
|
config CPU_ARM926EJS
|
2016-08-22 12:22:18 +00:00
|
|
|
bool
|
2016-08-22 12:22:17 +00:00
|
|
|
select SYS_CACHE_SHIFT_5
|
2018-04-26 12:51:27 +00:00
|
|
|
imply SYS_ARM_MMU
|
2022-04-12 14:59:04 +00:00
|
|
|
imply SPL_SEPARATE_BSS
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
|
|
|
|
config CPU_ARM946ES
|
2016-08-22 12:22:18 +00:00
|
|
|
bool
|
2016-08-22 12:22:17 +00:00
|
|
|
select SYS_CACHE_SHIFT_5
|
2018-04-26 12:51:27 +00:00
|
|
|
imply SYS_ARM_MMU
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
|
|
|
|
config CPU_ARM1136
|
2016-08-22 12:22:18 +00:00
|
|
|
bool
|
2016-08-22 12:22:17 +00:00
|
|
|
select SYS_CACHE_SHIFT_5
|
2018-04-26 12:51:27 +00:00
|
|
|
imply SYS_ARM_MMU
|
2022-04-12 14:59:04 +00:00
|
|
|
imply SPL_SEPARATE_BSS
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
|
|
|
|
config CPU_ARM1176
|
2016-08-22 12:22:18 +00:00
|
|
|
bool
|
|
|
|
select HAS_VBAR
|
2016-08-22 12:22:17 +00:00
|
|
|
select SYS_CACHE_SHIFT_5
|
2018-04-26 12:51:27 +00:00
|
|
|
imply SYS_ARM_MMU
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
|
2018-04-26 12:51:26 +00:00
|
|
|
config CPU_V7A
|
2016-08-22 12:22:18 +00:00
|
|
|
bool
|
|
|
|
select HAS_THUMB2
|
2018-07-23 13:55:13 +00:00
|
|
|
select HAS_VBAR
|
2016-08-22 12:22:17 +00:00
|
|
|
select SYS_CACHE_SHIFT_6
|
2018-04-26 12:51:27 +00:00
|
|
|
imply SYS_ARM_MMU
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
|
2015-03-01 11:44:39 +00:00
|
|
|
config CPU_V7M
|
|
|
|
bool
|
2016-08-22 12:22:18 +00:00
|
|
|
select HAS_THUMB2
|
2018-04-26 12:51:30 +00:00
|
|
|
select SYS_ARM_MPU
|
2018-07-23 13:55:13 +00:00
|
|
|
select SYS_CACHE_SHIFT_5
|
2018-05-08 00:46:52 +00:00
|
|
|
select SYS_THUMB_BUILD
|
2018-07-23 13:55:13 +00:00
|
|
|
select THUMB2_KERNEL
|
2015-03-01 11:44:39 +00:00
|
|
|
|
2018-04-26 12:51:29 +00:00
|
|
|
config CPU_V7R
|
|
|
|
bool
|
|
|
|
select HAS_THUMB2
|
2018-04-26 12:51:30 +00:00
|
|
|
select SYS_ARM_CACHE_CP15
|
2018-07-23 13:55:13 +00:00
|
|
|
select SYS_ARM_MPU
|
|
|
|
select SYS_CACHE_SHIFT_6
|
2018-04-26 12:51:29 +00:00
|
|
|
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
config CPU_PXA
|
2016-08-22 12:22:18 +00:00
|
|
|
bool
|
2016-08-22 12:22:17 +00:00
|
|
|
select SYS_CACHE_SHIFT_5
|
2018-04-26 12:51:27 +00:00
|
|
|
imply SYS_ARM_MMU
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
|
2021-12-17 23:08:40 +00:00
|
|
|
config CPU_PXA27X
|
|
|
|
bool
|
|
|
|
select CPU_PXA
|
|
|
|
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
config CPU_SA1100
|
2016-08-22 12:22:18 +00:00
|
|
|
bool
|
2016-08-22 12:22:17 +00:00
|
|
|
select SYS_CACHE_SHIFT_5
|
2018-04-26 12:51:27 +00:00
|
|
|
imply SYS_ARM_MMU
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
|
|
|
|
config SYS_CPU
|
2016-08-22 12:22:18 +00:00
|
|
|
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
|
2018-04-26 12:51:26 +00:00
|
|
|
default "armv7" if CPU_V7A
|
2018-04-26 12:51:29 +00:00
|
|
|
default "armv7" if CPU_V7R
|
2016-08-22 12:22:18 +00:00
|
|
|
default "armv7m" if CPU_V7M
|
|
|
|
default "pxa" if CPU_PXA
|
|
|
|
default "sa1100" if CPU_SA1100
|
2014-11-06 02:39:27 +00:00
|
|
|
default "armv8" if ARM64
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
|
2016-05-26 16:01:36 +00:00
|
|
|
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
|
2018-04-26 12:51:26 +00:00
|
|
|
default 7 if CPU_V7A
|
2016-05-26 16:01:36 +00:00
|
|
|
default 7 if CPU_V7M
|
2018-04-26 12:51:29 +00:00
|
|
|
default 7 if CPU_V7R
|
2016-05-26 16:01:36 +00:00
|
|
|
default 5 if CPU_PXA
|
|
|
|
default 4 if CPU_SA1100
|
|
|
|
default 8 if ARM64
|
|
|
|
|
2020-04-10 14:02:02 +00:00
|
|
|
choice
|
|
|
|
prompt "Select the ARM data write cache policy"
|
|
|
|
default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS || \
|
2021-02-21 01:05:57 +00:00
|
|
|
CPU_PXA || RZA1
|
2020-04-10 14:02:02 +00:00
|
|
|
default SYS_ARM_CACHE_WRITEBACK
|
|
|
|
|
|
|
|
config SYS_ARM_CACHE_WRITEBACK
|
|
|
|
bool "Write-back (WB)"
|
|
|
|
help
|
|
|
|
A write updates the cache only and marks the cache line as dirty.
|
|
|
|
External memory is updated only when the line is evicted or explicitly
|
|
|
|
cleaned.
|
|
|
|
|
|
|
|
config SYS_ARM_CACHE_WRITETHROUGH
|
|
|
|
bool "Write-through (WT)"
|
|
|
|
help
|
|
|
|
A write updates both the cache and the external memory system.
|
|
|
|
This does not mark the cache line as dirty.
|
|
|
|
|
|
|
|
config SYS_ARM_CACHE_WRITEALLOC
|
|
|
|
bool "Write allocation (WA)"
|
|
|
|
help
|
|
|
|
A cache line is allocated on a write miss. This means that executing a
|
|
|
|
store instruction on the processor might cause a burst read to occur.
|
|
|
|
There is a linefill to obtain the data for the cache line, before the
|
|
|
|
write is performed.
|
|
|
|
endchoice
|
|
|
|
|
2019-08-14 13:29:25 +00:00
|
|
|
config ARCH_CPU_INIT
|
|
|
|
bool "Enable ARCH_CPU_INIT"
|
|
|
|
help
|
2019-12-25 11:34:07 +00:00
|
|
|
Some architectures require a call to arch_cpu_init().
|
2019-08-14 13:29:25 +00:00
|
|
|
Say Y here to enable it
|
|
|
|
|
2018-04-12 01:24:46 +00:00
|
|
|
config SYS_ARCH_TIMER
|
|
|
|
bool "ARM Generic Timer support"
|
2018-04-26 12:51:26 +00:00
|
|
|
depends on CPU_V7A || ARM64
|
2018-04-12 01:24:46 +00:00
|
|
|
default y if ARM64
|
|
|
|
help
|
|
|
|
The ARM Generic Timer (aka arch-timer) provides an architected
|
|
|
|
interface to a timer source on an SoC.
|
2019-12-25 11:34:07 +00:00
|
|
|
It is mandatory for ARMv8 implementation and widely available
|
2018-04-12 01:24:46 +00:00
|
|
|
on ARMv7 systems.
|
|
|
|
|
2017-04-14 02:10:23 +00:00
|
|
|
config ARM_SMCCC
|
|
|
|
bool "Support for ARM SMC Calling Convention (SMCCC)"
|
2018-04-26 12:51:26 +00:00
|
|
|
depends on CPU_V7A || ARM64
|
2017-04-14 02:10:24 +00:00
|
|
|
select ARM_PSCI_FW
|
2017-04-14 02:10:23 +00:00
|
|
|
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.
|
|
|
|
|
2015-01-23 10:50:53 +00:00
|
|
|
config SEMIHOSTING
|
spl: Add semihosting boot method
This adds a boot method for loading the next stage from the host. It is
mostly modeled off of spl_load_image_ext. I am not really sure why/how
spl_load_image_fat uses three different methods to load the image, but
the simple case seems to work OK for now.
To control the presence of this boot method, we add a config symbol.
While we're at it, we update the original semihosting config symbol.
I think semihosting has some advantages of other forms of JTAG boot.
Common other ways to boot from JTAG include:
- Implementing DDR initialization through JTAG (typically with dozens of
lines of TCL) and then loading U-Boot. The DDR initialization
typically uses hard-coded register writes, and is not easily adapted
to different boards. BOOT_DEVICE_SMH allows booting with SPL,
leveraging U-Boot's existing DDR initialization code. This is the
method used by NXP's CodeWarrior IDE on Layerscape processors (see
AN12270).
- Loading a bootloader into SDRAM, waiting for it to initialize DDR, and
then loading U-Boot. This is tricky, because the debugger must stop the
boot after the bootloader has completed its work. Trying to load
U-Boot too early can cause failure to boot. This is the method used by
Xilinx with its Zynq(MP) processors.
- Loading SPL with BOOT_DEVICE_RAM and breaking before SPL loads the
image to load U-Boot at the appropriate place. This can be a bit
tricky, because the load address is dependent on the header size. An
elf with symbols must also be used in order to stop at the appropriate
point. BOOT_DEVICE_SMH can be viewed as an extension of this process,
where SPL automatically stops and tells the host where to place the
image.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
2022-03-22 20:59:19 +00:00
|
|
|
bool "Support ARM semihosting"
|
2015-01-23 10:50:53 +00:00
|
|
|
help
|
spl: Add semihosting boot method
This adds a boot method for loading the next stage from the host. It is
mostly modeled off of spl_load_image_ext. I am not really sure why/how
spl_load_image_fat uses three different methods to load the image, but
the simple case seems to work OK for now.
To control the presence of this boot method, we add a config symbol.
While we're at it, we update the original semihosting config symbol.
I think semihosting has some advantages of other forms of JTAG boot.
Common other ways to boot from JTAG include:
- Implementing DDR initialization through JTAG (typically with dozens of
lines of TCL) and then loading U-Boot. The DDR initialization
typically uses hard-coded register writes, and is not easily adapted
to different boards. BOOT_DEVICE_SMH allows booting with SPL,
leveraging U-Boot's existing DDR initialization code. This is the
method used by NXP's CodeWarrior IDE on Layerscape processors (see
AN12270).
- Loading a bootloader into SDRAM, waiting for it to initialize DDR, and
then loading U-Boot. This is tricky, because the debugger must stop the
boot after the bootloader has completed its work. Trying to load
U-Boot too early can cause failure to boot. This is the method used by
Xilinx with its Zynq(MP) processors.
- Loading SPL with BOOT_DEVICE_RAM and breaking before SPL loads the
image to load U-Boot at the appropriate place. This can be a bit
tricky, because the load address is dependent on the header size. An
elf with symbols must also be used in order to stop at the appropriate
point. BOOT_DEVICE_SMH can be viewed as an extension of this process,
where SPL automatically stops and tells the host where to place the
image.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
2022-03-22 20:59:19 +00:00
|
|
|
Semihosting is a method for a target to communicate with a host
|
|
|
|
debugger. It uses special instructions which the debugger will trap
|
|
|
|
on and interpret. This allows U-Boot to read/write files, print to
|
|
|
|
the console, and execute arbitrary commands on the host system.
|
|
|
|
|
|
|
|
Enabling this option will add support for reading and writing files
|
|
|
|
on the host system. If you don't have a debugger attached then trying
|
|
|
|
to do this will likely cause U-Boot to hang. Say 'n' if you are unsure.
|
|
|
|
|
2022-03-22 20:59:30 +00:00
|
|
|
config SEMIHOSTING_FALLBACK
|
|
|
|
bool "Recover gracefully when semihosting fails"
|
|
|
|
depends on SEMIHOSTING && ARM64
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Normally, if U-Boot makes a semihosting call and no debugger is
|
|
|
|
attached, then it will panic due to a synchronous abort
|
|
|
|
exception. This config adds an exception handler which will allow
|
|
|
|
U-Boot to recover. Say 'y' if unsure.
|
|
|
|
|
spl: Add semihosting boot method
This adds a boot method for loading the next stage from the host. It is
mostly modeled off of spl_load_image_ext. I am not really sure why/how
spl_load_image_fat uses three different methods to load the image, but
the simple case seems to work OK for now.
To control the presence of this boot method, we add a config symbol.
While we're at it, we update the original semihosting config symbol.
I think semihosting has some advantages of other forms of JTAG boot.
Common other ways to boot from JTAG include:
- Implementing DDR initialization through JTAG (typically with dozens of
lines of TCL) and then loading U-Boot. The DDR initialization
typically uses hard-coded register writes, and is not easily adapted
to different boards. BOOT_DEVICE_SMH allows booting with SPL,
leveraging U-Boot's existing DDR initialization code. This is the
method used by NXP's CodeWarrior IDE on Layerscape processors (see
AN12270).
- Loading a bootloader into SDRAM, waiting for it to initialize DDR, and
then loading U-Boot. This is tricky, because the debugger must stop the
boot after the bootloader has completed its work. Trying to load
U-Boot too early can cause failure to boot. This is the method used by
Xilinx with its Zynq(MP) processors.
- Loading SPL with BOOT_DEVICE_RAM and breaking before SPL loads the
image to load U-Boot at the appropriate place. This can be a bit
tricky, because the load address is dependent on the header size. An
elf with symbols must also be used in order to stop at the appropriate
point. BOOT_DEVICE_SMH can be viewed as an extension of this process,
where SPL automatically stops and tells the host where to place the
image.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
2022-03-22 20:59:19 +00:00
|
|
|
config SPL_SEMIHOSTING
|
|
|
|
bool "Support ARM semihosting in SPL"
|
|
|
|
depends on SPL
|
|
|
|
help
|
|
|
|
Semihosting is a method for a target to communicate with a host
|
|
|
|
debugger. It uses special instructions which the debugger will trap
|
|
|
|
on and interpret. This allows U-Boot to read/write files, print to
|
|
|
|
the console, and execute arbitrary commands on the host system.
|
|
|
|
|
|
|
|
Enabling this option will add support for reading and writing files
|
|
|
|
on the host system. If you don't have a debugger attached then trying
|
|
|
|
to do this will likely cause U-Boot to hang. Say 'n' if you are unsure.
|
2015-01-23 10:50:53 +00:00
|
|
|
|
2022-03-22 20:59:30 +00:00
|
|
|
config SPL_SEMIHOSTING_FALLBACK
|
|
|
|
bool "Recover gracefully when semihosting fails in SPL"
|
|
|
|
depends on SPL_SEMIHOSTING && ARM64
|
|
|
|
select ARMV8_SPL_EXCEPTION_VECTORS
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Normally, if U-Boot makes a semihosting call and no debugger is
|
|
|
|
attached, then it will panic due to a synchronous abort
|
|
|
|
exception. This config adds an exception handler which will allow
|
|
|
|
U-Boot to recover. Say 'y' if unsure.
|
|
|
|
|
2017-03-18 13:01:44 +00:00
|
|
|
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
|
2019-08-13 19:32:30 +00:00
|
|
|
depends on !ARM64 && SPL
|
2017-03-18 13:01:44 +00:00
|
|
|
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.
|
|
|
|
|
2019-04-02 12:41:20 +00:00
|
|
|
config TPL_SYS_THUMB_BUILD
|
|
|
|
bool "Build TPL using the Thumb instruction set"
|
|
|
|
default y if SYS_THUMB_BUILD
|
|
|
|
depends on TPL && !ARM64
|
|
|
|
help
|
2019-12-25 11:34:07 +00:00
|
|
|
Use this flag to build TPL using the Thumb instruction set for
|
2019-04-02 12:41:20 +00:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
2015-08-19 07:48:57 +00:00
|
|
|
config SYS_L2CACHE_OFF
|
|
|
|
bool "L2cache off"
|
|
|
|
help
|
2019-12-25 11:34:07 +00:00
|
|
|
If SoC does not support L2CACHE or one does not want to enable
|
2015-08-19 07:48:57 +00:00
|
|
|
L2CACHE, choose this option.
|
|
|
|
|
2016-05-31 17:45:06 +00:00
|
|
|
config ENABLE_ARM_SOC_BOOT0_HOOK
|
|
|
|
bool "prepare BOOT0 header"
|
|
|
|
help
|
|
|
|
If the SoC's BOOT0 requires a header area filled with (magic)
|
2018-02-13 12:18:00 +00:00
|
|
|
values, then choose this option, and create a file included as
|
|
|
|
<asm/arch/boot0.h> which contains the required assembler code.
|
2016-05-31 17:45:06 +00:00
|
|
|
|
2016-12-15 21:30:40 +00:00
|
|
|
config USE_ARCH_MEMCPY
|
|
|
|
bool "Use an assembly optimized implementation of memcpy"
|
2021-09-02 15:00:19 +00:00
|
|
|
default y if !ARM64
|
|
|
|
depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
|
2017-01-12 18:16:02 +00:00
|
|
|
help
|
|
|
|
Enable the generation of an optimized version of memcpy.
|
2019-12-25 11:34:07 +00:00
|
|
|
Such an implementation may be faster under some conditions
|
2017-01-12 18:16:02 +00:00
|
|
|
but may increase the binary size.
|
|
|
|
|
|
|
|
config SPL_USE_ARCH_MEMCPY
|
2017-06-28 08:27:37 +00:00
|
|
|
bool "Use an assembly optimized implementation of memcpy for SPL"
|
2017-01-12 18:16:02 +00:00
|
|
|
default y if USE_ARCH_MEMCPY
|
2021-09-02 15:00:19 +00:00
|
|
|
depends on SPL
|
2016-12-15 21:30:40 +00:00
|
|
|
help
|
|
|
|
Enable the generation of an optimized version of memcpy.
|
2019-12-25 11:34:07 +00:00
|
|
|
Such an implementation may be faster under some conditions
|
2016-12-15 21:30:40 +00:00
|
|
|
but may increase the binary size.
|
|
|
|
|
2019-04-02 12:41:20 +00:00
|
|
|
config TPL_USE_ARCH_MEMCPY
|
|
|
|
bool "Use an assembly optimized implementation of memcpy for TPL"
|
|
|
|
default y if USE_ARCH_MEMCPY
|
2021-09-02 15:00:19 +00:00
|
|
|
depends on TPL
|
2019-04-02 12:41:20 +00:00
|
|
|
help
|
|
|
|
Enable the generation of an optimized version of memcpy.
|
2019-12-25 11:34:07 +00:00
|
|
|
Such an implementation may be faster under some conditions
|
2019-04-02 12:41:20 +00:00
|
|
|
but may increase the binary size.
|
|
|
|
|
2021-09-02 15:00:19 +00:00
|
|
|
config USE_ARCH_MEMMOVE
|
|
|
|
bool "Use an assembly optimized implementation of memmove" if !ARM64
|
|
|
|
default USE_ARCH_MEMCPY if ARM64
|
|
|
|
depends on ARM64
|
|
|
|
help
|
|
|
|
Enable the generation of an optimized version of memmove.
|
|
|
|
Such an implementation may be faster under some conditions
|
|
|
|
but may increase the binary size.
|
|
|
|
|
|
|
|
config SPL_USE_ARCH_MEMMOVE
|
|
|
|
bool "Use an assembly optimized implementation of memmove for SPL" if !ARM64
|
|
|
|
default SPL_USE_ARCH_MEMCPY if ARM64
|
|
|
|
depends on SPL && ARM64
|
|
|
|
help
|
|
|
|
Enable the generation of an optimized version of memmove.
|
|
|
|
Such an implementation may be faster under some conditions
|
|
|
|
but may increase the binary size.
|
|
|
|
|
|
|
|
config TPL_USE_ARCH_MEMMOVE
|
|
|
|
bool "Use an assembly optimized implementation of memmove for TPL" if !ARM64
|
|
|
|
default TPL_USE_ARCH_MEMCPY if ARM64
|
|
|
|
depends on TPL && ARM64
|
|
|
|
help
|
|
|
|
Enable the generation of an optimized version of memmove.
|
|
|
|
Such an implementation may be faster under some conditions
|
|
|
|
but may increase the binary size.
|
|
|
|
|
2016-12-15 21:30:40 +00:00
|
|
|
config USE_ARCH_MEMSET
|
|
|
|
bool "Use an assembly optimized implementation of memset"
|
2021-09-02 15:00:19 +00:00
|
|
|
default y if !ARM64
|
|
|
|
depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
|
2017-01-12 18:16:02 +00:00
|
|
|
help
|
|
|
|
Enable the generation of an optimized version of memset.
|
2019-12-25 11:34:07 +00:00
|
|
|
Such an implementation may be faster under some conditions
|
2017-01-12 18:16:02 +00:00
|
|
|
but may increase the binary size.
|
|
|
|
|
|
|
|
config SPL_USE_ARCH_MEMSET
|
2017-06-28 08:27:37 +00:00
|
|
|
bool "Use an assembly optimized implementation of memset for SPL"
|
2017-01-12 18:16:02 +00:00
|
|
|
default y if USE_ARCH_MEMSET
|
2021-09-02 15:00:19 +00:00
|
|
|
depends on SPL
|
2016-12-15 21:30:40 +00:00
|
|
|
help
|
|
|
|
Enable the generation of an optimized version of memset.
|
2019-12-25 11:34:07 +00:00
|
|
|
Such an implementation may be faster under some conditions
|
2016-12-15 21:30:40 +00:00
|
|
|
but may increase the binary size.
|
|
|
|
|
2019-04-02 12:41:20 +00:00
|
|
|
config TPL_USE_ARCH_MEMSET
|
|
|
|
bool "Use an assembly optimized implementation of memset for TPL"
|
|
|
|
default y if USE_ARCH_MEMSET
|
2021-09-02 15:00:19 +00:00
|
|
|
depends on TPL
|
2019-04-02 12:41:20 +00:00
|
|
|
help
|
|
|
|
Enable the generation of an optimized version of memset.
|
2019-12-25 11:34:07 +00:00
|
|
|
Such an implementation may be faster under some conditions
|
2019-04-02 12:41:20 +00:00
|
|
|
but may increase the binary size.
|
|
|
|
|
2016-11-10 02:49:03 +00:00
|
|
|
config ARM64_SUPPORT_AARCH32
|
|
|
|
bool "ARM64 system support AArch32 execution state"
|
2019-08-13 19:32:30 +00:00
|
|
|
depends on ARM64
|
|
|
|
default y if !TARGET_THUNDERX_88XX
|
2016-11-10 02:49:03 +00:00
|
|
|
help
|
|
|
|
This ARM64 system supports AArch32 execution state.
|
|
|
|
|
2014-07-30 05:08:14 +00:00
|
|
|
choice
|
|
|
|
prompt "Target select"
|
2015-08-31 01:19:30 +00:00
|
|
|
default TARGET_HIKEY
|
2014-07-30 05:08:14 +00:00
|
|
|
|
2015-02-20 08:04:01 +00:00
|
|
|
config ARCH_AT91
|
|
|
|
bool "Atmel AT91"
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-05-10 11:15:52 +00:00
|
|
|
select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
|
2020-06-05 08:43:36 +00:00
|
|
|
select SPL_SEPARATE_BSS if SPL
|
2014-07-30 05:08:14 +00:00
|
|
|
|
2014-08-30 22:11:01 +00:00
|
|
|
config ARCH_DAVINCI
|
|
|
|
bool "TI DaVinci"
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
select CPU_ARM926EJS
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2020-06-04 15:11:53 +00:00
|
|
|
select SPL_DM_SPI if SPL
|
2017-08-04 22:34:43 +00:00
|
|
|
imply CMD_SAVES
|
2014-08-30 22:11:01 +00:00
|
|
|
help
|
|
|
|
Support for TI's DaVinci platform.
|
2014-07-30 05:08:14 +00:00
|
|
|
|
2020-05-06 12:02:40 +00:00
|
|
|
config ARCH_KIRKWOOD
|
2014-08-30 22:10:59 +00:00
|
|
|
bool "Marvell Kirkwood"
|
2017-01-23 20:31:21 +00:00
|
|
|
select ARCH_MISC_INIT
|
2018-07-23 13:55:13 +00:00
|
|
|
select BOARD_EARLY_INIT_F
|
|
|
|
select CPU_ARM926EJS
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2014-07-30 05:08:14 +00:00
|
|
|
|
2015-08-25 11:18:38 +00:00
|
|
|
config ARCH_MVEBU
|
arm64: mvebu: Add basic support for the Marvell Armada 7K/8K SoC
Compared to the Armada 3700, the Armada 7K and 8K are much more on the
high-end side: they use a dual Cortex-A72 or a quad Cortex-A72, as
opposed to the Cortex-A53 for the Armada 3700.
The Armada 7K and 8K also use a fairly unique architecture, internally
they are composed of several components:
- One AP (Application Processor), which contains the processor itself
and a few core hardware blocks. The AP used in the Armada 7K and 8K
is called AP806, and is available in two configurations:
dual Cortex-A72 and quad Cortex-A72.
- One or two CP (Communication Processor), which contain most of the I/O
interfaces (SATA, PCIe, Ethernet, etc.). The 7K family chips have one
CP, while the 8K family chips integrate two CPs, providing two times
the number of I/O interfaces available in the CP.
The CP used in the 7K and 8K is called CP110.
All in all, this gives the following combinations:
- Armada 7020, which is a dual Cortex-A72 with one CP
- Armada 7040, which is a quad Cortex-A72 with one CP
- Armada 8020, which is a dual Cortex-A72 with two CPs
- Armada 8040, which is a quad Cortex-A72 with two CPs
This patch adds basic support for this ARMv8 based SoC into U-Boot.
Future patches will integrate other device drivers and board support,
starting with the Marvell DB-88F7040 development board.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Nadav Haklai <nadavh@marvell.com>
Cc: Neta Zur Hershkovits <neta@marvell.com>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Omri Itach <omrii@marvell.com>
Cc: Igal Liberman <igall@marvell.com>
Cc: Haim Boot <hayim@marvell.com>
Cc: Hanna Hawa <hannah@marvell.com>
2016-05-25 06:13:45 +00:00
|
|
|
bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
|
2015-09-01 09:27:52 +00:00
|
|
|
select DM
|
2015-11-19 06:46:15 +00:00
|
|
|
select DM_ETH
|
2015-09-02 06:41:41 +00:00
|
|
|
select DM_SERIAL
|
2015-11-20 12:51:57 +00:00
|
|
|
select DM_SPI
|
|
|
|
select DM_SPI_FLASH
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2020-06-04 15:11:53 +00:00
|
|
|
select SPL_DM_SPI if SPL
|
|
|
|
select SPL_DM_SPI_FLASH if SPL
|
2018-07-23 13:55:13 +00:00
|
|
|
select OF_CONTROL
|
|
|
|
select OF_SEPARATE
|
2018-04-15 17:51:26 +00:00
|
|
|
select SPI
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2014-10-22 10:13:19 +00:00
|
|
|
|
2020-05-06 12:02:38 +00:00
|
|
|
config ARCH_ORION5X
|
2014-08-30 22:11:06 +00:00
|
|
|
bool "Marvell Orion"
|
kconfig: arm: introduce symbol for ARM CPUs
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.
For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.
Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-10-28 22:16:09 +00:00
|
|
|
select CPU_ARM926EJS
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2022-04-12 14:59:04 +00:00
|
|
|
select SPL_SEPARATE_BSS if SPL
|
2014-07-30 05:08:14 +00:00
|
|
|
|
2014-11-18 18:42:22 +00:00
|
|
|
config TARGET_STV0991
|
|
|
|
bool "Support stv0991"
|
2018-04-26 12:51:26 +00:00
|
|
|
select CPU_V7A
|
2015-03-31 03:48:01 +00:00
|
|
|
select DM
|
|
|
|
select DM_SERIAL
|
2015-07-03 01:29:41 +00:00
|
|
|
select DM_SPI
|
|
|
|
select DM_SPI_FLASH
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-07-23 13:55:13 +00:00
|
|
|
select PL01X_SERIAL
|
2018-04-15 17:51:26 +00:00
|
|
|
select SPI
|
2015-07-03 01:29:41 +00:00
|
|
|
select SPI_FLASH
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2014-11-18 18:42:22 +00:00
|
|
|
|
2015-03-19 10:42:56 +00:00
|
|
|
config ARCH_BCM283X
|
|
|
|
bool "Broadcom BCM283X family"
|
dm: select CONFIG_DM* options
As mentioned in the previous commit, adding default values in each
Kconfig causes problems because it does not co-exist with the
"depends on" syntax. (Please note this is not a bug of Kconfig.)
We should not do so unless we have a special reason. Actually,
for CONFIG_DM*, we have no good reason to do so.
Generally, CONFIG_DM is not a user-configurable option. Once we
convert a driver into Driver Model, the board only works with Driver
Model, i.e. CONFIG_DM must be always enabled for that board.
So, using "select DM" is more suitable rather than allowing users to
modify it. Another good thing is, Kconfig warns unmet dependencies
for "select" syntax, so we easily notice bugs.
Actually, CONFIG_DM and other related options have been added
without consistency: some into arch/*/Kconfig, some into
board/*/Kconfig, and some into configs/*_defconfig.
This commit prefers "select" and cleans up the following issues.
[1] Never use "CONFIG_DM=n" in defconfig files
It is really rare to add "CONFIG_FOO=n" to disable CONFIG options.
It is more common to use "# CONFIG_FOO is not set". But here, we
do not even have to do it.
Less than half of OMAP3 boards have been converted to Driver Model.
Adding the default values to arch/arm/cpu/armv7/omap3/Kconfig is
weird. Instead, add "select DM" only to appropriate boards, which
eventually eliminates "CONFIG_DM=n", etc.
[2] Delete redundant CONFIGs
Sandbox sets CONFIG_DM in arch/sandbox/Kconfig and defines it again
in configs/sandbox_defconfig.
Likewise, OMAP3 sets CONFIG_DM arch/arm/cpu/armv7/omap3/Kconfig and
defines it also in omap3_beagle_defconfig and devkit8000_defconfig.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2015-03-31 03:47:53 +00:00
|
|
|
select DM
|
|
|
|
select DM_GPIO
|
2018-07-23 13:55:13 +00:00
|
|
|
select DM_SERIAL
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2016-09-26 12:26:51 +00:00
|
|
|
select OF_CONTROL
|
2018-01-25 11:05:52 +00:00
|
|
|
select PL01X_SERIAL
|
2018-01-29 12:57:20 +00:00
|
|
|
select SERIAL_SEARCH_ALL
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2017-06-02 15:03:50 +00:00
|
|
|
imply FAT_WRITE
|
2015-02-16 19:16:15 +00:00
|
|
|
|
2019-01-31 17:57:35 +00:00
|
|
|
config ARCH_BCM63158
|
|
|
|
bool "Broadcom BCM63158 family"
|
|
|
|
select DM
|
|
|
|
select OF_CONTROL
|
|
|
|
imply CMD_DM
|
|
|
|
|
2022-02-11 18:18:34 +00:00
|
|
|
config ARCH_BCM6753
|
|
|
|
bool "Broadcom BCM6753 family"
|
|
|
|
select CPU_V7A
|
|
|
|
select DM
|
|
|
|
select OF_CONTROL
|
|
|
|
imply CMD_DM
|
|
|
|
|
2020-01-07 19:14:10 +00:00
|
|
|
config ARCH_BCM68360
|
|
|
|
bool "Broadcom BCM68360 family"
|
|
|
|
select DM
|
|
|
|
select OF_CONTROL
|
|
|
|
imply CMD_DM
|
|
|
|
|
2018-10-11 16:31:58 +00:00
|
|
|
config ARCH_BCM6858
|
|
|
|
bool "Broadcom BCM6858 family"
|
|
|
|
select DM
|
|
|
|
select OF_CONTROL
|
|
|
|
imply CMD_DM
|
|
|
|
|
2018-06-08 21:59:45 +00:00
|
|
|
config ARCH_BCMSTB
|
|
|
|
bool "Broadcom BCM7XXX family"
|
|
|
|
select CPU_V7A
|
|
|
|
select DM
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-06-08 21:59:45 +00:00
|
|
|
select OF_CONTROL
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2021-12-17 03:59:36 +00:00
|
|
|
imply OF_HAS_PRIOR_STAGE
|
2018-06-08 21:59:45 +00:00
|
|
|
help
|
|
|
|
This enables support for Broadcom ARM-based set-top box
|
|
|
|
chipsets, including the 7445 family of chips.
|
|
|
|
|
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU.
vexpress_ca9x4 is seemingly the only board except for qemu_arm which
is able to run U-Boot correctly, using the `-M vexpress-a9` option to
QEMU. Building for qemu_arm and running qemu-system-arm with the `-M
virt` argument has a number of downsides, most importantly that it
only supports virtio storage drivers. This significantly reduces its
usefulness in testing memory card and Flash solutions, especially when
the tested images are from a third party source.
So therefore we reintroduce the vexpress_ca9x4 board in this commit,
with the explicit goal of using it with QEMU.
A number of differences to note from the original:
* Since the board was apparently unmaintained, I have now set myself
as the maintainer.
* The board has been converted to use the driver model, which was the
reason it was removed in the first place.
* The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed
in the same commit, are not necessary for the QEMU use case, and
have been omitted.
* An `mmc0` alias was introduced in the dts file. The mmc is not
detected correctly without this, now that it's based on the device
tree instead of the board's init function.
* A couple of other nodes were removed because they were problematic
when trying to run the UEFI bootmgr. Once again, the primary use
case here is QEMU, and these nodes are not needed for that to work.
* Unnecessary board init code has been removed, thanks to driver model
and device tree.
* `CONFIG_OF_EMBED` has been enabled. I know this goes against
recommended practice, but there doesn't seem to be any other way to
pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument
does not work, I suppose because U-Boot doesn't use the same
mechanics as the kernel when it's booting.
* Load addresses have been changed to fit QEMU use case.
People wanting to get a more detailed, yet somewhat isolated, diff
between this and the original, can run this command:
git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \
$( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD)
(Make sure to either check out this commit first, or replace HEAD with
the commit ID of this commit)
Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
2021-09-07 06:37:51 +00:00
|
|
|
config TARGET_VEXPRESS_CA9X4
|
|
|
|
bool "Support vexpress_ca9x4"
|
|
|
|
select CPU_V7A
|
|
|
|
select PL011_SERIAL
|
|
|
|
|
2014-11-11 19:32:18 +00:00
|
|
|
config TARGET_BCMCYGNUS
|
|
|
|
bool "Support bcmcygnus"
|
2018-04-26 12:51:26 +00:00
|
|
|
select CPU_V7A
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-07-23 13:55:13 +00:00
|
|
|
imply BCM_SF2_ETH
|
|
|
|
imply BCM_SF2_ETH_GMAC
|
2017-05-17 09:25:25 +00:00
|
|
|
imply CMD_HASH
|
2018-07-23 13:55:13 +00:00
|
|
|
imply CRC32_VERIFY
|
2017-06-02 15:03:50 +00:00
|
|
|
imply FAT_WRITE
|
2017-05-19 16:26:58 +00:00
|
|
|
imply HASH_VERIFY
|
2017-07-10 21:05:41 +00:00
|
|
|
imply NETDEVICES
|
2014-08-11 20:58:26 +00:00
|
|
|
|
2017-03-17 16:12:14 +00:00
|
|
|
config TARGET_BCMNS2
|
|
|
|
bool "Support Broadcom Northstar2"
|
|
|
|
select ARM64
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2017-03-17 16:12:14 +00:00
|
|
|
help
|
|
|
|
Support for Broadcom Northstar 2 SoCs. NS2 is a quad-core 64-bit
|
|
|
|
ARMv8 Cortex-A57 processors targeting a broad range of networking
|
2019-12-25 11:34:07 +00:00
|
|
|
applications.
|
2017-03-17 16:12:14 +00:00
|
|
|
|
2020-07-15 17:18:55 +00:00
|
|
|
config TARGET_BCMNS3
|
|
|
|
bool "Support Broadcom NS3"
|
|
|
|
select ARM64
|
|
|
|
select BOARD_LATE_INIT
|
|
|
|
help
|
|
|
|
Support for Broadcom Northstar 3 SoCs. NS3 is a octo-core 64-bit
|
|
|
|
ARMv8 Cortex-A72 processors targeting a broad range of networking
|
|
|
|
applications.
|
|
|
|
|
2014-08-30 22:11:00 +00:00
|
|
|
config ARCH_EXYNOS
|
|
|
|
bool "Samsung EXYNOS"
|
dm: select CONFIG_DM* options
As mentioned in the previous commit, adding default values in each
Kconfig causes problems because it does not co-exist with the
"depends on" syntax. (Please note this is not a bug of Kconfig.)
We should not do so unless we have a special reason. Actually,
for CONFIG_DM*, we have no good reason to do so.
Generally, CONFIG_DM is not a user-configurable option. Once we
convert a driver into Driver Model, the board only works with Driver
Model, i.e. CONFIG_DM must be always enabled for that board.
So, using "select DM" is more suitable rather than allowing users to
modify it. Another good thing is, Kconfig warns unmet dependencies
for "select" syntax, so we easily notice bugs.
Actually, CONFIG_DM and other related options have been added
without consistency: some into arch/*/Kconfig, some into
board/*/Kconfig, and some into configs/*_defconfig.
This commit prefers "select" and cleans up the following issues.
[1] Never use "CONFIG_DM=n" in defconfig files
It is really rare to add "CONFIG_FOO=n" to disable CONFIG options.
It is more common to use "# CONFIG_FOO is not set". But here, we
do not even have to do it.
Less than half of OMAP3 boards have been converted to Driver Model.
Adding the default values to arch/arm/cpu/armv7/omap3/Kconfig is
weird. Instead, add "select DM" only to appropriate boards, which
eventually eliminates "CONFIG_DM=n", etc.
[2] Delete redundant CONFIGs
Sandbox sets CONFIG_DM in arch/sandbox/Kconfig and defines it again
in configs/sandbox_defconfig.
Likewise, OMAP3 sets CONFIG_DM arch/arm/cpu/armv7/omap3/Kconfig and
defines it also in omap3_beagle_defconfig and devkit8000_defconfig.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2015-03-31 03:47:53 +00:00
|
|
|
select DM
|
2018-07-23 13:55:13 +00:00
|
|
|
select DM_GPIO
|
2016-11-23 13:34:40 +00:00
|
|
|
select DM_I2C
|
2021-07-19 01:02:40 +00:00
|
|
|
select DM_ETH
|
2018-07-23 13:55:13 +00:00
|
|
|
select DM_KEYBOARD
|
dm: select CONFIG_DM* options
As mentioned in the previous commit, adding default values in each
Kconfig causes problems because it does not co-exist with the
"depends on" syntax. (Please note this is not a bug of Kconfig.)
We should not do so unless we have a special reason. Actually,
for CONFIG_DM*, we have no good reason to do so.
Generally, CONFIG_DM is not a user-configurable option. Once we
convert a driver into Driver Model, the board only works with Driver
Model, i.e. CONFIG_DM must be always enabled for that board.
So, using "select DM" is more suitable rather than allowing users to
modify it. Another good thing is, Kconfig warns unmet dependencies
for "select" syntax, so we easily notice bugs.
Actually, CONFIG_DM and other related options have been added
without consistency: some into arch/*/Kconfig, some into
board/*/Kconfig, and some into configs/*_defconfig.
This commit prefers "select" and cleans up the following issues.
[1] Never use "CONFIG_DM=n" in defconfig files
It is really rare to add "CONFIG_FOO=n" to disable CONFIG options.
It is more common to use "# CONFIG_FOO is not set". But here, we
do not even have to do it.
Less than half of OMAP3 boards have been converted to Driver Model.
Adding the default values to arch/arm/cpu/armv7/omap3/Kconfig is
weird. Instead, add "select DM" only to appropriate boards, which
eventually eliminates "CONFIG_DM=n", etc.
[2] Delete redundant CONFIGs
Sandbox sets CONFIG_DM in arch/sandbox/Kconfig and defines it again
in configs/sandbox_defconfig.
Likewise, OMAP3 sets CONFIG_DM arch/arm/cpu/armv7/omap3/Kconfig and
defines it also in omap3_beagle_defconfig and devkit8000_defconfig.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2015-03-31 03:47:53 +00:00
|
|
|
select DM_SERIAL
|
|
|
|
select DM_SPI
|
2018-07-23 13:55:13 +00:00
|
|
|
select DM_SPI_FLASH
|
2018-04-15 17:51:26 +00:00
|
|
|
select SPI
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-11-20 13:15:13 +00:00
|
|
|
imply SYS_THUMB_BUILD
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2017-06-02 15:03:50 +00:00
|
|
|
imply FAT_WRITE
|
2014-07-30 05:08:14 +00:00
|
|
|
|
2014-10-08 04:01:50 +00:00
|
|
|
config ARCH_S5PC1XX
|
|
|
|
bool "Samsung S5PC1XX"
|
2018-04-26 12:51:26 +00:00
|
|
|
select CPU_V7A
|
dm: select CONFIG_DM* options
As mentioned in the previous commit, adding default values in each
Kconfig causes problems because it does not co-exist with the
"depends on" syntax. (Please note this is not a bug of Kconfig.)
We should not do so unless we have a special reason. Actually,
for CONFIG_DM*, we have no good reason to do so.
Generally, CONFIG_DM is not a user-configurable option. Once we
convert a driver into Driver Model, the board only works with Driver
Model, i.e. CONFIG_DM must be always enabled for that board.
So, using "select DM" is more suitable rather than allowing users to
modify it. Another good thing is, Kconfig warns unmet dependencies
for "select" syntax, so we easily notice bugs.
Actually, CONFIG_DM and other related options have been added
without consistency: some into arch/*/Kconfig, some into
board/*/Kconfig, and some into configs/*_defconfig.
This commit prefers "select" and cleans up the following issues.
[1] Never use "CONFIG_DM=n" in defconfig files
It is really rare to add "CONFIG_FOO=n" to disable CONFIG options.
It is more common to use "# CONFIG_FOO is not set". But here, we
do not even have to do it.
Less than half of OMAP3 boards have been converted to Driver Model.
Adding the default values to arch/arm/cpu/armv7/omap3/Kconfig is
weird. Instead, add "select DM" only to appropriate boards, which
eventually eliminates "CONFIG_DM=n", etc.
[2] Delete redundant CONFIGs
Sandbox sets CONFIG_DM in arch/sandbox/Kconfig and defines it again
in configs/sandbox_defconfig.
Likewise, OMAP3 sets CONFIG_DM arch/arm/cpu/armv7/omap3/Kconfig and
defines it also in omap3_beagle_defconfig and devkit8000_defconfig.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2015-03-31 03:47:53 +00:00
|
|
|
select DM
|
|
|
|
select DM_GPIO
|
2016-11-23 13:34:41 +00:00
|
|
|
select DM_I2C
|
2018-07-23 13:55:13 +00:00
|
|
|
select DM_SERIAL
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2014-10-08 04:01:50 +00:00
|
|
|
|
2014-08-30 22:11:07 +00:00
|
|
|
config ARCH_HIGHBANK
|
|
|
|
bool "Calxeda Highbank"
|
2018-04-26 12:51:26 +00:00
|
|
|
select CPU_V7A
|
2021-04-12 00:04:51 +00:00
|
|
|
select PL01X_SERIAL
|
|
|
|
select DM
|
|
|
|
select DM_SERIAL
|
|
|
|
select OF_CONTROL
|
|
|
|
select CLK
|
|
|
|
select CLK_CCF
|
|
|
|
select AHCI
|
2021-04-12 00:04:52 +00:00
|
|
|
select DM_ETH
|
2021-04-12 00:04:54 +00:00
|
|
|
select PHYS_64BIT
|
2021-12-17 03:59:36 +00:00
|
|
|
imply OF_HAS_PRIOR_STAGE
|
2014-07-30 05:08:14 +00:00
|
|
|
|
2015-04-21 12:59:36 +00:00
|
|
|
config ARCH_INTEGRATOR
|
|
|
|
bool "ARM Ltd. Integrator family"
|
2015-07-27 09:22:48 +00:00
|
|
|
select DM
|
|
|
|
select DM_SERIAL
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-01-25 11:05:52 +00:00
|
|
|
select PL01X_SERIAL
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2015-04-21 12:59:36 +00:00
|
|
|
|
2020-07-06 08:37:54 +00:00
|
|
|
config ARCH_IPQ40XX
|
|
|
|
bool "Qualcomm IPQ40xx SoCs"
|
|
|
|
select CPU_V7A
|
|
|
|
select DM
|
|
|
|
select DM_GPIO
|
|
|
|
select DM_SERIAL
|
2020-09-10 14:00:03 +00:00
|
|
|
select DM_RESET
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2020-09-10 14:00:01 +00:00
|
|
|
select MSM_SMEM
|
2020-07-06 08:37:54 +00:00
|
|
|
select PINCTRL
|
|
|
|
select CLK
|
2020-09-10 14:00:01 +00:00
|
|
|
select SMEM
|
2020-07-06 08:37:54 +00:00
|
|
|
select OF_CONTROL
|
|
|
|
imply CMD_DM
|
|
|
|
|
2014-08-30 22:11:05 +00:00
|
|
|
config ARCH_KEYSTONE
|
|
|
|
bool "TI Keystone"
|
2018-07-23 13:55:13 +00:00
|
|
|
select CMD_POWEROFF
|
2018-04-26 12:51:26 +00:00
|
|
|
select CPU_V7A
|
2021-08-21 17:50:16 +00:00
|
|
|
select DDR_SPD
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2014-10-20 08:45:56 +00:00
|
|
|
select SUPPORT_SPL
|
2018-04-12 01:24:46 +00:00
|
|
|
select SYS_ARCH_TIMER
|
2018-07-23 13:55:13 +00:00
|
|
|
select SYS_THUMB_BUILD
|
2017-07-22 22:36:16 +00:00
|
|
|
imply CMD_MTDPARTS
|
2017-08-04 22:34:43 +00:00
|
|
|
imply CMD_SAVES
|
2018-07-23 13:55:13 +00:00
|
|
|
imply FIT
|
2014-07-30 05:08:14 +00:00
|
|
|
|
2018-08-27 10:27:08 +00:00
|
|
|
config ARCH_K3
|
|
|
|
bool "Texas Instruments' K3 Architecture"
|
|
|
|
select SPL
|
|
|
|
select SUPPORT_SPL
|
|
|
|
select FIT
|
|
|
|
|
2017-04-25 04:10:11 +00:00
|
|
|
config ARCH_OMAP2PLUS
|
|
|
|
bool "TI OMAP2+"
|
2018-04-26 12:51:26 +00:00
|
|
|
select CPU_V7A
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2017-05-03 09:13:32 +00:00
|
|
|
select SPL_BOARD_INIT if SPL
|
2017-09-17 15:44:49 +00:00
|
|
|
select SPL_STACK_R if SPL
|
2017-04-25 04:10:11 +00:00
|
|
|
select SUPPORT_SPL
|
2020-12-29 23:06:29 +00:00
|
|
|
imply TI_SYSC if DM && OF_CONTROL
|
2017-04-25 04:10:11 +00:00
|
|
|
imply FIT
|
2022-03-04 15:43:05 +00:00
|
|
|
imply DM_EVENT
|
2022-04-12 14:59:04 +00:00
|
|
|
imply SPL_SEPARATE_BSS
|
2017-04-25 04:10:11 +00:00
|
|
|
|
2016-05-08 06:30:16 +00:00
|
|
|
config ARCH_MESON
|
|
|
|
bool "Amlogic Meson"
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-04-25 09:47:52 +00:00
|
|
|
imply DISTRO_DEFAULTS
|
2020-04-05 10:20:23 +00:00
|
|
|
imply DM_RNG
|
2016-05-08 06:30:16 +00:00
|
|
|
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.
|
|
|
|
|
2018-11-15 02:07:52 +00:00
|
|
|
config ARCH_MEDIATEK
|
|
|
|
bool "MediaTek SoCs"
|
|
|
|
select DM
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-11-15 02:07:52 +00:00
|
|
|
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.
|
|
|
|
|
2018-09-17 18:43:03 +00:00
|
|
|
config ARCH_LPC32XX
|
|
|
|
bool "NXP LPC32xx platform"
|
|
|
|
select CPU_ARM926EJS
|
|
|
|
select DM
|
|
|
|
select DM_GPIO
|
|
|
|
select DM_SERIAL
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-09-17 18:43:03 +00:00
|
|
|
select SPL_DM if SPL
|
|
|
|
select SUPPORT_SPL
|
|
|
|
imply CMD_DM
|
|
|
|
|
2018-10-18 12:28:08 +00:00
|
|
|
config ARCH_IMX8
|
|
|
|
bool "NXP i.MX8 platform"
|
|
|
|
select ARM64
|
2022-03-24 06:20:33 +00:00
|
|
|
select SYS_FSL_HAS_SEC
|
|
|
|
select SYS_FSL_SEC_COMPAT_4
|
|
|
|
select SYS_FSL_SEC_LE
|
2018-10-18 12:28:08 +00:00
|
|
|
select DM
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2021-08-25 00:40:59 +00:00
|
|
|
select MACH_IMX
|
2018-10-18 12:28:08 +00:00
|
|
|
select OF_CONTROL
|
2019-07-12 09:33:52 +00:00
|
|
|
select ENABLE_ARM_SOC_BOOT0_HOOK
|
2022-03-04 15:43:05 +00:00
|
|
|
imply DM_EVENT
|
2018-10-18 12:28:08 +00:00
|
|
|
|
2018-11-20 10:19:25 +00:00
|
|
|
config ARCH_IMX8M
|
2018-01-10 05:20:19 +00:00
|
|
|
bool "NXP i.MX8M platform"
|
|
|
|
select ARM64
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2021-08-25 00:40:59 +00:00
|
|
|
select MACH_IMX
|
2022-03-24 06:20:27 +00:00
|
|
|
select SYS_FSL_HAS_SEC
|
2021-03-25 09:30:25 +00:00
|
|
|
select SYS_FSL_SEC_COMPAT_4
|
|
|
|
select SYS_FSL_SEC_LE
|
2021-08-19 03:12:33 +00:00
|
|
|
select SYS_I2C_MXC
|
2018-01-10 05:20:19 +00:00
|
|
|
select DM
|
|
|
|
select SUPPORT_SPL
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2022-03-04 15:43:05 +00:00
|
|
|
imply DM_EVENT
|
2018-01-10 05:20:19 +00:00
|
|
|
|
2021-08-07 08:00:30 +00:00
|
|
|
config ARCH_IMX8ULP
|
|
|
|
bool "NXP i.MX8ULP platform"
|
|
|
|
select ARM64
|
|
|
|
select DM
|
2021-08-25 00:40:59 +00:00
|
|
|
select MACH_IMX
|
2021-08-07 08:00:30 +00:00
|
|
|
select OF_CONTROL
|
|
|
|
select SUPPORT_SPL
|
|
|
|
select GPIO_EXTRA_HEADER
|
|
|
|
imply CMD_DM
|
2022-03-04 15:43:05 +00:00
|
|
|
imply DM_EVENT
|
2021-08-07 08:00:30 +00:00
|
|
|
|
2020-01-10 14:51:47 +00:00
|
|
|
config ARCH_IMXRT
|
|
|
|
bool "NXP i.MXRT platform"
|
|
|
|
select CPU_V7M
|
|
|
|
select DM
|
|
|
|
select DM_SERIAL
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2021-08-25 00:40:59 +00:00
|
|
|
select MACH_IMX
|
2020-01-10 14:51:47 +00:00
|
|
|
select SUPPORT_SPL
|
|
|
|
imply CMD_DM
|
|
|
|
|
2018-02-06 08:44:34 +00:00
|
|
|
config ARCH_MX23
|
|
|
|
bool "NXP i.MX23 family"
|
|
|
|
select CPU_ARM926EJS
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2021-08-25 00:40:59 +00:00
|
|
|
select MACH_IMX
|
2018-02-06 08:44:34 +00:00
|
|
|
select PL011_SERIAL
|
|
|
|
select SUPPORT_SPL
|
|
|
|
|
2018-02-06 08:44:35 +00:00
|
|
|
config ARCH_MX28
|
|
|
|
bool "NXP i.MX28 family"
|
|
|
|
select CPU_ARM926EJS
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-02-06 08:44:35 +00:00
|
|
|
select PL011_SERIAL
|
2021-08-25 00:40:59 +00:00
|
|
|
select MACH_IMX
|
2018-02-06 08:44:35 +00:00
|
|
|
select SUPPORT_SPL
|
|
|
|
|
2018-05-11 12:06:54 +00:00
|
|
|
config ARCH_MX31
|
|
|
|
bool "NXP i.MX31 family"
|
|
|
|
select CPU_ARM1136
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2021-08-25 00:40:59 +00:00
|
|
|
select MACH_IMX
|
2018-05-11 12:06:54 +00:00
|
|
|
|
2017-02-22 08:21:39 +00:00
|
|
|
config ARCH_MX7ULP
|
2018-07-23 13:55:12 +00:00
|
|
|
bool "NXP MX7ULP"
|
2022-02-25 16:19:47 +00:00
|
|
|
select BOARD_POSTCLK_INIT
|
2018-04-26 12:51:26 +00:00
|
|
|
select CPU_V7A
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2021-08-25 00:40:59 +00:00
|
|
|
select MACH_IMX
|
2022-03-24 06:20:31 +00:00
|
|
|
select SYS_FSL_HAS_SEC
|
2021-03-25 09:30:23 +00:00
|
|
|
select SYS_FSL_SEC_COMPAT_4
|
|
|
|
select SYS_FSL_SEC_LE
|
2017-02-22 08:21:39 +00:00
|
|
|
select ROM_UNIFIED_SECTIONS
|
2018-02-04 15:32:43 +00:00
|
|
|
imply MXC_GPIO
|
2019-12-03 14:28:03 +00:00
|
|
|
imply SYS_THUMB_BUILD
|
2017-02-22 08:21:39 +00:00
|
|
|
|
2015-09-03 16:49:28 +00:00
|
|
|
config ARCH_MX7
|
|
|
|
bool "Freescale MX7"
|
2018-07-23 13:55:13 +00:00
|
|
|
select ARCH_MISC_INIT
|
2018-04-26 12:51:26 +00:00
|
|
|
select CPU_V7A
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2021-08-25 00:40:59 +00:00
|
|
|
select MACH_IMX
|
2022-03-24 06:20:30 +00:00
|
|
|
select SYS_FSL_HAS_SEC
|
2016-12-28 16:43:30 +00:00
|
|
|
select SYS_FSL_SEC_COMPAT_4
|
2016-12-28 16:43:31 +00:00
|
|
|
select SYS_FSL_SEC_LE
|
2020-05-21 23:13:00 +00:00
|
|
|
imply BOARD_EARLY_INIT_F
|
2018-02-04 15:32:43 +00:00
|
|
|
imply MXC_GPIO
|
2019-12-03 14:28:03 +00:00
|
|
|
imply SYS_THUMB_BUILD
|
2015-09-03 16:49:28 +00:00
|
|
|
|
2015-03-04 12:13:03 +00:00
|
|
|
config ARCH_MX6
|
|
|
|
bool "Freescale MX6"
|
2022-02-25 16:19:47 +00:00
|
|
|
select BOARD_POSTCLK_INIT
|
2018-04-26 12:51:26 +00:00
|
|
|
select CPU_V7A
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2021-08-25 00:40:59 +00:00
|
|
|
select MACH_IMX
|
2020-06-26 17:57:55 +00:00
|
|
|
select SYS_FSL_HAS_SEC
|
2016-12-28 16:43:30 +00:00
|
|
|
select SYS_FSL_SEC_COMPAT_4
|
2016-12-28 16:43:31 +00:00
|
|
|
select SYS_FSL_SEC_LE
|
2018-02-04 15:32:43 +00:00
|
|
|
imply MXC_GPIO
|
2019-12-03 14:28:03 +00:00
|
|
|
imply SYS_THUMB_BUILD
|
2022-04-12 14:59:04 +00:00
|
|
|
imply SPL_SEPARATE_BSS
|
2015-03-04 12:13:03 +00:00
|
|
|
|
2017-08-03 21:23:55 +00:00
|
|
|
if ARCH_MX6
|
|
|
|
config SPL_LDSCRIPT
|
2018-07-23 13:55:12 +00:00
|
|
|
default "arch/arm/mach-omap2/u-boot-spl.lds"
|
2017-08-03 21:23:55 +00:00
|
|
|
endif
|
|
|
|
|
2015-04-08 16:56:29 +00:00
|
|
|
config ARCH_MX5
|
|
|
|
bool "Freescale MX5"
|
2017-01-23 20:31:20 +00:00
|
|
|
select BOARD_EARLY_INIT_F
|
2018-07-23 13:55:13 +00:00
|
|
|
select CPU_V7A
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2021-08-25 00:40:59 +00:00
|
|
|
select MACH_IMX
|
2018-02-04 15:32:43 +00:00
|
|
|
imply MXC_GPIO
|
2015-04-08 16:56:29 +00:00
|
|
|
|
2020-07-10 17:07:26 +00:00
|
|
|
config ARCH_NEXELL
|
|
|
|
bool "Nexell S5P4418/S5P6818 SoC"
|
|
|
|
select ENABLE_ARM_SOC_BOOT0_HOOK
|
|
|
|
select DM
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2020-07-10 17:07:26 +00:00
|
|
|
|
2021-10-23 14:58:03 +00:00
|
|
|
config ARCH_APPLE
|
|
|
|
bool "Apple SoCs"
|
|
|
|
select ARM64
|
|
|
|
select BLK
|
2021-10-23 14:58:04 +00:00
|
|
|
select CLK
|
2021-10-23 14:58:03 +00:00
|
|
|
select CMD_USB
|
|
|
|
select DM
|
2021-11-02 17:21:57 +00:00
|
|
|
select DM_GPIO
|
2021-10-23 14:58:03 +00:00
|
|
|
select DM_KEYBOARD
|
2022-01-22 19:38:12 +00:00
|
|
|
select DM_MAILBOX
|
2022-01-22 19:38:17 +00:00
|
|
|
select DM_RESET
|
2021-10-23 14:58:03 +00:00
|
|
|
select DM_SERIAL
|
2022-01-23 15:48:12 +00:00
|
|
|
select DM_SPI
|
2021-10-23 14:58:03 +00:00
|
|
|
select DM_USB
|
|
|
|
select DM_VIDEO
|
2021-10-23 14:58:05 +00:00
|
|
|
select IOMMU
|
2021-10-23 14:58:03 +00:00
|
|
|
select LINUX_KERNEL_IMAGE_HEADER
|
|
|
|
select OF_CONTROL
|
2021-11-02 17:21:57 +00:00
|
|
|
select PINCTRL
|
2021-10-23 14:58:03 +00:00
|
|
|
select POSITION_INDEPENDENT
|
2022-01-10 19:58:44 +00:00
|
|
|
select POWER_DOMAIN
|
|
|
|
select REGMAP
|
2022-01-23 15:48:12 +00:00
|
|
|
select SPI
|
2022-01-10 19:58:44 +00:00
|
|
|
select SYSCON
|
2022-01-12 18:55:17 +00:00
|
|
|
select SYSRESET
|
|
|
|
select SYSRESET_WATCHDOG
|
|
|
|
select SYSRESET_WATCHDOG_AUTO
|
2021-10-23 14:58:03 +00:00
|
|
|
select USB
|
|
|
|
imply CMD_DM
|
|
|
|
imply CMD_GPT
|
|
|
|
imply DISTRO_DEFAULTS
|
2021-12-17 03:59:36 +00:00
|
|
|
imply OF_HAS_PRIOR_STAGE
|
2021-10-23 14:58:03 +00:00
|
|
|
|
2018-06-14 18:08:31 +00:00
|
|
|
config ARCH_OWL
|
|
|
|
bool "Actions Semi OWL SoCs"
|
|
|
|
select DM
|
2020-05-09 14:25:14 +00:00
|
|
|
select DM_ETH
|
2018-06-14 18:08:31 +00:00
|
|
|
select DM_SERIAL
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2020-04-19 13:58:25 +00:00
|
|
|
select OWL_SERIAL
|
2020-04-19 13:58:30 +00:00
|
|
|
select CLK
|
|
|
|
select CLK_OWL
|
2018-06-14 18:08:31 +00:00
|
|
|
select OF_CONTROL
|
2020-05-01 14:52:11 +00:00
|
|
|
select SYS_RELOC_GD_ENV_ADDR
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2018-06-14 18:08:31 +00:00
|
|
|
|
ARM: Add a new arch + board for QEMU's 'virt' machine
This board builds an U-Boot binary that is bootable with QEMU's 'virt'
machine on ARM. The minimal QEMU command line is:
qemu-system-arm -machine virt,highmem=off -bios u-boot.bin
(Note that the 'highmem=off' parameter to the 'virt' machine is required for
PCI to work in U-Boot.) This command line enables the following:
- u-boot.bin loaded and executing in the emulated flash at address 0x0
- A generated device tree blob placed at the start of RAM
- A freely configurable amount of RAM, described by the DTB
- A PL011 serial port, discoverable via the DTB
- An ARMv7 architected timer
- PSCI for rebooting the system
- A generic ECAM-based PCI host controller, discoverable via the DTB
Additionally, QEMU allows plugging a bunch of useful peripherals to the PCI bus.
The following ones are supported by both U-Boot and Linux:
- To add a Serial ATA disk via an Intel ICH9 AHCI controller, pass e.g.:
-drive if=none,file=disk.img,id=mydisk -device ich9-ahci,id=ahci -device ide-drive,drive=mydisk,bus=ahci.0
- To add an Intel E1000 network adapter, pass e.g.:
-net nic,model=e1000 -net user
- To add an EHCI-compliant USB host controller, pass e.g.:
-device usb-ehci,id=ehci
- To add a NVMe disk, pass e.g.:
-drive if=none,file=disk.img,id=mydisk -device nvme,drive=mydisk,serial=foo
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
2017-09-19 20:18:07 +00:00
|
|
|
config ARCH_QEMU
|
|
|
|
bool "QEMU Virtual Platform"
|
|
|
|
select DM
|
|
|
|
select DM_SERIAL
|
|
|
|
select OF_CONTROL
|
2018-01-25 11:05:52 +00:00
|
|
|
select PL01X_SERIAL
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2020-09-19 05:55:35 +00:00
|
|
|
imply DM_RNG
|
2018-09-14 08:06:54 +00:00
|
|
|
imply DM_RTC
|
|
|
|
imply RTC_PL031
|
2021-12-17 03:59:36 +00:00
|
|
|
imply OF_HAS_PRIOR_STAGE
|
ARM: Add a new arch + board for QEMU's 'virt' machine
This board builds an U-Boot binary that is bootable with QEMU's 'virt'
machine on ARM. The minimal QEMU command line is:
qemu-system-arm -machine virt,highmem=off -bios u-boot.bin
(Note that the 'highmem=off' parameter to the 'virt' machine is required for
PCI to work in U-Boot.) This command line enables the following:
- u-boot.bin loaded and executing in the emulated flash at address 0x0
- A generated device tree blob placed at the start of RAM
- A freely configurable amount of RAM, described by the DTB
- A PL011 serial port, discoverable via the DTB
- An ARMv7 architected timer
- PSCI for rebooting the system
- A generic ECAM-based PCI host controller, discoverable via the DTB
Additionally, QEMU allows plugging a bunch of useful peripherals to the PCI bus.
The following ones are supported by both U-Boot and Linux:
- To add a Serial ATA disk via an Intel ICH9 AHCI controller, pass e.g.:
-drive if=none,file=disk.img,id=mydisk -device ich9-ahci,id=ahci -device ide-drive,drive=mydisk,bus=ahci.0
- To add an Intel E1000 network adapter, pass e.g.:
-net nic,model=e1000 -net user
- To add an EHCI-compliant USB host controller, pass e.g.:
-device usb-ehci,id=ehci
- To add a NVMe disk, pass e.g.:
-drive if=none,file=disk.img,id=mydisk -device nvme,drive=mydisk,serial=foo
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
2017-09-19 20:18:07 +00:00
|
|
|
|
2015-10-09 20:58:28 +00:00
|
|
|
config ARCH_RMOBILE
|
2014-08-30 22:10:57 +00:00
|
|
|
bool "Renesas ARM SoCs"
|
2015-10-09 20:58:28 +00:00
|
|
|
select DM
|
|
|
|
select DM_SERIAL
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2020-09-22 12:06:49 +00:00
|
|
|
imply BOARD_EARLY_INIT_F
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2017-06-02 15:03:50 +00:00
|
|
|
imply FAT_WRITE
|
2017-03-18 13:01:44 +00:00
|
|
|
imply SYS_THUMB_BUILD
|
2018-12-03 12:28:25 +00:00
|
|
|
imply ARCH_MISC_INIT if DISPLAY_CPUINFO
|
2014-07-30 05:08:14 +00:00
|
|
|
|
2016-03-31 21:12:32 +00:00
|
|
|
config ARCH_SNAPDRAGON
|
|
|
|
bool "Qualcomm Snapdragon SoCs"
|
|
|
|
select ARM64
|
|
|
|
select DM
|
|
|
|
select DM_GPIO
|
|
|
|
select DM_SERIAL
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-07-23 13:55:13 +00:00
|
|
|
select MSM_SMEM
|
2016-03-31 21:12:32 +00:00
|
|
|
select OF_CONTROL
|
|
|
|
select OF_SEPARATE
|
2018-07-01 23:57:56 +00:00
|
|
|
select SMEM
|
2018-07-23 13:55:13 +00:00
|
|
|
select SPMI
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2016-03-31 21:12:32 +00:00
|
|
|
|
2015-04-21 11:38:20 +00:00
|
|
|
config ARCH_SOCFPGA
|
|
|
|
bool "Altera SOCFPGA family"
|
2018-05-11 20:25:59 +00:00
|
|
|
select ARCH_EARLY_INIT_R
|
2018-08-13 18:06:46 +00:00
|
|
|
select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
|
2021-03-01 12:04:10 +00:00
|
|
|
select ARM64 if TARGET_SOCFPGA_SOC64
|
2018-05-23 16:17:32 +00:00
|
|
|
select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
|
2015-03-31 03:47:59 +00:00
|
|
|
select DM
|
2018-05-11 20:26:35 +00:00
|
|
|
select DM_SERIAL
|
2021-08-19 18:19:39 +00:00
|
|
|
select GICV2
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-05-23 16:17:32 +00:00
|
|
|
select ENABLE_ARM_SOC_BOOT0_HOOK if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
|
2018-05-11 20:25:59 +00:00
|
|
|
select OF_CONTROL
|
2018-07-13 05:40:23 +00:00
|
|
|
select SPL_DM_RESET if DM_RESET
|
2018-07-23 13:55:13 +00:00
|
|
|
select SPL_DM_SERIAL
|
2018-05-11 20:25:59 +00:00
|
|
|
select SPL_LIBCOMMON_SUPPORT
|
|
|
|
select SPL_LIBGENERIC_SUPPORT
|
|
|
|
select SPL_NAND_SUPPORT if SPL_NAND_DENALI
|
|
|
|
select SPL_OF_CONTROL
|
2021-03-01 12:04:10 +00:00
|
|
|
select SPL_SEPARATE_BSS if TARGET_SOCFPGA_SOC64
|
2021-08-08 18:20:12 +00:00
|
|
|
select SPL_SERIAL
|
2019-07-15 19:47:55 +00:00
|
|
|
select SPL_SYSRESET
|
2021-07-11 03:14:28 +00:00
|
|
|
select SPL_WATCHDOG
|
2018-05-11 20:25:59 +00:00
|
|
|
select SUPPORT_SPL
|
2018-05-11 20:26:35 +00:00
|
|
|
select SYS_NS16550
|
2018-05-23 16:17:32 +00:00
|
|
|
select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
|
2019-07-15 19:47:55 +00:00
|
|
|
select SYSRESET
|
|
|
|
select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
|
2021-03-01 12:04:10 +00:00
|
|
|
select SYSRESET_SOCFPGA_SOC64 if TARGET_SOCFPGA_SOC64
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2017-07-22 22:36:16 +00:00
|
|
|
imply CMD_MTDPARTS
|
2017-05-19 16:26:58 +00:00
|
|
|
imply CRC32_VERIFY
|
2018-02-13 05:34:14 +00:00
|
|
|
imply DM_SPI
|
|
|
|
imply DM_SPI_FLASH
|
2017-06-02 15:03:50 +00:00
|
|
|
imply FAT_WRITE
|
2019-04-09 19:02:05 +00:00
|
|
|
imply SPL
|
|
|
|
imply SPL_DM
|
2020-06-04 15:11:53 +00:00
|
|
|
imply SPL_DM_SPI
|
|
|
|
imply SPL_DM_SPI_FLASH
|
2018-11-29 20:17:08 +00:00
|
|
|
imply SPL_LIBDISK_SUPPORT
|
2021-08-08 18:20:09 +00:00
|
|
|
imply SPL_MMC
|
2018-02-13 05:34:14 +00:00
|
|
|
imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
|
2018-10-30 19:21:49 +00:00
|
|
|
imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
|
2018-11-29 20:17:08 +00:00
|
|
|
imply SPL_SPI_FLASH_SUPPORT
|
2021-08-08 18:20:14 +00:00
|
|
|
imply SPL_SPI
|
2019-04-23 21:55:06 +00:00
|
|
|
imply L2X0_CACHE
|
2014-07-30 05:08:14 +00:00
|
|
|
|
2014-10-24 20:20:44 +00:00
|
|
|
config ARCH_SUNXI
|
|
|
|
bool "Support sunxi (Allwinner) SoCs"
|
2017-10-17 04:42:44 +00:00
|
|
|
select BINMAN
|
2016-04-03 07:41:44 +00:00
|
|
|
select CMD_GPIO
|
2016-05-15 11:51:58 +00:00
|
|
|
select CMD_MMC if MMC
|
2021-07-09 14:11:56 +00:00
|
|
|
select CMD_USB if DISTRO_DEFAULTS && USB_HOST
|
2019-01-11 11:10:20 +00:00
|
|
|
select CLK
|
2015-04-15 18:46:48 +00:00
|
|
|
select DM
|
2015-06-30 20:51:15 +00:00
|
|
|
select DM_ETH
|
2015-12-21 19:22:00 +00:00
|
|
|
select DM_GPIO
|
2021-10-08 05:17:25 +00:00
|
|
|
select DM_I2C if I2C
|
2022-01-11 12:46:02 +00:00
|
|
|
select DM_SPI if SPI
|
|
|
|
select DM_SPI_FLASH if SPI
|
2015-12-21 19:22:00 +00:00
|
|
|
select DM_KEYBOARD
|
2019-04-12 11:18:25 +00:00
|
|
|
select DM_MMC if MMC
|
|
|
|
select DM_SCSI if SCSI
|
2015-06-30 20:51:15 +00:00
|
|
|
select DM_SERIAL
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2016-03-22 21:51:52 +00:00
|
|
|
select OF_BOARD_SETUP
|
2015-04-15 18:46:48 +00:00
|
|
|
select OF_CONTROL
|
|
|
|
select OF_SEPARATE
|
2021-08-13 01:09:43 +00:00
|
|
|
select PINCTRL
|
2018-03-07 00:02:27 +00:00
|
|
|
select SPECIFY_CONSOLE_INDEX
|
2021-08-22 18:23:53 +00:00
|
|
|
select SPL_SEPARATE_BSS if SPL
|
2017-06-21 11:54:46 +00:00
|
|
|
select SPL_STACK_R if SPL
|
|
|
|
select SPL_SYS_MALLOC_SIMPLE if SPL
|
2017-03-18 13:01:44 +00:00
|
|
|
select SPL_SYS_THUMB_BUILD if !ARM64
|
2019-06-23 14:09:46 +00:00
|
|
|
select SUNXI_GPIO
|
2018-07-23 13:55:13 +00:00
|
|
|
select SYS_NS16550
|
2017-10-19 09:49:29 +00:00
|
|
|
select SYS_THUMB_BUILD if !ARM64
|
arm: sunxi: do not force USB for arch-sunxi
Currently, USB is forced-enabled for the sunxi familly, and there is no
way to disable it.
However, USB takes a long time to initiliase, delaying the boot by up to
5 seconds (without any USB device attached!). This is a very long delay,
especially in cases where USB booting is not wanted at all, and where
the device is expected to boot relatively often (even in production).
Change the way the dependencies are handled, by only forcibly selecting
USB when CONFIG_DISTRO_DEFAULTS ("defaults suitable for booting general
purpose Linux distributions") is set. This option defaults to y for the
sunxi familly, so the current default behaviour is kept unchanged. Users
interested in boot time and/or size will be able to disable this to
further disable USB.
With USB disabled, the time spent in U-Boot before handing control to
the Linux kernel is about 1s now, down from ~5s (Nanopi Neo, sunxi H3).
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ian Campbell <ijc@hellion.org.uk>
Cc: Hans De Goede <hdegoede@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2016-10-31 21:33:40 +00:00
|
|
|
select USB if DISTRO_DEFAULTS
|
2021-07-09 14:11:56 +00:00
|
|
|
select USB_KEYBOARD if DISTRO_DEFAULTS && USB_HOST
|
|
|
|
select USB_STORAGE if DISTRO_DEFAULTS && USB_HOST
|
2019-09-25 14:56:27 +00:00
|
|
|
select SPL_USE_TINY_PRINTF
|
sunxi: Move common defconfig options to Kconfig
Some config symbols are found in *almost* every _defconfig file for
Allwinner boards, because those options are actually a platform choice,
and not a per-board decision.
Some of these options are older, some have recently been added.
Move those options to be set for all Allwinner boards in their
respective Kconfig files.
The rationales are as follows:
- NR_DRAM_BANKS: All Allwinner SoC map DRAM at one contiguous region of
address space only, starting at 1 GB. So it's always one bank.
- SPL_{DOS,EFI}_PARTITION: The Allwinner SPL does only support raw MMC
accesses, we don't care about filesystems or partitions in there, so
there is no need to define those symbols at all.
- USE_PREBOOT: We start USB early when a keyboard is configured, using the
preboot env variable, so we need to set this variable.
- SYS_RELOC_GD_ENV_ADDR: We don't specify any ENV_ADDR, so need this
symbol to be set (according to 8d8ee47e03e).
- SYS_USB_EVENT_POLL_VIA_INT_QUEUE: According to commit eab9433aa55428,
specifying this reduces the latency of the USB keyboard handling, so
this was formerly enabled in config headers for all Allwinner boards.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> # Amarula A64-Relic
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
2020-02-20 17:51:14 +00:00
|
|
|
select USE_PREBOOT
|
|
|
|
select SYS_RELOC_GD_ENV_ADDR
|
2020-12-08 15:45:31 +00:00
|
|
|
imply BOARD_LATE_INIT
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2017-08-24 09:54:03 +00:00
|
|
|
imply CMD_GPT
|
2019-10-03 17:50:03 +00:00
|
|
|
imply CMD_UBI if MTD_RAW_NAND
|
2018-04-25 09:47:52 +00:00
|
|
|
imply DISTRO_DEFAULTS
|
2017-06-02 15:03:50 +00:00
|
|
|
imply FAT_WRITE
|
2018-10-10 16:27:35 +00:00
|
|
|
imply FIT
|
2018-01-16 08:44:22 +00:00
|
|
|
imply OF_LIBFDT_OVERLAY
|
2017-04-28 10:42:19 +00:00
|
|
|
imply PRE_CONSOLE_BUFFER
|
2021-07-11 03:14:30 +00:00
|
|
|
imply SPL_GPIO
|
2017-04-28 10:42:19 +00:00
|
|
|
imply SPL_LIBCOMMON_SUPPORT
|
|
|
|
imply SPL_LIBGENERIC_SUPPORT
|
2021-08-08 18:20:09 +00:00
|
|
|
imply SPL_MMC if MMC
|
2021-07-11 03:14:24 +00:00
|
|
|
imply SPL_POWER
|
2021-08-08 18:20:12 +00:00
|
|
|
imply SPL_SERIAL
|
2021-11-04 03:55:16 +00:00
|
|
|
imply SYSRESET
|
|
|
|
imply SYSRESET_WATCHDOG
|
|
|
|
imply SYSRESET_WATCHDOG_AUTO
|
2017-09-07 08:46:24 +00:00
|
|
|
imply USB_GADGET
|
2021-08-22 18:53:28 +00:00
|
|
|
imply WDT
|
2014-10-22 08:47:44 +00:00
|
|
|
|
2020-01-04 17:45:17 +00:00
|
|
|
config ARCH_U8500
|
|
|
|
bool "ST-Ericsson U8500 Series"
|
|
|
|
select CPU_V7A
|
|
|
|
select DM
|
|
|
|
select DM_GPIO
|
|
|
|
select DM_MMC if MMC
|
|
|
|
select DM_SERIAL
|
2021-08-07 13:07:19 +00:00
|
|
|
select DM_USB_GADGET if DM_USB
|
2020-01-04 17:45:17 +00:00
|
|
|
select OF_CONTROL
|
|
|
|
select SYSRESET
|
|
|
|
select TIMER
|
2021-08-07 13:07:19 +00:00
|
|
|
imply AB8500_USB_PHY
|
2020-01-04 17:45:17 +00:00
|
|
|
imply ARM_PL180_MMCI
|
2021-08-07 13:07:19 +00:00
|
|
|
imply CLK
|
|
|
|
imply DM_PMIC
|
2020-01-04 17:45:17 +00:00
|
|
|
imply DM_RTC
|
2021-08-07 13:07:19 +00:00
|
|
|
imply NOMADIK_GPIO
|
2020-01-04 17:45:17 +00:00
|
|
|
imply NOMADIK_MTU_TIMER
|
2021-08-07 13:07:19 +00:00
|
|
|
imply PHY
|
2020-01-04 17:45:17 +00:00
|
|
|
imply PL01X_SERIAL
|
2021-08-07 13:07:19 +00:00
|
|
|
imply PMIC_AB8500
|
2020-01-04 17:45:17 +00:00
|
|
|
imply RTC_PL031
|
2021-08-07 13:07:24 +00:00
|
|
|
imply SYS_THUMB_BUILD
|
2020-01-04 17:45:17 +00:00
|
|
|
imply SYSRESET_SYSCON
|
|
|
|
|
2018-08-22 12:55:27 +00:00
|
|
|
config ARCH_VERSAL
|
|
|
|
bool "Support Xilinx Versal Platform"
|
|
|
|
select ARM64
|
|
|
|
select CLK
|
|
|
|
select DM
|
2019-01-15 07:52:46 +00:00
|
|
|
select DM_ETH if NET
|
|
|
|
select DM_MMC if MMC
|
2018-08-22 12:55:27 +00:00
|
|
|
select DM_SERIAL
|
2021-08-19 18:19:39 +00:00
|
|
|
select GICV3
|
2018-08-22 12:55:27 +00:00
|
|
|
select OF_CONTROL
|
2021-08-10 12:50:19 +00:00
|
|
|
select SOC_DEVICE
|
2019-01-31 11:58:14 +00:00
|
|
|
imply BOARD_LATE_INIT
|
2020-07-28 10:45:47 +00:00
|
|
|
imply ENV_VARS_UBOOT_RUNTIME_CONFIG
|
2018-08-22 12:55:27 +00:00
|
|
|
|
2017-03-14 01:41:36 +00:00
|
|
|
config ARCH_VF610
|
|
|
|
bool "Freescale Vybrid"
|
2018-04-26 12:51:26 +00:00
|
|
|
select CPU_V7A
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2021-08-25 00:40:59 +00:00
|
|
|
select MACH_IMX
|
2016-12-28 16:43:42 +00:00
|
|
|
select SYS_FSL_ERRATUM_ESDHC111
|
2017-07-22 22:36:16 +00:00
|
|
|
imply CMD_MTDPARTS
|
2019-10-03 17:50:03 +00:00
|
|
|
imply MTD_RAW_NAND
|
2015-04-15 10:54:26 +00:00
|
|
|
|
2015-03-16 07:43:24 +00:00
|
|
|
config ARCH_ZYNQ
|
2017-11-23 07:25:41 +00:00
|
|
|
bool "Xilinx Zynq based platform"
|
2018-07-23 13:55:13 +00:00
|
|
|
select CLK
|
|
|
|
select CLK_ZYNQ
|
2018-04-26 12:51:26 +00:00
|
|
|
select CPU_V7A
|
2022-02-17 13:28:41 +00:00
|
|
|
select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
|
2015-03-31 03:47:55 +00:00
|
|
|
select DM
|
2018-01-09 13:49:28 +00:00
|
|
|
select DM_ETH if NET
|
|
|
|
select DM_MMC if MMC
|
2015-10-18 01:41:27 +00:00
|
|
|
select DM_SERIAL
|
2018-07-23 13:55:13 +00:00
|
|
|
select DM_SPI
|
2015-06-26 19:21:32 +00:00
|
|
|
select DM_SPI_FLASH
|
2018-07-23 13:55:13 +00:00
|
|
|
select OF_CONTROL
|
2018-04-15 17:51:26 +00:00
|
|
|
select SPI
|
2018-07-23 13:55:13 +00:00
|
|
|
select SPL_BOARD_INIT if SPL
|
|
|
|
select SPL_CLK if SPL
|
|
|
|
select SPL_DM if SPL
|
2020-06-04 15:11:53 +00:00
|
|
|
select SPL_DM_SPI if SPL
|
|
|
|
select SPL_DM_SPI_FLASH if SPL
|
2018-07-23 13:55:13 +00:00
|
|
|
select SPL_OF_CONTROL if SPL
|
|
|
|
select SPL_SEPARATE_BSS if SPL
|
|
|
|
select SUPPORT_SPL
|
|
|
|
imply ARCH_EARLY_INIT_R
|
2018-08-20 06:24:14 +00:00
|
|
|
imply BOARD_LATE_INIT
|
2017-04-27 04:28:02 +00:00
|
|
|
imply CMD_CLK
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2017-08-04 22:34:48 +00:00
|
|
|
imply CMD_SPL
|
2020-07-28 10:45:47 +00:00
|
|
|
imply ENV_VARS_UBOOT_RUNTIME_CONFIG
|
2018-07-23 13:55:13 +00:00
|
|
|
imply FAT_WRITE
|
2014-07-30 05:08:14 +00:00
|
|
|
|
2018-04-12 15:39:46 +00:00
|
|
|
config ARCH_ZYNQMP_R5
|
|
|
|
bool "Xilinx ZynqMP R5 based platform"
|
2018-07-23 13:55:13 +00:00
|
|
|
select CLK
|
2018-04-12 15:39:46 +00:00
|
|
|
select CPU_V7R
|
|
|
|
select DM
|
2019-01-15 08:06:46 +00:00
|
|
|
select DM_ETH if NET
|
|
|
|
select DM_MMC if MMC
|
2018-04-12 15:39:46 +00:00
|
|
|
select DM_SERIAL
|
2018-07-23 13:55:13 +00:00
|
|
|
select OF_CONTROL
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2018-11-29 09:52:42 +00:00
|
|
|
imply DM_USB_GADGET
|
2018-04-12 15:39:46 +00:00
|
|
|
|
2015-06-10 10:20:57 +00:00
|
|
|
config ARCH_ZYNQMP
|
2017-11-23 07:25:41 +00:00
|
|
|
bool "Xilinx ZynqMP based platform"
|
2015-01-15 09:01:51 +00:00
|
|
|
select ARM64
|
2018-07-23 13:55:13 +00:00
|
|
|
select CLK
|
2015-10-18 01:41:25 +00:00
|
|
|
select DM
|
2022-02-17 13:28:42 +00:00
|
|
|
select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
|
2019-01-15 07:52:51 +00:00
|
|
|
select DM_ETH if NET
|
2019-09-27 10:51:41 +00:00
|
|
|
select DM_MAILBOX
|
2019-01-15 07:52:51 +00:00
|
|
|
select DM_MMC if MMC
|
2015-10-18 01:41:25 +00:00
|
|
|
select DM_SERIAL
|
2019-01-15 09:50:39 +00:00
|
|
|
select DM_SPI if SPI
|
|
|
|
select DM_SPI_FLASH if DM_SPI
|
2022-01-14 12:08:42 +00:00
|
|
|
imply FIRMWARE
|
2021-08-19 18:19:39 +00:00
|
|
|
select GICV2
|
2018-07-23 13:55:13 +00:00
|
|
|
select OF_CONTROL
|
2017-05-03 09:13:32 +00:00
|
|
|
select SPL_BOARD_INIT if SPL
|
2017-12-01 14:13:36 +00:00
|
|
|
select SPL_CLK if SPL
|
2020-08-19 08:30:39 +00:00
|
|
|
select SPL_DM if SPL
|
|
|
|
select SPL_DM_SPI if SPI && SPL_DM
|
2020-06-04 15:11:53 +00:00
|
|
|
select SPL_DM_SPI_FLASH if SPL_DM_SPI
|
2019-09-27 10:37:04 +00:00
|
|
|
select SPL_DM_MAILBOX if SPL
|
2022-01-14 12:08:42 +00:00
|
|
|
imply SPL_FIRMWARE if SPL
|
2018-11-23 08:01:44 +00:00
|
|
|
select SPL_SEPARATE_BSS if SPL
|
2018-07-23 13:55:13 +00:00
|
|
|
select SUPPORT_SPL
|
2019-09-27 10:51:41 +00:00
|
|
|
select ZYNQMP_IPI
|
2021-08-10 12:50:18 +00:00
|
|
|
select SOC_DEVICE
|
2018-08-20 06:24:14 +00:00
|
|
|
imply BOARD_LATE_INIT
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2020-07-28 10:45:47 +00:00
|
|
|
imply ENV_VARS_UBOOT_RUNTIME_CONFIG
|
2017-06-02 15:03:50 +00:00
|
|
|
imply FAT_WRITE
|
2018-10-04 12:26:13 +00:00
|
|
|
imply MP
|
2018-11-29 09:52:42 +00:00
|
|
|
imply DM_USB_GADGET
|
2021-10-29 11:11:43 +00:00
|
|
|
imply ZYNQMP_GPIO_MODEPIN if DM_GPIO && USB
|
2015-01-15 09:01:51 +00:00
|
|
|
|
2020-05-06 12:02:41 +00:00
|
|
|
config ARCH_TEGRA
|
2014-08-30 22:10:56 +00:00
|
|
|
bool "NVIDIA Tegra"
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-04-25 09:47:52 +00:00
|
|
|
imply DISTRO_DEFAULTS
|
2017-06-02 15:03:50 +00:00
|
|
|
imply FAT_WRITE
|
2014-07-30 05:08:14 +00:00
|
|
|
|
2022-03-04 16:30:09 +00:00
|
|
|
config ARCH_VEXPRESS64
|
|
|
|
bool "Support ARMv8 Arm Ltd. VExpress based boards and models"
|
2014-09-13 18:01:51 +00:00
|
|
|
select ARM64
|
arm: juno: Enable OF_CONTROL
The Arm Juno board was still somewhat stuck in "hardcoded land", even
though there are stable DTs around, and one happens to actually be on
the memory mapped NOR flash.
Enable the configuration options to let the board use OF_CONTROL, and
add a routine to find the address of the DTB partition in NOR
flash, to use that for U-Boot's own purposes.
This can also passed on via $fdtcontroladdr to any kernel or EFI
application, removing the need to actually load a device tree.
Since the existing "afs" command and its flash routines require
flash_init() to be called before being usable, and this is done much
later in the boot process, we introduce a stripped-down partition finder
routine in vexpress64.c, to scan the NOR flash partitions for the
DT partition. This location is then used for U-Boot to find and probe
devices.
The name of the partition can be configured, if needed, but defaults
to "board.dtb", which is used by Linaro's firmware image provided.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-04-27 18:18:01 +00:00
|
|
|
select DM
|
|
|
|
select DM_SERIAL
|
2022-03-04 16:30:09 +00:00
|
|
|
select PL01X_SERIAL
|
vexpress64: fvp: enable OF_CONTROL
The FVP base model is relying on a DT for Linux operation, so there is
no reason we would need to rely on hardcoded information for U-Boot.
Letting U-Boot use a DT will open up the usage of actual peripherals,
beyond the support for semihosting only.
Enable OF_CONTROL in the Kconfig, and use the latest dts files from
Linux. Depending on whether we use the boot-wrapper or TF-A, there is
already a DTB provided or not, respectively.
To cover the boot-wrapper, we add an arm64 Linux kernel header, which
allows the boot-wrapper to treat U-Boot like a Linux kernel. U-Boot will
find the pointer to the DTB in x0, and will use it.
Even though TF-A carries a DT, at the moment this is not made available
to non-secure world, so to not break users, we use the U-Boot provided
DTB copy in that case. For some reason TF-A puts some DT like structure
at the address x0 is pointing at, but that is very small and doesn't
carry any hardware information. Make the code to ignore those small DTBs.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2022-03-04 16:30:11 +00:00
|
|
|
select OF_CONTROL
|
|
|
|
select CLK
|
2022-03-04 16:30:13 +00:00
|
|
|
select BLK
|
|
|
|
select MTD_NOR_FLASH if MTD
|
|
|
|
select FLASH_CFI_DRIVER if MTD
|
|
|
|
select ENV_IS_IN_FLASH if MTD
|
2022-03-04 16:30:14 +00:00
|
|
|
imply DISTRO_DEFAULTS
|
2015-01-23 13:41:10 +00:00
|
|
|
|
2020-08-12 15:12:53 +00:00
|
|
|
config TARGET_TOTAL_COMPUTE
|
|
|
|
bool "Support Total Compute Platform"
|
|
|
|
select ARM64
|
|
|
|
select PL01X_SERIAL
|
|
|
|
select DM
|
|
|
|
select DM_SERIAL
|
|
|
|
select DM_MMC
|
|
|
|
select DM_GPIO
|
|
|
|
|
2015-11-09 11:12:07 +00:00
|
|
|
config TARGET_LS2080A_EMU
|
|
|
|
bool "Support ls2080a_emu"
|
2016-10-04 21:31:48 +00:00
|
|
|
select ARCH_LS2080A
|
2014-09-13 18:01:51 +00:00
|
|
|
select ARM64
|
2015-03-09 09:53:21 +00:00
|
|
|
select ARMV8_MULTIENTRY
|
2019-02-01 05:22:01 +00:00
|
|
|
select FSL_DDR_SYNC_REFRESH
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2015-11-09 11:12:07 +00:00
|
|
|
help
|
2019-12-25 11:34:07 +00:00
|
|
|
Support for Freescale LS2080A_EMU platform.
|
|
|
|
The LS2080A Development System (EMULATOR) is a pre-silicon
|
2015-11-09 11:12:07 +00:00
|
|
|
development platform that supports the QorIQ LS2080A
|
|
|
|
Layerscape Architecture processor.
|
2014-07-30 05:08:14 +00:00
|
|
|
|
2017-08-31 10:42:55 +00:00
|
|
|
config TARGET_LS1088AQDS
|
|
|
|
bool "Support ls1088aqds"
|
|
|
|
select ARCH_LS1088A
|
|
|
|
select ARM64
|
|
|
|
select ARMV8_MULTIENTRY
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2017-08-31 10:42:55 +00:00
|
|
|
select BOARD_LATE_INIT
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2017-11-06 07:48:44 +00:00
|
|
|
select SUPPORT_SPL
|
2019-02-01 05:22:01 +00:00
|
|
|
select FSL_DDR_INTERACTIVE if !SD_BOOT
|
2017-08-31 10:42:55 +00:00
|
|
|
help
|
2019-12-25 11:34:07 +00:00
|
|
|
Support for NXP LS1088AQDS platform.
|
2017-08-31 10:42:55 +00:00
|
|
|
The LS1088A Development System (QDS) is a high-performance
|
|
|
|
development platform that supports the QorIQ LS1088A
|
|
|
|
Layerscape Architecture processor.
|
|
|
|
|
2015-11-09 11:12:07 +00:00
|
|
|
config TARGET_LS2080AQDS
|
|
|
|
bool "Support ls2080aqds"
|
2016-10-04 21:31:48 +00:00
|
|
|
select ARCH_LS2080A
|
2015-03-21 02:28:23 +00:00
|
|
|
select ARM64
|
|
|
|
select ARMV8_MULTIENTRY
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2017-01-23 00:43:11 +00:00
|
|
|
select BOARD_LATE_INIT
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2015-03-24 20:25:02 +00:00
|
|
|
select SUPPORT_SPL
|
2017-06-15 03:28:21 +00:00
|
|
|
imply SCSI
|
2017-12-08 13:36:19 +00:00
|
|
|
imply SCSI_AHCI
|
2019-02-01 05:22:01 +00:00
|
|
|
select FSL_DDR_BIST
|
|
|
|
select FSL_DDR_INTERACTIVE if !SPL
|
2015-03-21 02:28:23 +00:00
|
|
|
help
|
2019-12-25 11:34:07 +00:00
|
|
|
Support for Freescale LS2080AQDS platform.
|
2015-11-09 11:12:07 +00:00
|
|
|
The LS2080A Development System (QDS) is a high-performance
|
|
|
|
development platform that supports the QorIQ LS2080A
|
2015-03-21 02:28:23 +00:00
|
|
|
Layerscape Architecture processor.
|
|
|
|
|
2015-11-09 11:12:07 +00:00
|
|
|
config TARGET_LS2080ARDB
|
|
|
|
bool "Support ls2080ardb"
|
2016-10-04 21:31:48 +00:00
|
|
|
select ARCH_LS2080A
|
2015-03-21 02:28:24 +00:00
|
|
|
select ARM64
|
|
|
|
select ARMV8_MULTIENTRY
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2017-01-23 00:43:11 +00:00
|
|
|
select BOARD_LATE_INIT
|
2015-03-24 20:25:03 +00:00
|
|
|
select SUPPORT_SPL
|
2019-02-01 05:22:01 +00:00
|
|
|
select FSL_DDR_BIST
|
|
|
|
select FSL_DDR_INTERACTIVE if !SPL
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2017-06-15 03:28:21 +00:00
|
|
|
imply SCSI
|
2017-12-08 13:36:19 +00:00
|
|
|
imply SCSI_AHCI
|
2015-03-21 02:28:24 +00:00
|
|
|
help
|
2015-11-09 11:12:07 +00:00
|
|
|
Support for Freescale LS2080ARDB platform.
|
|
|
|
The LS2080A Reference design board (RDB) is a high-performance
|
|
|
|
development platform that supports the QorIQ LS2080A
|
2015-03-21 02:28:24 +00:00
|
|
|
Layerscape Architecture processor.
|
|
|
|
|
2017-04-27 09:38:07 +00:00
|
|
|
config TARGET_LS2081ARDB
|
|
|
|
bool "Support ls2081ardb"
|
|
|
|
select ARCH_LS2080A
|
|
|
|
select ARM64
|
|
|
|
select ARMV8_MULTIENTRY
|
|
|
|
select BOARD_LATE_INIT
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2017-04-27 09:38:07 +00:00
|
|
|
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.
|
|
|
|
|
2018-11-28 13:04:27 +00:00
|
|
|
config TARGET_LX2160ARDB
|
|
|
|
bool "Support lx2160ardb"
|
|
|
|
select ARCH_LX2160A
|
|
|
|
select ARM64
|
|
|
|
select ARMV8_MULTIENTRY
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2018-11-28 13:04:27 +00:00
|
|
|
select BOARD_LATE_INIT
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-11-28 13:04:27 +00:00
|
|
|
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.
|
|
|
|
|
2019-02-08 10:29:58 +00:00
|
|
|
config TARGET_LX2160AQDS
|
|
|
|
bool "Support lx2160aqds"
|
|
|
|
select ARCH_LX2160A
|
|
|
|
select ARM64
|
|
|
|
select ARMV8_MULTIENTRY
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2019-02-08 10:29:58 +00:00
|
|
|
select BOARD_LATE_INIT
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2019-02-08 10:29:58 +00:00
|
|
|
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.
|
2020-12-04 14:47:28 +00:00
|
|
|
|
|
|
|
config TARGET_LX2162AQDS
|
|
|
|
bool "Support lx2162aqds"
|
|
|
|
select ARCH_LX2162A
|
|
|
|
select ARCH_MISC_INIT
|
|
|
|
select ARM64
|
|
|
|
select ARMV8_MULTIENTRY
|
|
|
|
select ARCH_SUPPORT_TFABOOT
|
|
|
|
select BOARD_LATE_INIT
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2020-12-04 14:47:28 +00:00
|
|
|
help
|
|
|
|
Support for NXP LX2162AQDS platform.
|
|
|
|
The lx2162aqds support is based on LX2160A Layerscape Architecture processor.
|
2019-02-08 10:29:58 +00:00
|
|
|
|
2015-07-30 17:55:23 +00:00
|
|
|
config TARGET_HIKEY
|
|
|
|
bool "Support HiKey 96boards Consumer Edition Platform"
|
|
|
|
select ARM64
|
2015-09-10 20:55:16 +00:00
|
|
|
select DM
|
|
|
|
select DM_GPIO
|
2015-09-10 20:55:17 +00:00
|
|
|
select DM_SERIAL
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2016-04-20 16:13:59 +00:00
|
|
|
select OF_CONTROL
|
2018-01-25 11:05:52 +00:00
|
|
|
select PL01X_SERIAL
|
2018-03-07 00:02:27 +00:00
|
|
|
select SPECIFY_CONSOLE_INDEX
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2015-07-30 17:55:23 +00:00
|
|
|
help
|
|
|
|
Support for HiKey 96boards platform. It features a HI6220
|
|
|
|
SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
|
|
|
|
|
2019-08-02 15:10:09 +00:00
|
|
|
config TARGET_HIKEY960
|
|
|
|
bool "Support HiKey960 96boards Consumer Edition Platform"
|
|
|
|
select ARM64
|
|
|
|
select DM
|
|
|
|
select DM_SERIAL
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2019-08-02 15:10:09 +00:00
|
|
|
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.
|
|
|
|
|
2017-06-26 13:52:49 +00:00
|
|
|
config TARGET_POPLAR
|
|
|
|
bool "Support Poplar 96boards Enterprise Edition Platform"
|
|
|
|
select ARM64
|
|
|
|
select DM
|
|
|
|
select DM_SERIAL
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-07-23 13:55:13 +00:00
|
|
|
select OF_CONTROL
|
2018-01-25 11:05:52 +00:00
|
|
|
select PL01X_SERIAL
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2017-06-26 13:52:49 +00:00
|
|
|
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.
|
|
|
|
|
2016-06-03 13:11:34 +00:00
|
|
|
config TARGET_LS1012AQDS
|
|
|
|
bool "Support ls1012aqds"
|
2016-09-26 15:09:26 +00:00
|
|
|
select ARCH_LS1012A
|
2016-06-03 13:11:34 +00:00
|
|
|
select ARM64
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2017-01-23 00:43:11 +00:00
|
|
|
select BOARD_LATE_INIT
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2016-06-03 13:11:34 +00:00
|
|
|
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.
|
|
|
|
|
2016-06-03 13:11:35 +00:00
|
|
|
config TARGET_LS1012ARDB
|
|
|
|
bool "Support ls1012ardb"
|
2016-09-26 15:09:26 +00:00
|
|
|
select ARCH_LS1012A
|
2016-06-03 13:11:35 +00:00
|
|
|
select ARM64
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2017-01-23 00:43:11 +00:00
|
|
|
select BOARD_LATE_INIT
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2017-06-15 03:28:21 +00:00
|
|
|
imply SCSI
|
2017-12-08 13:36:19 +00:00
|
|
|
imply SCSI_AHCI
|
2016-06-03 13:11:35 +00:00
|
|
|
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.
|
|
|
|
|
2018-01-11 14:33:31 +00:00
|
|
|
config TARGET_LS1012A2G5RDB
|
|
|
|
bool "Support ls1012a2g5rdb"
|
|
|
|
select ARCH_LS1012A
|
|
|
|
select ARM64
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2018-01-11 14:33:31 +00:00
|
|
|
select BOARD_LATE_INIT
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-01-11 14:33:31 +00:00
|
|
|
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.
|
|
|
|
|
2018-05-23 05:33:30 +00:00
|
|
|
config TARGET_LS1012AFRWY
|
|
|
|
bool "Support ls1012afrwy"
|
|
|
|
select ARCH_LS1012A
|
|
|
|
select ARM64
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2018-07-23 13:55:13 +00:00
|
|
|
select BOARD_LATE_INIT
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2018-05-23 05:33:30 +00:00
|
|
|
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.
|
|
|
|
|
2016-06-03 13:11:36 +00:00
|
|
|
config TARGET_LS1012AFRDM
|
|
|
|
bool "Support ls1012afrdm"
|
2016-09-26 15:09:26 +00:00
|
|
|
select ARCH_LS1012A
|
2016-06-03 13:11:36 +00:00
|
|
|
select ARM64
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2016-06-03 13:11:36 +00:00
|
|
|
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.
|
|
|
|
|
2019-04-10 08:43:35 +00:00
|
|
|
config TARGET_LS1028AQDS
|
|
|
|
bool "Support ls1028aqds"
|
|
|
|
select ARCH_LS1028A
|
|
|
|
select ARM64
|
|
|
|
select ARMV8_MULTIENTRY
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2019-07-02 08:16:22 +00:00
|
|
|
select BOARD_LATE_INIT
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2019-04-10 08:43:35 +00:00
|
|
|
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.
|
|
|
|
|
2019-04-10 08:43:34 +00:00
|
|
|
config TARGET_LS1028ARDB
|
|
|
|
bool "Support ls1028ardb"
|
|
|
|
select ARCH_LS1028A
|
|
|
|
select ARM64
|
|
|
|
select ARMV8_MULTIENTRY
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2020-03-09 06:10:07 +00:00
|
|
|
select BOARD_LATE_INIT
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2019-04-10 08:43:34 +00:00
|
|
|
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.
|
|
|
|
|
2017-08-31 10:42:54 +00:00
|
|
|
config TARGET_LS1088ARDB
|
|
|
|
bool "Support ls1088ardb"
|
|
|
|
select ARCH_LS1088A
|
|
|
|
select ARM64
|
|
|
|
select ARMV8_MULTIENTRY
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2017-08-31 10:42:54 +00:00
|
|
|
select BOARD_LATE_INIT
|
2017-11-06 07:48:43 +00:00
|
|
|
select SUPPORT_SPL
|
2019-02-01 05:22:01 +00:00
|
|
|
select FSL_DDR_INTERACTIVE if !SD_BOOT
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2017-08-31 10:42:54 +00:00
|
|
|
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.
|
|
|
|
|
2014-09-05 05:52:44 +00:00
|
|
|
config TARGET_LS1021AQDS
|
2014-12-03 08:18:09 +00:00
|
|
|
bool "Support ls1021aqds"
|
2018-07-23 13:55:13 +00:00
|
|
|
select ARCH_LS1021A
|
|
|
|
select ARCH_SUPPORT_PSCI
|
|
|
|
select BOARD_EARLY_INIT_F
|
2017-01-23 00:43:11 +00:00
|
|
|
select BOARD_LATE_INIT
|
2018-04-26 12:51:26 +00:00
|
|
|
select CPU_V7A
|
2016-09-21 10:31:04 +00:00
|
|
|
select CPU_V7_HAS_NONSEC
|
|
|
|
select CPU_V7_HAS_VIRT
|
2016-09-26 15:09:29 +00:00
|
|
|
select LS1_DEEP_SLEEP
|
2018-07-23 13:55:13 +00:00
|
|
|
select SUPPORT_SPL
|
2016-12-28 16:43:40 +00:00
|
|
|
select SYS_FSL_DDR
|
2019-02-01 05:22:01 +00:00
|
|
|
select FSL_DDR_INTERACTIVE
|
2020-06-04 15:11:52 +00:00
|
|
|
select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2020-06-04 15:11:52 +00:00
|
|
|
select SPI_FLASH_DATAFLASH if FSL_DSPI || FSL_QSPI
|
2017-06-15 03:28:21 +00:00
|
|
|
imply SCSI
|
2016-08-30 07:22:22 +00:00
|
|
|
|
2014-09-05 05:52:45 +00:00
|
|
|
config TARGET_LS1021ATWR
|
2014-12-03 08:18:09 +00:00
|
|
|
bool "Support ls1021atwr"
|
2018-07-23 13:55:13 +00:00
|
|
|
select ARCH_LS1021A
|
|
|
|
select ARCH_SUPPORT_PSCI
|
|
|
|
select BOARD_EARLY_INIT_F
|
2017-01-23 00:43:11 +00:00
|
|
|
select BOARD_LATE_INIT
|
2018-04-26 12:51:26 +00:00
|
|
|
select CPU_V7A
|
2016-09-21 10:31:04 +00:00
|
|
|
select CPU_V7_HAS_NONSEC
|
|
|
|
select CPU_V7_HAS_VIRT
|
2016-09-26 15:09:29 +00:00
|
|
|
select LS1_DEEP_SLEEP
|
2018-07-23 13:55:13 +00:00
|
|
|
select SUPPORT_SPL
|
2020-06-04 15:11:52 +00:00
|
|
|
select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2017-06-15 03:28:21 +00:00
|
|
|
imply SCSI
|
2014-09-05 05:52:45 +00:00
|
|
|
|
2021-02-22 18:18:11 +00:00
|
|
|
config TARGET_PG_WCOM_SELI8
|
|
|
|
bool "Support Hitachi-Powergrids SELI8 service unit card"
|
|
|
|
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 SYS_FSL_DDR
|
|
|
|
select FSL_DDR_INTERACTIVE
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2021-02-22 18:18:11 +00:00
|
|
|
select VENDOR_KM
|
|
|
|
imply SCSI
|
|
|
|
help
|
|
|
|
Support for Hitachi-Powergrids SELI8 service unit card.
|
|
|
|
SELI8 is a QorIQ LS1021a based service unit card used
|
|
|
|
in XMC20 and FOX615 product families.
|
|
|
|
|
2021-06-08 14:16:28 +00:00
|
|
|
config TARGET_PG_WCOM_EXPU1
|
|
|
|
bool "Support Hitachi-Powergrids EXPU1 service unit card"
|
|
|
|
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 SYS_FSL_DDR
|
|
|
|
select FSL_DDR_INTERACTIVE
|
|
|
|
select VENDOR_KM
|
|
|
|
imply SCSI
|
|
|
|
help
|
|
|
|
Support for Hitachi-Powergrids EXPU1 service unit card.
|
|
|
|
EXPU1 is a QorIQ LS1021a based service unit card used
|
|
|
|
in XMC20 and FOX615 product families.
|
|
|
|
|
Add support for the NXP LS1021A-TSN board
The LS1021A-TSN is a development board built by VVDN/Argonboards in
partnership with NXP.
It features the LS1021A SoC and the first-generation SJA1105T Ethernet
switch for prototyping implementations of a subset of IEEE 802.1 TSN
standards.
Supported boot media: microSD card (via SPL), QSPI flash.
Rev. A of the board uses a Spansion S25FL512S_256K serial flash, which
is 64 MB in size and has an erase sector size of 256KB (therefore,
flashing the RCW would erase part of U-Boot).
Rev. B and C of the board use a Spansion S25FL256S1 serial flash, which
is only 32 MB in size but has an erase sector size of 64KB (therefore
the RCW image can be flashed without erasing U-Boot).
To avoid the problems above, the U-Boot base address has been selected
at 0x100000 (the start of the 5th 256KB erase sector), which works for
all board revisions. Actually 0x40000 would have been enough, but
0x100000 is common for all Layerscape devices.
eTSEC3 is connecting directly to SJA1105 via an RGMII fixed-link, but
SJA1105 is currently not supported by uboot. Therefore, eTSEC3 is
disabled.
Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Signed-off-by: Mingkai Hu <mingkai.hu@nxp.com>
Signed-off-by: Jianchao Wang <jianchao.wang@nxp.com>
Signed-off-by: Changming Huang <jerry.huang@nxp.com>
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
[Vladimir] Code taken from https://github.com/openil/u-boot (which
itself is mostly copied from ls1021a-iot) and adapted with the following
changes:
- Add a008850 errata workaround
- Converted eTSEC, MMC to DM to avoid all build warnings
- Plugged in distro boot feature, including support for extlinux.conf
- Added defconfig for QSPI boot
- Added the board/freescale/ls1021atsn/README.rst for initial setup
- Increased CONFIG_SYS_MONITOR_LEN so that the SPL malloc pool does not
get overwritten during copying of the u-boot.bin payload from MMC to
DDR.
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-07-18 21:30:01 +00:00
|
|
|
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
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
Add support for the NXP LS1021A-TSN board
The LS1021A-TSN is a development board built by VVDN/Argonboards in
partnership with NXP.
It features the LS1021A SoC and the first-generation SJA1105T Ethernet
switch for prototyping implementations of a subset of IEEE 802.1 TSN
standards.
Supported boot media: microSD card (via SPL), QSPI flash.
Rev. A of the board uses a Spansion S25FL512S_256K serial flash, which
is 64 MB in size and has an erase sector size of 256KB (therefore,
flashing the RCW would erase part of U-Boot).
Rev. B and C of the board use a Spansion S25FL256S1 serial flash, which
is only 32 MB in size but has an erase sector size of 64KB (therefore
the RCW image can be flashed without erasing U-Boot).
To avoid the problems above, the U-Boot base address has been selected
at 0x100000 (the start of the 5th 256KB erase sector), which works for
all board revisions. Actually 0x40000 would have been enough, but
0x100000 is common for all Layerscape devices.
eTSEC3 is connecting directly to SJA1105 via an RGMII fixed-link, but
SJA1105 is currently not supported by uboot. Therefore, eTSEC3 is
disabled.
Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Signed-off-by: Mingkai Hu <mingkai.hu@nxp.com>
Signed-off-by: Jianchao Wang <jianchao.wang@nxp.com>
Signed-off-by: Changming Huang <jerry.huang@nxp.com>
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
[Vladimir] Code taken from https://github.com/openil/u-boot (which
itself is mostly copied from ls1021a-iot) and adapted with the following
changes:
- Add a008850 errata workaround
- Converted eTSEC, MMC to DM to avoid all build warnings
- Plugged in distro boot feature, including support for extlinux.conf
- Added defconfig for QSPI boot
- Added the board/freescale/ls1021atsn/README.rst for initial setup
- Increased CONFIG_SYS_MONITOR_LEN so that the SPL malloc pool does not
get overwritten during copying of the u-boot.bin payload from MMC to
DDR.
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-07-18 21:30:01 +00:00
|
|
|
imply SCSI
|
|
|
|
|
2016-11-03 06:15:17 +00:00
|
|
|
config TARGET_LS1021AIOT
|
|
|
|
bool "Support ls1021aiot"
|
2018-07-23 13:55:13 +00:00
|
|
|
select ARCH_LS1021A
|
|
|
|
select ARCH_SUPPORT_PSCI
|
2017-01-23 00:43:11 +00:00
|
|
|
select BOARD_LATE_INIT
|
2018-04-26 12:51:26 +00:00
|
|
|
select CPU_V7A
|
2016-11-03 06:15:17 +00:00
|
|
|
select CPU_V7_HAS_NONSEC
|
|
|
|
select CPU_V7_HAS_VIRT
|
|
|
|
select SUPPORT_SPL
|
2020-06-04 15:11:52 +00:00
|
|
|
select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2017-06-15 03:28:21 +00:00
|
|
|
imply SCSI
|
2016-11-03 06:15:17 +00:00
|
|
|
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.
|
|
|
|
|
2015-11-11 09:58:37 +00:00
|
|
|
config TARGET_LS1043AQDS
|
|
|
|
bool "Support ls1043aqds"
|
2016-09-26 15:09:27 +00:00
|
|
|
select ARCH_LS1043A
|
2015-11-11 09:58:37 +00:00
|
|
|
select ARM64
|
|
|
|
select ARMV8_MULTIENTRY
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2018-07-23 13:55:13 +00:00
|
|
|
select BOARD_EARLY_INIT_F
|
2017-01-23 00:43:11 +00:00
|
|
|
select BOARD_LATE_INIT
|
2015-11-11 09:58:37 +00:00
|
|
|
select SUPPORT_SPL
|
2019-02-01 05:22:01 +00:00
|
|
|
select FSL_DDR_INTERACTIVE if !SPL
|
2020-06-04 15:11:51 +00:00
|
|
|
select FSL_DSPI if !SPL_NO_DSPI
|
|
|
|
select DM_SPI_FLASH if FSL_DSPI
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2017-06-15 03:28:21 +00:00
|
|
|
imply SCSI
|
2019-01-30 11:11:49 +00:00
|
|
|
imply SCSI_AHCI
|
2015-11-11 09:58:37 +00:00
|
|
|
help
|
|
|
|
Support for Freescale LS1043AQDS platform.
|
|
|
|
|
2015-10-26 11:47:52 +00:00
|
|
|
config TARGET_LS1043ARDB
|
|
|
|
bool "Support ls1043ardb"
|
2016-09-26 15:09:27 +00:00
|
|
|
select ARCH_LS1043A
|
2015-10-26 11:47:52 +00:00
|
|
|
select ARM64
|
2015-10-26 11:47:57 +00:00
|
|
|
select ARMV8_MULTIENTRY
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2018-07-23 13:55:13 +00:00
|
|
|
select BOARD_EARLY_INIT_F
|
2017-01-23 00:43:11 +00:00
|
|
|
select BOARD_LATE_INIT
|
2015-10-26 11:47:53 +00:00
|
|
|
select SUPPORT_SPL
|
2020-06-04 15:11:51 +00:00
|
|
|
select FSL_DSPI if !SPL_NO_DSPI
|
|
|
|
select DM_SPI_FLASH if FSL_DSPI
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2015-10-26 11:47:52 +00:00
|
|
|
help
|
|
|
|
Support for Freescale LS1043ARDB platform.
|
|
|
|
|
2016-09-07 09:56:14 +00:00
|
|
|
config TARGET_LS1046AQDS
|
|
|
|
bool "Support ls1046aqds"
|
2016-09-26 15:09:24 +00:00
|
|
|
select ARCH_LS1046A
|
2016-09-07 09:56:14 +00:00
|
|
|
select ARM64
|
|
|
|
select ARMV8_MULTIENTRY
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2018-07-23 13:55:13 +00:00
|
|
|
select BOARD_EARLY_INIT_F
|
2017-01-23 00:43:11 +00:00
|
|
|
select BOARD_LATE_INIT
|
2016-09-07 09:56:14 +00:00
|
|
|
select DM_SPI_FLASH if DM_SPI
|
2018-07-23 13:55:13 +00:00
|
|
|
select SUPPORT_SPL
|
2019-02-01 05:22:01 +00:00
|
|
|
select FSL_DDR_BIST if !SPL
|
|
|
|
select FSL_DDR_INTERACTIVE if !SPL
|
|
|
|
select FSL_DDR_INTERACTIVE if !SPL
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2017-06-15 03:28:21 +00:00
|
|
|
imply SCSI
|
2016-09-07 09:56:14 +00:00
|
|
|
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.
|
|
|
|
|
2016-09-07 10:47:28 +00:00
|
|
|
config TARGET_LS1046ARDB
|
|
|
|
bool "Support ls1046ardb"
|
2016-09-26 15:09:24 +00:00
|
|
|
select ARCH_LS1046A
|
2016-09-07 10:47:28 +00:00
|
|
|
select ARM64
|
|
|
|
select ARMV8_MULTIENTRY
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2018-07-23 13:55:13 +00:00
|
|
|
select BOARD_EARLY_INIT_F
|
2017-01-23 00:43:11 +00:00
|
|
|
select BOARD_LATE_INIT
|
2016-09-07 10:47:28 +00:00
|
|
|
select DM_SPI_FLASH if DM_SPI
|
2016-12-09 08:09:01 +00:00
|
|
|
select POWER_MC34VR500
|
2018-07-23 13:55:13 +00:00
|
|
|
select SUPPORT_SPL
|
2019-02-01 05:22:01 +00:00
|
|
|
select FSL_DDR_BIST
|
|
|
|
select FSL_DDR_INTERACTIVE if !SPL
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2017-06-15 03:28:21 +00:00
|
|
|
imply SCSI
|
2016-09-07 10:47:28 +00:00
|
|
|
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.
|
|
|
|
|
2019-06-06 12:35:28 +00:00
|
|
|
config TARGET_LS1046AFRWY
|
|
|
|
bool "Support ls1046afrwy"
|
|
|
|
select ARCH_LS1046A
|
|
|
|
select ARM64
|
|
|
|
select ARMV8_MULTIENTRY
|
2019-07-03 01:44:39 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2019-06-06 12:35:28 +00:00
|
|
|
select BOARD_EARLY_INIT_F
|
|
|
|
select BOARD_LATE_INIT
|
|
|
|
select DM_SPI_FLASH if DM_SPI
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2019-06-06 12:35:28 +00:00
|
|
|
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.
|
2014-07-30 05:08:14 +00:00
|
|
|
|
2020-10-15 21:08:57 +00:00
|
|
|
config TARGET_SL28
|
|
|
|
bool "Support sl28"
|
|
|
|
select ARCH_LS1028A
|
|
|
|
select ARM64
|
|
|
|
select ARMV8_MULTIENTRY
|
|
|
|
select SUPPORT_SPL
|
|
|
|
select BINMAN
|
2021-03-26 18:40:57 +00:00
|
|
|
select DM
|
|
|
|
select DM_GPIO
|
|
|
|
select DM_I2C
|
|
|
|
select DM_MMC
|
|
|
|
select DM_SPI_FLASH
|
|
|
|
select DM_ETH
|
|
|
|
select DM_MDIO
|
2021-08-02 00:54:44 +00:00
|
|
|
select PCI
|
2021-03-26 18:40:57 +00:00
|
|
|
select DM_RNG
|
|
|
|
select DM_RTC
|
|
|
|
select DM_SCSI
|
2021-03-26 18:40:58 +00:00
|
|
|
select DM_SERIAL
|
2021-03-26 18:40:57 +00:00
|
|
|
select DM_SPI
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2021-03-26 18:40:57 +00:00
|
|
|
select SPL_DM if SPL
|
|
|
|
select SPL_DM_SPI if SPL
|
|
|
|
select SPL_DM_SPI_FLASH if SPL
|
|
|
|
select SPL_DM_I2C if SPL
|
|
|
|
select SPL_DM_MMC if SPL
|
|
|
|
select SPL_DM_SERIAL if SPL
|
2020-10-15 21:08:57 +00:00
|
|
|
help
|
|
|
|
Support for Kontron SMARC-sAL28 board.
|
|
|
|
|
2022-01-31 13:04:43 +00:00
|
|
|
config TARGET_TEN64
|
|
|
|
bool "Support ten64"
|
|
|
|
select ARCH_LS1088A
|
|
|
|
select ARCH_MISC_INIT
|
|
|
|
select ARM64
|
|
|
|
select ARMV8_MULTIENTRY
|
|
|
|
select ARCH_SUPPORT_TFABOOT
|
|
|
|
select BOARD_LATE_INIT
|
|
|
|
select SUPPORT_SPL
|
|
|
|
select FSL_DDR_INTERACTIVE if !SD_BOOT
|
|
|
|
select GPIO_EXTRA_HEADER
|
|
|
|
help
|
|
|
|
Support for Traverse Technologies Ten64 board, based
|
|
|
|
on NXP LS1088A.
|
|
|
|
|
2014-10-03 10:21:07 +00:00
|
|
|
config ARCH_UNIPHIER
|
2015-05-29 08:30:01 +00:00
|
|
|
bool "Socionext UniPhier SoCs"
|
2017-01-23 00:43:11 +00:00
|
|
|
select BOARD_LATE_INIT
|
2015-03-31 03:47:54 +00:00
|
|
|
select DM
|
2020-05-07 13:11:19 +00:00
|
|
|
select DM_ETH
|
2016-02-16 08:03:50 +00:00
|
|
|
select DM_GPIO
|
2015-03-31 03:47:54 +00:00
|
|
|
select DM_I2C
|
2016-02-18 10:52:49 +00:00
|
|
|
select DM_MMC
|
2020-01-30 13:07:59 +00:00
|
|
|
select DM_MTD
|
2016-10-08 04:25:31 +00:00
|
|
|
select DM_RESET
|
2016-09-13 16:05:59 +00:00
|
|
|
select DM_SERIAL
|
2018-07-19 07:28:25 +00:00
|
|
|
select OF_BOARD_SETUP
|
2016-09-13 16:05:59 +00:00
|
|
|
select OF_CONTROL
|
|
|
|
select OF_LIBFDT
|
2016-09-16 18:33:01 +00:00
|
|
|
select PINCTRL
|
2017-05-03 09:13:32 +00:00
|
|
|
select SPL_BOARD_INIT if SPL
|
2017-01-21 09:05:22 +00:00
|
|
|
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
|
2016-09-13 16:05:59 +00:00
|
|
|
select SUPPORT_SPL
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2018-07-20 12:47:18 +00:00
|
|
|
imply DISTRO_DEFAULTS
|
2017-06-02 15:03:50 +00:00
|
|
|
imply FAT_WRITE
|
2015-05-29 08:30:01 +00:00
|
|
|
help
|
|
|
|
Support for UniPhier SoC family developed by Socionext Inc.
|
|
|
|
(formerly, System LSI Business Division of Panasonic Corporation)
|
2014-10-03 10:21:07 +00:00
|
|
|
|
2021-06-04 09:45:10 +00:00
|
|
|
config ARCH_SYNQUACER
|
|
|
|
bool "Socionext SynQuacer SoCs"
|
|
|
|
select ARM64
|
|
|
|
select DM
|
|
|
|
select GIC_V3
|
|
|
|
select PSCI_RESET
|
|
|
|
select SYSRESET
|
|
|
|
select SYSRESET_PSCI
|
|
|
|
select OF_CONTROL
|
|
|
|
help
|
|
|
|
Support for SynQuacer SoC family developed by Socionext Inc.
|
|
|
|
This SoC is used on 96boards EE DeveloperBox.
|
|
|
|
|
2020-05-06 12:02:42 +00:00
|
|
|
config ARCH_STM32
|
2018-03-12 09:46:10 +00:00
|
|
|
bool "Support STMicroelectronics STM32 MCU with cortex M"
|
2015-03-01 11:44:42 +00:00
|
|
|
select CPU_V7M
|
2015-12-01 08:08:19 +00:00
|
|
|
select DM
|
|
|
|
select DM_SERIAL
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2015-03-01 11:44:42 +00:00
|
|
|
|
2017-02-21 12:37:04 +00:00
|
|
|
config ARCH_STI
|
|
|
|
bool "Support STMicrolectronics SoCs"
|
2018-07-23 13:55:13 +00:00
|
|
|
select BLK
|
2018-04-26 12:51:26 +00:00
|
|
|
select CPU_V7A
|
2017-02-21 12:37:07 +00:00
|
|
|
select DM
|
2017-02-21 12:37:09 +00:00
|
|
|
select DM_MMC
|
2017-03-22 09:54:03 +00:00
|
|
|
select DM_RESET
|
2018-07-23 13:55:13 +00:00
|
|
|
select DM_SERIAL
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2017-02-21 12:37:04 +00:00
|
|
|
help
|
|
|
|
Support for STMicroelectronics STiH407/10 SoC family.
|
|
|
|
This SoC is used on Linaro 96Board STiH410-B2260
|
|
|
|
|
2018-03-12 09:46:10 +00:00
|
|
|
config ARCH_STM32MP
|
|
|
|
bool "Support STMicroelectronics STM32MP Socs with cortex A"
|
2018-03-20 09:54:53 +00:00
|
|
|
select ARCH_MISC_INIT
|
2020-04-01 07:07:33 +00:00
|
|
|
select ARCH_SUPPORT_TFABOOT
|
2018-03-12 09:46:10 +00:00
|
|
|
select BOARD_LATE_INIT
|
|
|
|
select CLK
|
|
|
|
select DM
|
|
|
|
select DM_GPIO
|
|
|
|
select DM_RESET
|
|
|
|
select DM_SERIAL
|
2018-07-23 13:55:13 +00:00
|
|
|
select MISC
|
2018-03-12 09:46:10 +00:00
|
|
|
select OF_CONTROL
|
|
|
|
select OF_LIBFDT
|
2019-07-05 15:20:14 +00:00
|
|
|
select OF_SYSTEM_SETUP
|
2018-03-12 09:46:10 +00:00
|
|
|
select PINCTRL
|
|
|
|
select REGMAP
|
|
|
|
select SUPPORT_SPL
|
|
|
|
select SYSCON
|
2018-03-20 13:15:06 +00:00
|
|
|
select SYSRESET
|
2018-03-12 09:46:10 +00:00
|
|
|
select SYS_THUMB_BUILD
|
2019-04-02 12:41:25 +00:00
|
|
|
imply SPL_SYSRESET
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2019-04-12 09:55:46 +00:00
|
|
|
imply CMD_POWEROFF
|
2019-07-30 17:16:28 +00:00
|
|
|
imply OF_LIBFDT_OVERLAY
|
2019-02-27 16:01:11 +00:00
|
|
|
imply ENV_VARS_UBOOT_RUNTIME_CONFIG
|
2019-04-18 15:32:38 +00:00
|
|
|
imply USE_PREBOOT
|
2021-12-18 18:27:50 +00:00
|
|
|
imply TIMESTAMP
|
2018-03-12 09:46:10 +00:00
|
|
|
help
|
|
|
|
Support for STM32MP SoC family developed by STMicroelectronics,
|
|
|
|
MPUs based on ARM cortex A core
|
2019-02-12 10:44:39 +00:00
|
|
|
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.
|
2018-03-12 09:46:10 +00:00
|
|
|
|
2015-08-30 22:55:38 +00:00
|
|
|
config ARCH_ROCKCHIP
|
|
|
|
bool "Support Rockchip SoCs"
|
2016-06-13 05:30:14 +00:00
|
|
|
select BLK
|
2021-07-25 14:25:58 +00:00
|
|
|
select BINMAN if SPL_OPTEE || (SPL && !ARM64)
|
2015-08-30 22:55:38 +00:00
|
|
|
select DM
|
2016-06-13 05:30:14 +00:00
|
|
|
select DM_GPIO
|
|
|
|
select DM_I2C
|
|
|
|
select DM_MMC
|
2018-07-23 13:55:13 +00:00
|
|
|
select DM_PWM
|
|
|
|
select DM_REGULATOR
|
2016-06-13 05:30:14 +00:00
|
|
|
select DM_SERIAL
|
|
|
|
select DM_SPI
|
|
|
|
select DM_SPI_FLASH
|
2017-10-10 14:21:03 +00:00
|
|
|
select ENABLE_ARM_SOC_BOOT0_HOOK
|
2018-07-23 13:55:13 +00:00
|
|
|
select OF_CONTROL
|
2018-04-15 17:51:26 +00:00
|
|
|
select SPI
|
2018-07-23 13:55:13 +00:00
|
|
|
select SPL_DM if SPL
|
2020-06-04 15:11:53 +00:00
|
|
|
select SPL_DM_SPI if SPL
|
|
|
|
select SPL_DM_SPI_FLASH if SPL
|
2018-07-23 13:55:13 +00:00
|
|
|
select SYS_MALLOC_F
|
|
|
|
select SYS_THUMB_BUILD if !ARM64
|
|
|
|
imply ADC
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2019-03-29 01:08:58 +00:00
|
|
|
imply DEBUG_UART_BOARD_INIT
|
2018-04-25 09:47:52 +00:00
|
|
|
imply DISTRO_DEFAULTS
|
2017-06-02 15:03:50 +00:00
|
|
|
imply FAT_WRITE
|
2017-09-20 11:50:13 +00:00
|
|
|
imply SARADC_ROCKCHIP
|
2018-07-23 13:55:13 +00:00
|
|
|
imply SPL_SYSRESET
|
2019-11-15 16:48:57 +00:00
|
|
|
imply SPL_SYS_MALLOC_SIMPLE
|
2018-04-19 03:37:09 +00:00
|
|
|
imply SYS_NS16550
|
2018-07-23 13:55:13 +00:00
|
|
|
imply TPL_SYSRESET
|
|
|
|
imply USB_FUNCTION_FASTBOOT
|
2015-08-30 22:55:38 +00:00
|
|
|
|
2019-10-20 01:37:55 +00:00
|
|
|
config ARCH_OCTEONTX
|
|
|
|
bool "Support OcteonTX SoCs"
|
2020-09-23 09:01:30 +00:00
|
|
|
select CLK
|
2019-10-20 01:37:55 +00:00
|
|
|
select DM
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2019-10-20 01:37:55 +00:00
|
|
|
select ARM64
|
|
|
|
select OF_CONTROL
|
|
|
|
select OF_LIVE
|
|
|
|
select BOARD_LATE_INIT
|
|
|
|
select SYS_CACHE_SHIFT_7
|
2021-12-13 03:12:32 +00:00
|
|
|
select SYS_PCI_64BIT if PCI
|
2021-12-17 03:59:36 +00:00
|
|
|
imply OF_HAS_PRIOR_STAGE
|
2019-10-20 01:47:37 +00:00
|
|
|
|
|
|
|
config ARCH_OCTEONTX2
|
|
|
|
bool "Support OcteonTX2 SoCs"
|
2020-09-23 09:01:30 +00:00
|
|
|
select CLK
|
2019-10-20 01:47:37 +00:00
|
|
|
select DM
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2019-10-20 01:47:37 +00:00
|
|
|
select ARM64
|
|
|
|
select OF_CONTROL
|
|
|
|
select OF_LIVE
|
|
|
|
select BOARD_LATE_INIT
|
|
|
|
select SYS_CACHE_SHIFT_7
|
2021-12-13 03:12:32 +00:00
|
|
|
select SYS_PCI_64BIT if PCI
|
2021-12-17 03:59:36 +00:00
|
|
|
imply OF_HAS_PRIOR_STAGE
|
2019-10-20 01:47:37 +00:00
|
|
|
|
2015-10-14 16:55:50 +00:00
|
|
|
config TARGET_THUNDERX_88XX
|
|
|
|
bool "Support ThunderX 88xx"
|
2016-06-01 00:33:53 +00:00
|
|
|
select ARM64
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2015-10-14 16:55:50 +00:00
|
|
|
select OF_CONTROL
|
2018-01-25 11:05:52 +00:00
|
|
|
select PL01X_SERIAL
|
2018-07-23 13:55:13 +00:00
|
|
|
select SYS_CACHE_SHIFT_7
|
2015-10-14 16:55:50 +00:00
|
|
|
|
2017-01-18 21:44:55 +00:00
|
|
|
config ARCH_ASPEED
|
|
|
|
bool "Support Aspeed SoCs"
|
|
|
|
select DM
|
2018-07-23 13:55:13 +00:00
|
|
|
select OF_CONTROL
|
2018-07-23 13:55:14 +00:00
|
|
|
imply CMD_DM
|
2017-01-18 21:44:55 +00:00
|
|
|
|
2019-10-31 07:51:08 +00:00
|
|
|
config TARGET_DURIAN
|
|
|
|
bool "Support Phytium Durian Platform"
|
|
|
|
select ARM64
|
2021-06-04 09:43:55 +00:00
|
|
|
select GPIO_EXTRA_HEADER
|
2019-10-31 07:51:08 +00:00
|
|
|
help
|
|
|
|
Support for durian platform.
|
|
|
|
It has 2GB Sdram, uart and pcie.
|
|
|
|
|
2022-03-02 07:09:05 +00:00
|
|
|
config TARGET_POMELO
|
|
|
|
bool "Support Phytium Pomelo Platform"
|
|
|
|
select ARM64
|
|
|
|
select DM
|
|
|
|
select AHCI
|
|
|
|
select SCSI_AHCI
|
|
|
|
select AHCI_PCI
|
|
|
|
select BLK
|
|
|
|
select PCI
|
|
|
|
select DM_PCI
|
|
|
|
select SCSI
|
|
|
|
select DM_SCSI
|
|
|
|
select DM_SERIAL
|
|
|
|
select DM_ETH if NET
|
|
|
|
imply CMD_PCI
|
|
|
|
help
|
|
|
|
Support for pomelo platform.
|
|
|
|
It has 8GB Sdram, uart and pcie.
|
|
|
|
|
2020-01-30 20:34:59 +00:00
|
|
|
config TARGET_PRESIDIO_ASIC
|
|
|
|
bool "Support Cortina Presidio ASIC Platform"
|
|
|
|
select ARM64
|
2021-08-19 18:19:39 +00:00
|
|
|
select GICV2
|
2020-01-30 20:34:59 +00:00
|
|
|
|
2020-08-06 09:42:47 +00:00
|
|
|
config TARGET_XENGUEST_ARM64
|
|
|
|
bool "Xen guest ARM64"
|
|
|
|
select ARM64
|
|
|
|
select XEN
|
|
|
|
select OF_CONTROL
|
|
|
|
select LINUX_KERNEL_IMAGE_HEADER
|
2020-08-06 09:42:50 +00:00
|
|
|
select XEN_SERIAL
|
2020-08-06 09:42:53 +00:00
|
|
|
select SSCANF
|
2021-12-17 03:59:36 +00:00
|
|
|
imply OF_HAS_PRIOR_STAGE
|
|
|
|
|
2014-07-30 05:08:14 +00:00
|
|
|
endchoice
|
|
|
|
|
arm: Disable ATAGs support
With the exceptions of ds109, ds414, icnova-a20-swac, nokia_rx51 and
stemmy, disable ATAG support. A large number of platforms had enabled
support but never supported a kernel so old as to require it. Further,
some platforms are old enough to support both, but are well supported by
devicetree booting, and have been for a number of years. This is
because some of the ATAGs related functions have been re-used to provide
the same kind of information, but for devicetree or just generally to
inform the user. When needed still, rename these functions to
get_board_revision() instead, to avoid conflicts. In other cases, these
functions were simply unused, so drop them.
Cc: Andre Przywara <andre.przywara@arm.com>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Phil Sutter <phil@nwl.cc>
Cc: Stefan Bosch <stefan_b@posteo.net>
Signed-off-by: Tom Rini <trini@konsulko.com>
2021-08-30 13:16:30 +00:00
|
|
|
config SUPPORT_PASSING_ATAGS
|
|
|
|
bool "Support pre-devicetree ATAG-based booting"
|
|
|
|
depends on !ARM64
|
|
|
|
imply SETUP_MEMORY_TAGS
|
|
|
|
help
|
|
|
|
Support for booting older Linux kernels, using ATAGs rather than
|
|
|
|
passing a devicetree. This is option is rarely used, and the
|
|
|
|
semantics are defined at
|
|
|
|
https://www.kernel.org/doc/Documentation/arm/Booting at section 4a.
|
|
|
|
|
|
|
|
config SETUP_MEMORY_TAGS
|
|
|
|
bool "Pass memory size information via ATAG"
|
|
|
|
depends on SUPPORT_PASSING_ATAGS
|
|
|
|
|
|
|
|
config CMDLINE_TAG
|
|
|
|
bool "Pass Linux kernel cmdline via ATAG"
|
|
|
|
depends on SUPPORT_PASSING_ATAGS
|
|
|
|
|
|
|
|
config INITRD_TAG
|
|
|
|
bool "Pass initrd starting point and size via ATAG"
|
|
|
|
depends on SUPPORT_PASSING_ATAGS
|
|
|
|
|
|
|
|
config REVISION_TAG
|
|
|
|
bool "Pass system revision via ATAG"
|
|
|
|
depends on SUPPORT_PASSING_ATAGS
|
|
|
|
|
|
|
|
config SERIAL_TAG
|
|
|
|
bool "Pass system serial number via ATAG"
|
|
|
|
depends on SUPPORT_PASSING_ATAGS
|
|
|
|
|
2021-08-30 13:16:31 +00:00
|
|
|
config STATIC_MACH_TYPE
|
|
|
|
bool "Statically define the Machine ID number"
|
|
|
|
help
|
|
|
|
When booting via ATAGs, enable this option if we know the correct
|
|
|
|
machine ID number to use at compile time. Some systems will be
|
|
|
|
passed the number dynamically by whatever loads U-Boot.
|
|
|
|
|
|
|
|
config MACH_TYPE
|
|
|
|
int "Machine ID number"
|
|
|
|
depends on STATIC_MACH_TYPE
|
|
|
|
help
|
|
|
|
When booting via ATAGs, the machine type must be passed as a number.
|
|
|
|
For the full list see https://www.arm.linux.org.uk/developer/machines
|
|
|
|
|
2019-07-03 01:44:39 +00:00
|
|
|
config ARCH_SUPPORT_TFABOOT
|
|
|
|
bool
|
|
|
|
|
|
|
|
config TFABOOT
|
|
|
|
bool "Support for booting from TF-A"
|
|
|
|
depends on ARCH_SUPPORT_TFABOOT
|
|
|
|
help
|
2020-09-30 14:45:07 +00:00
|
|
|
Some platforms support the setup of secure registers (for instance
|
|
|
|
for CPU errata handling) or provide secure services like PSCI.
|
|
|
|
Those services could also be provided by other firmware parts
|
|
|
|
like TF-A (Trusted Firmware for Cortex-A), in which case U-Boot
|
|
|
|
does not need to (and cannot) execute this code.
|
|
|
|
Enabling this option will make a U-Boot binary that is relying
|
|
|
|
on other firmware layers to provide secure functionality.
|
2019-07-03 01:44:39 +00:00
|
|
|
|
2018-02-14 17:53:37 +00:00
|
|
|
config TI_SECURE_DEVICE
|
|
|
|
bool "HS Device Type Support"
|
2019-04-12 16:54:45 +00:00
|
|
|
depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
|
2018-02-14 17:53:37 +00:00
|
|
|
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.
|
|
|
|
|
2019-03-19 11:14:37 +00:00
|
|
|
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
|
|
|
|
|
2021-12-17 23:08:45 +00:00
|
|
|
config SYS_KWD_CONFIG
|
|
|
|
string "kwbimage config file path"
|
|
|
|
depends on ARCH_KIRKWOOD || ARCH_MVEBU
|
|
|
|
default "arch/arm/mach-mvebu/kwbimage.cfg"
|
|
|
|
help
|
|
|
|
Path within the source directory to the kwbimage.cfg file to use
|
|
|
|
when packaging the U-Boot image for use.
|
|
|
|
|
2021-10-23 14:58:03 +00:00
|
|
|
source "arch/arm/mach-apple/Kconfig"
|
|
|
|
|
2017-01-18 21:44:55 +00:00
|
|
|
source "arch/arm/mach-aspeed/Kconfig"
|
|
|
|
|
2015-02-20 08:04:01 +00:00
|
|
|
source "arch/arm/mach-at91/Kconfig"
|
|
|
|
|
2015-03-19 10:42:56 +00:00
|
|
|
source "arch/arm/mach-bcm283x/Kconfig"
|
2014-08-30 22:11:01 +00:00
|
|
|
|
2018-06-08 21:59:45 +00:00
|
|
|
source "arch/arm/mach-bcmstb/Kconfig"
|
|
|
|
|
2015-03-19 10:42:56 +00:00
|
|
|
source "arch/arm/mach-davinci/Kconfig"
|
2015-02-06 04:41:39 +00:00
|
|
|
|
2015-08-03 12:28:00 +00:00
|
|
|
source "arch/arm/mach-exynos/Kconfig"
|
2014-08-30 22:11:00 +00:00
|
|
|
|
2015-02-20 08:04:08 +00:00
|
|
|
source "arch/arm/mach-highbank/Kconfig"
|
2014-08-30 22:11:07 +00:00
|
|
|
|
2015-04-21 12:59:36 +00:00
|
|
|
source "arch/arm/mach-integrator/Kconfig"
|
|
|
|
|
2020-07-06 08:37:54 +00:00
|
|
|
source "arch/arm/mach-ipq40xx/Kconfig"
|
|
|
|
|
2018-08-27 10:27:08 +00:00
|
|
|
source "arch/arm/mach-k3/Kconfig"
|
|
|
|
|
2015-02-20 08:04:11 +00:00
|
|
|
source "arch/arm/mach-keystone/Kconfig"
|
2014-08-30 22:11:05 +00:00
|
|
|
|
2015-02-20 08:04:06 +00:00
|
|
|
source "arch/arm/mach-kirkwood/Kconfig"
|
2014-08-30 22:10:59 +00:00
|
|
|
|
2020-05-06 12:02:36 +00:00
|
|
|
source "arch/arm/mach-lpc32xx/Kconfig"
|
2018-09-17 18:43:03 +00:00
|
|
|
|
2015-08-25 11:18:38 +00:00
|
|
|
source "arch/arm/mach-mvebu/Kconfig"
|
|
|
|
|
2019-10-20 01:37:55 +00:00
|
|
|
source "arch/arm/mach-octeontx/Kconfig"
|
2019-10-20 01:47:37 +00:00
|
|
|
|
|
|
|
source "arch/arm/mach-octeontx2/Kconfig"
|
|
|
|
|
2016-09-26 15:09:27 +00:00
|
|
|
source "arch/arm/cpu/armv7/ls102xa/Kconfig"
|
|
|
|
|
2018-05-11 12:06:54 +00:00
|
|
|
source "arch/arm/mach-imx/mx3/Kconfig"
|
|
|
|
|
2018-01-10 05:20:19 +00:00
|
|
|
source "arch/arm/mach-imx/mx5/Kconfig"
|
|
|
|
|
|
|
|
source "arch/arm/mach-imx/mx6/Kconfig"
|
2017-02-22 08:21:39 +00:00
|
|
|
|
2017-06-29 08:16:06 +00:00
|
|
|
source "arch/arm/mach-imx/mx7/Kconfig"
|
2015-09-03 16:49:28 +00:00
|
|
|
|
2018-01-10 05:20:19 +00:00
|
|
|
source "arch/arm/mach-imx/mx7ulp/Kconfig"
|
2015-03-04 12:13:03 +00:00
|
|
|
|
2018-10-18 12:28:08 +00:00
|
|
|
source "arch/arm/mach-imx/imx8/Kconfig"
|
|
|
|
|
2018-11-20 10:19:25 +00:00
|
|
|
source "arch/arm/mach-imx/imx8m/Kconfig"
|
2015-04-08 16:56:29 +00:00
|
|
|
|
2021-08-07 08:00:30 +00:00
|
|
|
source "arch/arm/mach-imx/imx8ulp/Kconfig"
|
|
|
|
|
2020-01-10 14:51:47 +00:00
|
|
|
source "arch/arm/mach-imx/imxrt/Kconfig"
|
|
|
|
|
2018-02-06 08:44:34 +00:00
|
|
|
source "arch/arm/mach-imx/mxs/Kconfig"
|
|
|
|
|
2016-11-08 02:34:54 +00:00
|
|
|
source "arch/arm/mach-omap2/Kconfig"
|
2016-05-20 00:10:43 +00:00
|
|
|
|
2016-09-26 15:09:24 +00:00
|
|
|
source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
|
|
|
|
|
2015-02-20 08:04:09 +00:00
|
|
|
source "arch/arm/mach-orion5x/Kconfig"
|
2014-08-30 22:11:06 +00:00
|
|
|
|
2018-06-14 18:08:31 +00:00
|
|
|
source "arch/arm/mach-owl/Kconfig"
|
|
|
|
|
2015-10-09 07:40:09 +00:00
|
|
|
source "arch/arm/mach-rmobile/Kconfig"
|
2014-08-30 22:10:57 +00:00
|
|
|
|
2016-05-08 06:30:16 +00:00
|
|
|
source "arch/arm/mach-meson/Kconfig"
|
|
|
|
|
2018-11-15 02:07:52 +00:00
|
|
|
source "arch/arm/mach-mediatek/Kconfig"
|
|
|
|
|
ARM: Add a new arch + board for QEMU's 'virt' machine
This board builds an U-Boot binary that is bootable with QEMU's 'virt'
machine on ARM. The minimal QEMU command line is:
qemu-system-arm -machine virt,highmem=off -bios u-boot.bin
(Note that the 'highmem=off' parameter to the 'virt' machine is required for
PCI to work in U-Boot.) This command line enables the following:
- u-boot.bin loaded and executing in the emulated flash at address 0x0
- A generated device tree blob placed at the start of RAM
- A freely configurable amount of RAM, described by the DTB
- A PL011 serial port, discoverable via the DTB
- An ARMv7 architected timer
- PSCI for rebooting the system
- A generic ECAM-based PCI host controller, discoverable via the DTB
Additionally, QEMU allows plugging a bunch of useful peripherals to the PCI bus.
The following ones are supported by both U-Boot and Linux:
- To add a Serial ATA disk via an Intel ICH9 AHCI controller, pass e.g.:
-drive if=none,file=disk.img,id=mydisk -device ich9-ahci,id=ahci -device ide-drive,drive=mydisk,bus=ahci.0
- To add an Intel E1000 network adapter, pass e.g.:
-net nic,model=e1000 -net user
- To add an EHCI-compliant USB host controller, pass e.g.:
-device usb-ehci,id=ehci
- To add a NVMe disk, pass e.g.:
-drive if=none,file=disk.img,id=mydisk -device nvme,drive=mydisk,serial=foo
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
2017-09-19 20:18:07 +00:00
|
|
|
source "arch/arm/mach-qemu/Kconfig"
|
|
|
|
|
2015-08-30 22:55:38 +00:00
|
|
|
source "arch/arm/mach-rockchip/Kconfig"
|
|
|
|
|
2015-11-20 06:24:57 +00:00
|
|
|
source "arch/arm/mach-s5pc1xx/Kconfig"
|
2014-10-08 04:01:50 +00:00
|
|
|
|
2016-03-31 21:12:32 +00:00
|
|
|
source "arch/arm/mach-snapdragon/Kconfig"
|
|
|
|
|
2015-04-21 11:38:20 +00:00
|
|
|
source "arch/arm/mach-socfpga/Kconfig"
|
|
|
|
|
2017-02-21 12:37:04 +00:00
|
|
|
source "arch/arm/mach-sti/Kconfig"
|
|
|
|
|
2016-01-16 01:49:06 +00:00
|
|
|
source "arch/arm/mach-stm32/Kconfig"
|
|
|
|
|
2018-03-12 09:46:10 +00:00
|
|
|
source "arch/arm/mach-stm32mp/Kconfig"
|
|
|
|
|
2017-04-28 10:42:18 +00:00
|
|
|
source "arch/arm/mach-sunxi/Kconfig"
|
|
|
|
|
2015-02-20 08:04:04 +00:00
|
|
|
source "arch/arm/mach-tegra/Kconfig"
|
2014-08-30 22:10:56 +00:00
|
|
|
|
2020-01-04 17:45:17 +00:00
|
|
|
source "arch/arm/mach-u8500/Kconfig"
|
|
|
|
|
2015-02-26 17:26:42 +00:00
|
|
|
source "arch/arm/mach-uniphier/Kconfig"
|
2014-10-03 10:21:07 +00:00
|
|
|
|
2017-03-14 01:41:36 +00:00
|
|
|
source "arch/arm/cpu/armv7/vf610/Kconfig"
|
|
|
|
|
2015-03-16 07:43:22 +00:00
|
|
|
source "arch/arm/mach-zynq/Kconfig"
|
2014-08-30 22:10:56 +00:00
|
|
|
|
2019-01-17 07:22:43 +00:00
|
|
|
source "arch/arm/mach-zynqmp/Kconfig"
|
|
|
|
|
2018-08-22 12:55:27 +00:00
|
|
|
source "arch/arm/mach-versal/Kconfig"
|
|
|
|
|
2018-04-12 15:39:46 +00:00
|
|
|
source "arch/arm/mach-zynqmp-r5/Kconfig"
|
|
|
|
|
2014-11-14 08:34:30 +00:00
|
|
|
source "arch/arm/cpu/armv7/Kconfig"
|
|
|
|
|
2015-03-09 09:53:21 +00:00
|
|
|
source "arch/arm/cpu/armv8/Kconfig"
|
|
|
|
|
2017-06-29 08:16:06 +00:00
|
|
|
source "arch/arm/mach-imx/Kconfig"
|
2015-03-04 12:13:04 +00:00
|
|
|
|
2020-07-10 17:07:26 +00:00
|
|
|
source "arch/arm/mach-nexell/Kconfig"
|
|
|
|
|
2020-08-12 15:12:53 +00:00
|
|
|
source "board/armltd/total_compute/Kconfig"
|
|
|
|
|
2016-06-07 06:31:25 +00:00
|
|
|
source "board/bosch/shc/Kconfig"
|
2019-02-25 15:33:00 +00:00
|
|
|
source "board/bosch/guardian/Kconfig"
|
2019-10-20 01:37:55 +00:00
|
|
|
source "board/Marvell/octeontx/Kconfig"
|
2019-10-20 01:47:37 +00:00
|
|
|
source "board/Marvell/octeontx2/Kconfig"
|
ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU.
vexpress_ca9x4 is seemingly the only board except for qemu_arm which
is able to run U-Boot correctly, using the `-M vexpress-a9` option to
QEMU. Building for qemu_arm and running qemu-system-arm with the `-M
virt` argument has a number of downsides, most importantly that it
only supports virtio storage drivers. This significantly reduces its
usefulness in testing memory card and Flash solutions, especially when
the tested images are from a third party source.
So therefore we reintroduce the vexpress_ca9x4 board in this commit,
with the explicit goal of using it with QEMU.
A number of differences to note from the original:
* Since the board was apparently unmaintained, I have now set myself
as the maintainer.
* The board has been converted to use the driver model, which was the
reason it was removed in the first place.
* The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed
in the same commit, are not necessary for the QEMU use case, and
have been omitted.
* An `mmc0` alias was introduced in the dts file. The mmc is not
detected correctly without this, now that it's based on the device
tree instead of the board's init function.
* A couple of other nodes were removed because they were problematic
when trying to run the UEFI bootmgr. Once again, the primary use
case here is QEMU, and these nodes are not needed for that to work.
* Unnecessary board init code has been removed, thanks to driver model
and device tree.
* `CONFIG_OF_EMBED` has been enabled. I know this goes against
recommended practice, but there doesn't seem to be any other way to
pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument
does not work, I suppose because U-Boot doesn't use the same
mechanics as the kernel when it's booting.
* Load addresses have been changed to fit QEMU use case.
People wanting to get a more detailed, yet somewhat isolated, diff
between this and the original, can run this command:
git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \
$( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD)
(Make sure to either check out this commit first, or replace HEAD with
the commit ID of this commit)
Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
2021-09-07 06:37:51 +00:00
|
|
|
source "board/armltd/vexpress/Kconfig"
|
2014-07-30 05:08:14 +00:00
|
|
|
source "board/armltd/vexpress64/Kconfig"
|
2020-01-30 20:34:59 +00:00
|
|
|
source "board/cortina/presidio-asic/Kconfig"
|
2019-01-31 17:57:36 +00:00
|
|
|
source "board/broadcom/bcm963158/Kconfig"
|
2022-02-11 18:18:38 +00:00
|
|
|
source "board/broadcom/bcm96753ref/Kconfig"
|
2020-01-07 19:14:17 +00:00
|
|
|
source "board/broadcom/bcm968360bg/Kconfig"
|
2018-10-11 16:31:58 +00:00
|
|
|
source "board/broadcom/bcm968580xref/Kconfig"
|
2020-07-15 17:18:55 +00:00
|
|
|
source "board/broadcom/bcmns3/Kconfig"
|
2015-10-14 16:55:50 +00:00
|
|
|
source "board/cavium/thunderx/Kconfig"
|
2018-01-23 17:27:22 +00:00
|
|
|
source "board/eets/pdu001/Kconfig"
|
2018-10-15 09:21:18 +00:00
|
|
|
source "board/emulation/qemu-arm/Kconfig"
|
2015-11-09 11:12:07 +00:00
|
|
|
source "board/freescale/ls2080aqds/Kconfig"
|
|
|
|
source "board/freescale/ls2080ardb/Kconfig"
|
2017-08-31 10:42:54 +00:00
|
|
|
source "board/freescale/ls1088a/Kconfig"
|
2019-04-10 08:43:34 +00:00
|
|
|
source "board/freescale/ls1028a/Kconfig"
|
2014-09-05 05:52:44 +00:00
|
|
|
source "board/freescale/ls1021aqds/Kconfig"
|
2015-11-11 09:58:37 +00:00
|
|
|
source "board/freescale/ls1043aqds/Kconfig"
|
2014-09-05 05:52:45 +00:00
|
|
|
source "board/freescale/ls1021atwr/Kconfig"
|
Add support for the NXP LS1021A-TSN board
The LS1021A-TSN is a development board built by VVDN/Argonboards in
partnership with NXP.
It features the LS1021A SoC and the first-generation SJA1105T Ethernet
switch for prototyping implementations of a subset of IEEE 802.1 TSN
standards.
Supported boot media: microSD card (via SPL), QSPI flash.
Rev. A of the board uses a Spansion S25FL512S_256K serial flash, which
is 64 MB in size and has an erase sector size of 256KB (therefore,
flashing the RCW would erase part of U-Boot).
Rev. B and C of the board use a Spansion S25FL256S1 serial flash, which
is only 32 MB in size but has an erase sector size of 64KB (therefore
the RCW image can be flashed without erasing U-Boot).
To avoid the problems above, the U-Boot base address has been selected
at 0x100000 (the start of the 5th 256KB erase sector), which works for
all board revisions. Actually 0x40000 would have been enough, but
0x100000 is common for all Layerscape devices.
eTSEC3 is connecting directly to SJA1105 via an RGMII fixed-link, but
SJA1105 is currently not supported by uboot. Therefore, eTSEC3 is
disabled.
Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Signed-off-by: Mingkai Hu <mingkai.hu@nxp.com>
Signed-off-by: Jianchao Wang <jianchao.wang@nxp.com>
Signed-off-by: Changming Huang <jerry.huang@nxp.com>
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
[Vladimir] Code taken from https://github.com/openil/u-boot (which
itself is mostly copied from ls1021a-iot) and adapted with the following
changes:
- Add a008850 errata workaround
- Converted eTSEC, MMC to DM to avoid all build warnings
- Plugged in distro boot feature, including support for extlinux.conf
- Added defconfig for QSPI boot
- Added the board/freescale/ls1021atsn/README.rst for initial setup
- Increased CONFIG_SYS_MONITOR_LEN so that the SPL malloc pool does not
get overwritten during copying of the u-boot.bin payload from MMC to
DDR.
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-07-18 21:30:01 +00:00
|
|
|
source "board/freescale/ls1021atsn/Kconfig"
|
2016-11-03 06:15:17 +00:00
|
|
|
source "board/freescale/ls1021aiot/Kconfig"
|
2016-09-07 09:56:14 +00:00
|
|
|
source "board/freescale/ls1046aqds/Kconfig"
|
2015-10-26 11:47:52 +00:00
|
|
|
source "board/freescale/ls1043ardb/Kconfig"
|
2016-09-07 10:47:28 +00:00
|
|
|
source "board/freescale/ls1046ardb/Kconfig"
|
2019-06-06 12:35:28 +00:00
|
|
|
source "board/freescale/ls1046afrwy/Kconfig"
|
2016-06-03 13:11:34 +00:00
|
|
|
source "board/freescale/ls1012aqds/Kconfig"
|
2016-06-03 13:11:35 +00:00
|
|
|
source "board/freescale/ls1012ardb/Kconfig"
|
2016-06-03 13:11:36 +00:00
|
|
|
source "board/freescale/ls1012afrdm/Kconfig"
|
2018-11-28 13:04:27 +00:00
|
|
|
source "board/freescale/lx2160a/Kconfig"
|
2017-01-25 08:53:08 +00:00
|
|
|
source "board/grinn/chiliboard/Kconfig"
|
2015-09-02 19:32:20 +00:00
|
|
|
source "board/hisilicon/hikey/Kconfig"
|
2019-08-02 15:10:09 +00:00
|
|
|
source "board/hisilicon/hikey960/Kconfig"
|
2017-06-26 13:52:49 +00:00
|
|
|
source "board/hisilicon/poplar/Kconfig"
|
2017-04-01 15:17:16 +00:00
|
|
|
source "board/isee/igep003x/Kconfig"
|
2020-10-15 21:08:57 +00:00
|
|
|
source "board/kontron/sl28/Kconfig"
|
2020-07-27 14:48:41 +00:00
|
|
|
source "board/myir/mys_6ulx/Kconfig"
|
2021-05-18 03:33:20 +00:00
|
|
|
source "board/seeed/npi_imx6ull/Kconfig"
|
2021-06-04 09:45:10 +00:00
|
|
|
source "board/socionext/developerbox/Kconfig"
|
2014-11-18 18:42:22 +00:00
|
|
|
source "board/st/stv0991/Kconfig"
|
2015-09-07 05:43:20 +00:00
|
|
|
source "board/tcl/sl50/Kconfig"
|
2022-01-31 13:04:43 +00:00
|
|
|
source "board/traverse/ten64/Kconfig"
|
2019-04-17 22:04:09 +00:00
|
|
|
source "board/variscite/dart_6ul/Kconfig"
|
2015-05-29 17:27:29 +00:00
|
|
|
source "board/vscom/baltos/Kconfig"
|
2019-10-31 07:51:08 +00:00
|
|
|
source "board/phytium/durian/Kconfig"
|
2022-03-02 07:09:05 +00:00
|
|
|
source "board/phytium/pomelo/Kconfig"
|
2020-08-06 09:42:47 +00:00
|
|
|
source "board/xen/xenguest_arm64/Kconfig"
|
2014-07-30 05:08:14 +00:00
|
|
|
|
2014-09-01 02:06:34 +00:00
|
|
|
source "arch/arm/Kconfig.debug"
|
|
|
|
|
2014-07-30 05:08:14 +00:00
|
|
|
endmenu
|
2017-08-03 21:23:55 +00:00
|
|
|
|
|
|
|
config SPL_LDSCRIPT
|
2018-07-23 13:55:12 +00:00
|
|
|
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
|
2017-08-03 21:23:55 +00:00
|
|
|
default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64
|