]> git.baikalelectronics.ru Git - uboot.git/commit
mips: octeon: cache.c: Flush all pending writes in flush_dcache_range()
authorStefan Roese <sr@denx.de>
Mon, 24 Aug 2020 11:04:41 +0000 (13:04 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 7 Oct 2020 18:25:57 +0000 (20:25 +0200)
commit089abacde1d2abd2ab30998f1fe57941e65e8129
tree5c7daceb9db57f5d6385535998b41f80dae2795b
parent41bb471ab0fb4d1b41822481277ff450da195c6a
mips: octeon: cache.c: Flush all pending writes in flush_dcache_range()

As noticed while working on the USB xHCI support, Octeon needs to flush
all pending writes so that the values are present in the memory. Add
this "syncw" instruction (twice) to flush_dcache_range().

Signed-off-by: Stefan Roese <sr@denx.de>
arch/mips/mach-octeon/cache.c