All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/5] arch: Add SYS_HAVE_DCACHE_MAINTENANCE and SYS_HAVE_ICACHE_MAINTENANCE
@ 2018-04-30  8:34 Emmanuel Vadot
  0 siblings, 0 replies; only message in thread
From: Emmanuel Vadot @ 2018-04-30  8:34 UTC (permalink / raw)
  To: u-boot

Add some Kconfig option to notify that the arch implementation have
some cache maintenance function available.

Signed-off-by: Emmanuel Vadot <manu@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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-30  8:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-30  8:34 [U-Boot] [PATCH 1/5] arch: Add SYS_HAVE_DCACHE_MAINTENANCE and SYS_HAVE_ICACHE_MAINTENANCE Emmanuel Vadot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.