ahci: flush / invalidate dcache around SATA commands
authorTaylor Hutt <thutt@chromium.org>
Mon, 29 Oct 2012 05:23:59 +0000 (05:23 +0000)
committerTom Rini <trini@ti.com>
Fri, 2 Nov 2012 22:20:42 +0000 (15:20 -0700)
commit90b276f6a2a9e197eadce297fd593d85397bc430
tree6f336b2cc5bc16f9312ef15a86eb1af5b6ead516
parent64738e8ae89214030061f62d6598e837664916c3
ahci: flush / invalidate dcache around SATA commands

Exynos5 automatically performs DMA when the SATA controller executes
commands.  This adds the necessary dcache-to-memory flush &
invalidation calls to allow the DMA to properly function.

Signed-off-by: Taylor Hutt <thutt@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/block/ahci.c