summaryrefslogtreecommitdiff
path: root/drivers/cache/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cache/Kconfig')
-rw-r--r--drivers/cache/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/cache/Kconfig b/drivers/cache/Kconfig
index 40f41a817c..c9b5fd3d5e 100644
--- a/drivers/cache/Kconfig
+++ b/drivers/cache/Kconfig
@@ -46,4 +46,16 @@ config SIFIVE_CCACHE
This driver is for SiFive Composable L2/L3 cache. It enables cache
ways of composable cache.
+config SIFIVE_CCACHE_WAYENABLE_OPT
+ bool "SiFive composable cache: customized the largest way enabled."
+ depends on SIFIVE_CCACHE
+
+config SIFIVE_CCACHE_WAYENABLE_NUM
+ int "SiFive composable cache: the largest way which will be enabled"
+ depends on SIFIVE_CCACHE_WAYENABLE_OPT
+ default 1
+ range 0 255
+ help
+ Range[0, 255]. The index of the largest way which will be enabled.
+
endmenu