commit | 1e67161aac30db546cad76c3c2cd73923bbea92e | [log] [tgz] |
---|---|---|
author | Vladimir Zapolskiy <vz@mleia.com> | Mon Nov 28 00:15:14 2016 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri Dec 02 21:32:39 2016 -0500 |
tree | 5beb5f9913038485f5b6746f0125c2dc4e2400c8 | |
parent | 7a22f7a9834d922757a7695d0fba3d81feb265c0 [diff] |
sh4: cache: correct flush_cache() to writeback and invalidate In common usecases flush_cache() assumes both cache invalidation and write-back to memory, instead of doing cache invalidation only with the wrapped 'ocbi' instruction pin flush_cache() to cache invalidation with memory write-back done by 'ocbp'. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Reviewed-by: Simon Glass <sjg@chromium.org>