]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
kconfig: arm: make cache configurable via Kconfig
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 12 Oct 2015 08:42:36 +0000 (10:42 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 12 Oct 2015 08:42:36 +0000 (10:42 +0200)
arch/arm/Kconfig
arch/arm/cpu/armv7/mx6/Kconfig

index 67982f5dba793ded2002262c719cb5b083bdef0b..71383e534c8c428a01fd0a167c2e0a36ef837b35 100644 (file)
@@ -65,6 +65,15 @@ config SEMIHOSTING
          the hosted environment to call out to the emulator to
          retrieve files from the host machine.
 
          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
 config SOC_AM335X
        bool
        select CPU_V7
index 373ef3fd3bab62f2ea35e38abf38397747cbc1d5..078b5a968601f7ef56912459177df75e0367ffaf 100644 (file)
@@ -26,7 +26,6 @@ config SOC_MX6SX
        bool
 
 config SOC_MX6UL
        bool
 
 config SOC_MX6UL
-       select SYS_L2CACHE_OFF
        bool
 
 choice
        bool
 
 choice