From: Emmanuel Vadot Date: Mon, 30 Apr 2018 10:34:23 +0200 Subject: [U-Boot] [PATCH 1/5] arch: Add SYS_HAVE_DCACHE_MAINTENANCE and SYS_HAVE_ICACHE_MAINTENANCE Message-ID: <20180430083423.72500-1-manu@freebsd.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add some Kconfig option to notify that the arch implementation have some cache maintenance function available. Signed-off-by: Emmanuel Vadot --- 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/.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