u-boot/arch/riscv
Lukas Auer f74c416e62 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>
2019-01-15 09:36:31 +08:00
..
cpu riscv: move the AX25-specific implementation of flush_dcache_all 2019-01-15 09:36:31 +08:00
dts riscv: Remove ae350.dts 2018-12-18 09:56:27 +08:00
include/asm riscv: Save boot hart id to the global data 2018-12-18 09:56:27 +08:00
lib riscv: use invalidate/flush_*cache_range functions in cache.c 2019-01-15 09:36:31 +08:00
config.mk riscv: enable -fdata-sections 2018-11-26 13:57:29 +08:00
Kconfig riscv: Enlarge the default SYS_MALLOC_F_LEN 2018-12-18 09:56:27 +08:00
Makefile riscv: add Kconfig entries for the code model 2018-12-18 09:56:26 +08:00