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 67982f5..71383e5 100644 (file)
@@ -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
index 373ef3f..078b5a9 100644 (file)
@@ -26,7 +26,6 @@ config SOC_MX6SX
        bool
 
 config SOC_MX6UL
-       select SYS_L2CACHE_OFF
        bool
 
 choice