summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorLukas Auer <lukas.auer@aisec.fraunhofer.de>2019-01-04 01:37:30 +0100
committerAndes <uboot@andestech.com>2019-01-15 09:36:31 +0800
commitf74c416e622cec35be95066fb7fcf4c27ac146e9 (patch)
tree54964c44c72011e796d80faadf88c89d4d37195c /disk
parentc9056653ecd6dfedc5e9f00548f9f1c604a3a193 (diff)
riscv: use invalidate/flush_*cache_range functions in cache.c
The flush_cache() function in lib/cache.c ignores its arguments and flushes the complete data and instruction caches. Use the invalidate/flush_*cache_range() functions instead to only flush the requested memory region. This patch does not change the current behavior of U-Boot, since the implementation of the invalidate/flush_*cache_range() functions flush the complete data and instruction caches. It is in preparation for CPUs with the necessary functionality for flushing a selectable memory range. Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'disk')
0 files changed, 0 insertions, 0 deletions