diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-02-07 04:35:39 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-02-12 20:54:45 -0500 |
commit | 5904539b7f21ae97f16278ea4bfb81fd19749e1a (patch) | |
tree | ca66cc6e82dce914b5e98adddf015149b44fe43c /arch | |
parent | 0072032d7babc4347556c1863919f3c532d9cf5b (diff) |
sh: dcache write-back for R7780RP PIO.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/boards/renesas/r7780rp/io.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/boards/renesas/r7780rp/io.c b/arch/sh/boards/renesas/r7780rp/io.c index 311ccccba718..369cbf1cd471 100644 --- a/arch/sh/boards/renesas/r7780rp/io.c +++ b/arch/sh/boards/renesas/r7780rp/io.c | |||
@@ -214,6 +214,8 @@ void r7780rp_insw(unsigned long port, void *dst, unsigned long count) | |||
214 | 214 | ||
215 | while (count--) | 215 | while (count--) |
216 | *buf++ = *p; | 216 | *buf++ = *p; |
217 | |||
218 | flush_dcache_all(); | ||
217 | } | 219 | } |
218 | 220 | ||
219 | void r7780rp_insl(unsigned long port, void *dst, unsigned long count) | 221 | void r7780rp_insl(unsigned long port, void *dst, unsigned long count) |
@@ -271,6 +273,8 @@ void r7780rp_outsw(unsigned long port, const void *src, unsigned long count) | |||
271 | 273 | ||
272 | while (count--) | 274 | while (count--) |
273 | *p = *buf++; | 275 | *p = *buf++; |
276 | |||
277 | flush_dcache_all(); | ||
274 | } | 278 | } |
275 | 279 | ||
276 | void r7780rp_outsl(unsigned long port, const void *src, unsigned long count) | 280 | void r7780rp_outsl(unsigned long port, const void *src, unsigned long count) |