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)
commit399b867fac244c4506f0a9365e7d53bfe74e66b4
tree5c7daceb9db57f5d6385535998b41f80dae2795b
parentb28d35234cc2cbb68fb1bd0aa0a40323834ee454
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