[U-Boot] [PATCH 1/5] arch: Add SYS_HAVE_DCACHE_MAINTENANCE and SYS_HAVE_ICACHE_MAINTENANCE
Emmanuel Vadot
manu at freebsd.org
Mon Apr 30 08:34:23 UTC 2018
Add some Kconfig option to notify that the arch implementation have
some cache maintenance function available.
Signed-off-by: Emmanuel Vadot <manu at freebsd.org>
---
arch/Kconfig | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/Kconfig b/arch/Kconfig
index e599e7a39c..a9fd13aa25 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -191,6 +191,18 @@ config SYS_CONFIG_NAME
The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
should be included from include/config.h.
+config SYS_HAVE_DCACHE_MAINTENANCE
+ bool
+ help
+ This option should be enabled if the arch have data cache
+ maintenance routines.
+
+config SYS_HAVE_ICACHE_MAINTENANCE
+ bool
+ help
+ This option should be enabled if the arch have intruction cache
+ maintenance routines.
+
source "arch/arc/Kconfig"
source "arch/arm/Kconfig"
source "arch/m68k/Kconfig"
--
2.16.3
More information about the U-Boot
mailing list