summaryrefslogtreecommitdiff
path: root/drivers/mmc/Makefile
diff options
context:
space:
mode:
authorLukas Auer <lukas.auer@aisec.fraunhofer.de>2019-01-04 01:37:29 +0100
committerAndes <uboot@andestech.com>2019-01-15 09:36:31 +0800
commitc9056653ecd6dfedc5e9f00548f9f1c604a3a193 (patch)
tree06594f6ab1563c4990518d9fa8ce23b6a8a802e3 /drivers/mmc/Makefile
parent0c85c113c41c1393e10939629aabfb26279c4294 (diff)
riscv: move the AX25-specific implementation of flush_dcache_all
The fence instruction is used to enforce device I/O and memory ordering constraints in RISC-V. It can not be relied on to directly affect the data cache on every CPU. Andes' AX25 does not have a coherence agent. Its fence instruction flushes the data cache and is used to keep data in the system coherent. The implementation of flush_dcache_all in lib/cache.c is therefore specific to the AX25. Move it into the AX25-specific cache.c in cpu/ax25/. This also adds a missing new line between flush_dcache_all and flush_dcache_range in lib/cache.c. Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/mmc/Makefile')
0 files changed, 0 insertions, 0 deletions