Re: [PATCH v4 2/4] riscv: lib: implement enable_caches for sifive cache

2021-08-31 Thread Zong Li
ve.com; s...@chromium.org; > > u-boot@lists.denx.de > > Cc: Zong Li > > Subject: [PATCH v4 2/4] riscv: lib: implement enable_caches for sifive cache > > > > The enable_caches is a generic hook for architecture-implemented, we define > > this function to enable comp

Re: [PATCH v4 2/4] riscv: lib: implement enable_caches for sifive cache

2021-08-31 Thread Rick Chen
> From: Zong Li > Sent: Tuesday, August 31, 2021 5:21 PM > To: Rick Jian-Zhi Chen(陳建志) ; Leo Yu-Chi Liang(梁育齊) > ; bmeng...@gmail.com; sean...@gmail.com; > green@sifive.com; paul.walms...@sifive.com; s...@chromium.org; > u-boot@lists.denx.de > Cc: Zong Li > Subje

[PATCH v4 2/4] riscv: lib: implement enable_caches for sifive cache

2021-08-31 Thread Zong Li
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: