diff mbox

[U-Boot,2/4] kconfig: arm: Add SYS_DCACHE_OFF option

Message ID 20161107083431.24855-3-manu@bidouilliste.com
State Changes Requested
Delegated to: Tom Rini
Headers show

Commit Message

Emmanuel Vadot Nov. 7, 2016, 8:34 a.m. UTC
Add a kconfig option to disable the data cache.

Signed-off-by: Emmanuel Vadot <manu@bidouilliste.com>
---
 arch/arm/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index d7a9b11..59b91a0 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -118,6 +118,12 @@  config SYS_L2CACHE_OFF
 	  If SoC does not support L2CACHE or one do not want to enable
 	  L2CACHE, choose this option.
 
+config SYS_DCACHE_OFF
+	bool "Do not use Data Cache"
+	default n
+	help
+	  If one do not want to enable the data cache, choose this option.
+
 config ENABLE_ARM_SOC_BOOT0_HOOK
 	bool "prepare BOOT0 header"
 	help