diff options
author | Zong Li <zong.li@sifive.com> | 2021-09-01 10:01:39 +0300 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2021-09-07 05:34:29 +0300 |
commit | 43a21839285c1ba3b65534def898a2b5e2d46314 (patch) | |
tree | 144a34f5e02db8cf905b79c240a337a9bd44eef0 /drivers/cache/Kconfig | |
parent | 9d84795fc5dcd769cc8a1efedc783863e88cb25d (diff) | |
download | u-boot-43a21839285c1ba3b65534def898a2b5e2d46314.tar.xz |
cache: add sifive composable cache driver
This driver is currently responsible for enabling all ccache ways.
Composable cache could be configure as RAM or cache, we will use it as
RAM at the beginning to put the u-boot SPL there. In u-boot proper
phrase, we will use the composable cache as cache, and try to enable the
cache ways.
Signed-off-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'drivers/cache/Kconfig')
-rw-r--r-- | drivers/cache/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/cache/Kconfig b/drivers/cache/Kconfig index 1e452ad6d9..40f41a817c 100644 --- a/drivers/cache/Kconfig +++ b/drivers/cache/Kconfig @@ -39,4 +39,11 @@ config NCORE_CACHE controller. The driver initializes cache directories and coherent agent interfaces. +config SIFIVE_CCACHE + bool "SiFive composable cache" + select CACHE + help + This driver is for SiFive Composable L2/L3 cache. It enables cache + ways of composable cache. + endmenu |