u-boot-brain/arch/sh/cpu/sh4
Vladimir Zapolskiy ee47c4cb2b sh4: cache: correct dcache flush to invalidate with write-back
In common usecases flush_cache() assumes both cache invalidation and
write-back to memory, thus in flush_dcache_range() implementation
change SH4 cache write-back only instruction 'ocbwb' with cache purge
instruction 'ocbp', according to the User's Manual there should be no
performance penalty for that.

Note that under circumstances only cache invalidation is expected from
flush_cache() call, in these occasional cases the current version of
flush_cache() works, which is a wrapper over invalidate_dcache_range()
at the moment, this will be fixed in the following change.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
2016-12-02 21:32:39 -05:00
..
cache.c sh4: cache: correct dcache flush to invalidate with write-back 2016-12-02 21:32:39 -05:00
config.mk sh: move CONFIG_{SH2, SH2A, SH3, SH4} to Kconfig 2014-11-13 08:47:58 +09:00
cpu.c sh: Fix build errors for generic board 2016-05-27 15:39:51 -04:00
interrupts.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile sh: convert makefiles to Kbuild style 2013-10-31 13:26:45 -04:00
start.S sh: Fix build errors for generic board 2016-05-27 15:39:51 -04:00
watchdog.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00