Skip to content
Snippets Groups Projects
Kconfig 25.9 KiB
Newer Older
menu "ARM architecture"
	depends on ARM

config SYS_ARCH
	default "arm"

	select PHYS_64BIT
	select SYS_CACHE_SHIFT_6
config DMA_ADDR_T_64BIT
	bool
	default y if ARM64

	select SYS_CACHE_SHIFT_5
	select SYS_CACHE_SHIFT_5
	select SYS_CACHE_SHIFT_5
	select SYS_CACHE_SHIFT_5
	select SYS_CACHE_SHIFT_5
	bool
	select HAS_VBAR
	select SYS_CACHE_SHIFT_5
	bool
	select HAS_VBAR
	select HAS_THUMB2
	select SYS_CACHE_SHIFT_6
rev13@wp.pl's avatar
rev13@wp.pl committed
config CPU_V7M
	bool
	select HAS_THUMB2
	select SYS_CACHE_SHIFT_5
	select SYS_CACHE_SHIFT_5
	select SYS_CACHE_SHIFT_5
	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
	default "armv7" if CPU_V7
	default "armv7m" if CPU_V7M
	default "pxa" if CPU_PXA
	default "sa1100" if CPU_SA1100
	default "armv8" if ARM64
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
	default 7 if CPU_V7
	default 7 if CPU_V7M
	default 5 if CPU_PXA
	default 4 if CPU_SA1100
	default 8 if ARM64

config SYS_CACHE_SHIFT_5
	bool

config SYS_CACHE_SHIFT_6
	bool

config SYS_CACHE_SHIFT_7
	bool

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

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

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

config ENABLE_ARM_SOC_BOOT0_HOOK
	bool "prepare BOOT0 header"
	help
	  If the SoC's BOOT0 requires a header area filled with (magic)
	  values, then choose this option, and create a define called
	  ARM_SOC_BOOT0_HOOK which contains the required assembler
	  preprocessor code.

config USE_ARCH_MEMCPY
	bool "Use an assembly optimized implementation of memcpy"
	default y
	depends on !ARM64
	help
	  Enable the generation of an optimized version of memcpy.
	  Such implementation may be faster under some conditions
	  but may increase the binary size.

config SPL_USE_ARCH_MEMCPY
	bool "Use an assembly optimized implementation of memcpy"
	default y if USE_ARCH_MEMCPY
	help
	  Enable the generation of an optimized version of memcpy.
	  Such implementation may be faster under some conditions
	  but may increase the binary size.

config USE_ARCH_MEMSET
	bool "Use an assembly optimized implementation of memset"
	default y
	depends on !ARM64
	help
	  Enable the generation of an optimized version of memset.
	  Such implementation may be faster under some conditions
	  but may increase the binary size.

config SPL_USE_ARCH_MEMSET
	bool "Use an assembly optimized implementation of memset"
	default y if USE_ARCH_MEMSET
	help
	  Enable the generation of an optimized version of memset.
	  Such implementation may be faster under some conditions
	  but may increase the binary size.

Tom Rini's avatar
Tom Rini committed
config ARCH_OMAP2
	bool
	select CPU_V7
	select SUPPORT_SPL

config ARM64_SUPPORT_AARCH32
	bool "ARM64 system support AArch32 execution state"
	default y if ARM64 && !TARGET_THUNDERX_88XX
	help
	  This ARM64 system supports AArch32 execution state.

choice
	prompt "Target select"
	default TARGET_HIKEY
config ARCH_AT91
	bool "Atmel AT91"

config TARGET_EDB93XX
	bool "Support edb93xx"

config TARGET_ASPENITE
	bool "Support aspenite"

config TARGET_GPLUGD
	bool "Support gplugd"
config ARCH_DAVINCI
	bool "TI DaVinci"
	help
	  Support for TI's DaVinci platform.
Loading
Loading full blame...