commit | 05a684e302ed9514ee05518fb5b8bccfae557770 | [log] [tgz] |
---|---|---|
author | Rick Chen <rick@andestech.com> | Wed Aug 28 18:46:09 2019 +0800 |
committer | Andes <uboot@andestech.com> | Tue Sep 03 09:31:03 2019 +0800 |
tree | 0a7d13eefc015724d2bc1c482686ada4e54ee691 | |
parent | 19117d252ab6e2fdb98445f86637aeed185ad389 [diff] |
riscv: cache: Flush L2 cache before jump to linux 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@andestech.com> Cc: KC Lin <kclin@andestech.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>