[U-Boot] [PATCH v3 6/8] riscv: cache: Flush L2 cache before jump to linux

Bin Meng bmeng.cn at gmail.com
Thu Aug 22 06:55:53 UTC 2019


On Wed, Aug 21, 2019 at 4:16 PM Andes <uboot at andestech.com> wrote:
>
> From: Rick Chen <rick at andestech.com>
>
> Flush and disable L2 cache in dcache_disable()
> which will be called in cleanup_before_linux()
> before jump to linux.
>
> The sequence will be preferred as below:
> L1 flush -> L1 disable -> L2 flush -> L2 disable
>
> Signed-off-by: Rick Chen <rick at andestech.com>
> Cc: KC Lin <kclin at andestech.com>
> ---
>  arch/riscv/cpu/ax25/cache.c | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list