commit | c39544c90a42dd0efca2cc93007902b74012f3cd | [log] [tgz] |
---|---|---|
author | Zong Li <zong.li@sifive.com> | Wed Sep 01 15:01:41 2021 +0800 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Tue Sep 07 10:34:29 2021 +0800 |
tree | 6102386aeb7f61de9ec90cb49b4ff1ef9274e247 | |
parent | a33070c617711e0f93c03aaabc1477e009759475 [diff] |
riscv: lib: implement enable_caches for sifive cache The enable_caches is a generic hook for architecture-implemented, we define this function to enable composable cache of sifive platforms. In sifive_cache, it invokes the generic cache_enable interface of cache uclass to execute the relative implementation in SiFive ccache driver. Signed-off-by: Zong Li <zong.li@sifive.com> Reviewed-by: Rick Chen <rick@andestech.com>