]> git.dujemihanovic.xyz Git - u-boot.git/commit
cache: add sifive composable cache driver
authorZong Li <zong.li@sifive.com>
Wed, 1 Sep 2021 07:01:39 +0000 (15:01 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 7 Sep 2021 02:34:29 +0000 (10:34 +0800)
commit43a21839285c1ba3b65534def898a2b5e2d46314
tree144a34f5e02db8cf905b79c240a337a9bd44eef0
parent9d84795fc5dcd769cc8a1efedc783863e88cb25d
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>
drivers/cache/Kconfig
drivers/cache/Makefile
drivers/cache/cache-sifive-ccache.c [new file with mode: 0644]