[PATCH v5 3/5] riscv: lib: implement enable_caches for sifive cache

Rick Chen rickchen36 at gmail.com
Wed Sep 1 10:26:03 CEST 2021


> From: Zong Li <zong.li at sifive.com>
> Sent: Wednesday, September 01, 2021 3:02 PM
> To: Rick Jian-Zhi Chen(陳建志) <rick at andestech.com>; Leo Yu-Chi Liang(梁育齊) <ycliang at andestech.com>; bmeng.cn at gmail.com; seanga2 at gmail.com; green.wan at sifive.com; paul.walmsley at sifive.com; sjg at chromium.org; u-boot at lists.denx.de
> Cc: Zong Li <zong.li at sifive.com>
> Subject: [PATCH v5 3/5] 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 at sifive.com>
> ---
>  arch/riscv/Kconfig            |  5 +++++
>  arch/riscv/lib/Makefile       |  1 +
>  arch/riscv/lib/sifive_cache.c | 27 +++++++++++++++++++++++++++
>  3 files changed, 33 insertions(+)

Reviewed-by: Rick Chen <rick at andestech.com>


More information about the U-Boot mailing list