]> git.baikalelectronics.ru Git - uboot.git/commit
riscv: cache: use CCTL to flush d-cache
authorRick Chen <rick@andestech.com>
Wed, 28 Aug 2019 10:46:11 +0000 (18:46 +0800)
committerAndes <uboot@andestech.com>
Tue, 3 Sep 2019 01:31:03 +0000 (09:31 +0800)
commit3ac5811bed8998c7d19d39f2a087c348d49bd257
treeea53c8fd1dd9bf65bc1d29dd9a0957d060dc1917
parent33f91c1aaa4c1da5f318b777a8ca43ea2c74fa19
riscv: cache: use CCTL to flush d-cache

Use CCTL command to do d-cache write back
and invalidate instead of fence.

Signed-off-by: Rick Chen <rick@andestech.com>
Cc: KC Lin <kclin@andestech.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/riscv/cpu/ax25/cache.c