diff options
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 83 |
1 files changed, 55 insertions, 28 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index aef901c3f4..c871eaf4e3 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -7,62 +7,73 @@ config SYS_ARCH config ARM64 bool select PHYS_64BIT + select SYS_CACHE_SHIFT_6 config DMA_ADDR_T_64BIT bool default y if ARM64 config HAS_VBAR - bool + bool config HAS_THUMB2 - bool + bool config CPU_ARM720T - bool + bool + select SYS_CACHE_SHIFT_5 config CPU_ARM920T - bool + bool + select SYS_CACHE_SHIFT_5 config CPU_ARM926EJS - bool + bool + select SYS_CACHE_SHIFT_5 config CPU_ARM946ES - bool + bool + select SYS_CACHE_SHIFT_5 config CPU_ARM1136 - bool + bool + select SYS_CACHE_SHIFT_5 config CPU_ARM1176 - bool - select HAS_VBAR + bool + select HAS_VBAR + select SYS_CACHE_SHIFT_5 config CPU_V7 - bool - select HAS_VBAR - select HAS_THUMB2 + bool + select HAS_VBAR + select HAS_THUMB2 + select SYS_CACHE_SHIFT_6 config CPU_V7M bool - select HAS_THUMB2 + select HAS_THUMB2 + select SYS_CACHE_SHIFT_5 config CPU_PXA - bool + bool + select SYS_CACHE_SHIFT_5 config CPU_SA1100 - bool + bool + select SYS_CACHE_SHIFT_5 config SYS_CPU - 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 "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 @@ -79,6 +90,21 @@ config SYS_ARM_ARCH 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 @@ -372,9 +398,9 @@ config TARGET_RASTABAN select DM_GPIO config TARGET_ETAMIN - bool "Support etamin" - select CPU_V7 - select SUPPORT_SPL + bool "Support etamin" + select CPU_V7 + select SUPPORT_SPL select DM select DM_SERIAL select DM_GPIO @@ -867,6 +893,7 @@ config TARGET_THUNDERX_88XX bool "Support ThunderX 88xx" select ARM64 select OF_CONTROL + select SYS_CACHE_SHIFT_7 endchoice |