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

Emmanuel Vadot manu at bidouilliste.com
Mon Nov 7 09:34:29 CET 2016


Add a kconfig option to disable the data cache.

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

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
-- 
2.9.2



More information about the U-Boot mailing list