u-boot-brain/arch/riscv
Lukas Auer 62a09ad53b riscv: implement the invalidate_icache_* functions
Implement the functions invalidate_icache_range() and
invalidate_icache_all().

RISC-V does not have instructions for explicit cache-control. The
functions in this patch are implemented with the memory ordering
instruction for synchronizing the instruction and data streams. This may
be implemented as a cache flush or invalidate on simple processors,
others may only invalidate the relevant cache lines.

Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
2018-11-26 13:57:31 +08:00
..
cpu riscv: Move do_reset() to a common place 2018-10-03 17:48:43 +08:00
dts riscv: ae350: Clean up mixed tabs and spaces in the dts 2018-10-03 17:48:19 +08:00
include/asm riscv: do not reimplement generic io functions 2018-11-26 13:57:30 +08:00
lib riscv: implement the invalidate_icache_* functions 2018-11-26 13:57:31 +08:00
config.mk riscv: enable -fdata-sections 2018-11-26 13:57:29 +08:00
Kconfig riscv: add Kconfig entries for the C and A ISA extensions 2018-11-26 13:57:29 +08:00
Makefile riscv: set -march and -mabi based on the Kconfig configuration 2018-11-26 13:57:29 +08:00