xref: /linux/drivers/cache/Kconfig (revision 4d1608d0ab3365d1ef9447bdbc0cb4c0962f1774)
1# SPDX-License-Identifier: GPL-2.0
2
3menuconfig CACHEMAINT_FOR_DMA
4	bool "Cache management for noncoherent DMA"
5	depends on RISCV
6	default y
7	help
8	  These drivers implement support for noncoherent DMA master devices
9	  on platforms that lack the standard CPU interfaces for this.
10
11if CACHEMAINT_FOR_DMA
12
13config AX45MP_L2_CACHE
14	bool "Andes Technology AX45MP L2 Cache controller"
15	select RISCV_NONSTANDARD_CACHE_OPS
16	help
17	  Support for the L2 cache controller on Andes Technology AX45MP platforms.
18
19config SIFIVE_CCACHE
20	bool "Sifive Composable Cache controller"
21	depends on ARCH_SIFIVE || ARCH_STARFIVE
22	help
23	  Support for the composable cache controller on SiFive platforms.
24
25config STARFIVE_STARLINK_CACHE
26	bool "StarFive StarLink Cache controller"
27	depends on ARCH_STARFIVE
28	depends on 64BIT
29	select RISCV_DMA_NONCOHERENT
30	select RISCV_NONSTANDARD_CACHE_OPS
31	help
32	  Support for the StarLink cache controller IP from StarFive.
33
34endif #CACHEMAINT_FOR_DMA
35