From: Lothar Waßmann Date: Mon, 12 Oct 2015 08:42:36 +0000 (+0200) Subject: kconfig: arm: make cache configurable via Kconfig X-Git-Tag: KARO-TX6UL-2015-10-23~20 X-Git-Url: https://git.karo-electronics.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=7d6c1e4a6723534d48d0f17cbe515d8e61547e3d kconfig: arm: make cache configurable via Kconfig --- diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 67982f5dba..71383e534c 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -65,6 +65,15 @@ config SEMIHOSTING the hosted environment to call out to the emulator to retrieve files from the host machine. +config SYS_ICACHE_OFF + bool "Do not use Instruction Cache" + +config SYS_DCACHE_OFF + bool "Do not use Data Cache" + +config SYS_L2CACHE_OFF + bool "Do not use L2 cache" + config SOC_AM335X bool select CPU_V7 diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig index 373ef3fd3b..078b5a9686 100644 --- a/arch/arm/cpu/armv7/mx6/Kconfig +++ b/arch/arm/cpu/armv7/mx6/Kconfig @@ -26,7 +26,6 @@ config SOC_MX6SX bool config SOC_MX6UL - select SYS_L2CACHE_OFF bool choice