[U-Boot] [PATCH 2/5] arch: arm: Select SYS_HAVE_{D, I}CACHE_MAINTENANCE kconfig where appropriate

Emmanuel Vadot manu at freebsd.org
Mon Apr 30 08:34:27 UTC 2018


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

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 068ea1e877..88a329c696 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -174,23 +174,30 @@ config CPU_ARM946ES
 config CPU_ARM1136
 	bool
 	select SYS_CACHE_SHIFT_5
+	select SYS_HAVE_DCACHE_MAINTENANCE
 
 config CPU_ARM1176
 	bool
 	select HAS_VBAR
 	select SYS_CACHE_SHIFT_5
+	select SYS_HAVE_DCACHE_MAINTENANCE
+	select SYS_HAVE_ICACHE_MAINTENANCE
 
 config CPU_V7
 	bool
 	select HAS_VBAR
 	select HAS_THUMB2
 	select SYS_CACHE_SHIFT_6
+	select SYS_HAVE_DCACHE_MAINTENANCE
+	select SYS_HAVE_ICACHE_MAINTENANCE
 
 config CPU_V7M
 	bool
 	select HAS_THUMB2
 	select THUMB2_KERNEL
 	select SYS_CACHE_SHIFT_5
+	select SYS_HAVE_DCACHE_MAINTENANCE
+	select SYS_HAVE_ICACHE_MAINTENANCE
 
 config CPU_PXA
 	bool
-- 
2.16.3



More information about the U-Boot mailing list