]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ahci: Perform SATA flush after disk write.
authorMarc Jones <marc.jones@chromium.org>
Mon, 29 Oct 2012 05:24:02 +0000 (05:24 +0000)
committerTom Rini <trini@ti.com>
Fri, 2 Nov 2012 22:20:43 +0000 (15:20 -0700)
commit766b16fe180087d8c59a79a4f6a92d1a500fa524
tree7805b64203f13334a52bec35f4ce366fd9c4a17a
parent2a0c61d401732a2c21b0dc7fe6d1aeec79da8c05
ahci: Perform SATA flush after disk write.

Writes in u-boot are so rare, and the logic to know when is
the last write and do a flush only there is sufficiently
difficult. Just do a flush after every write. This incurs,
usually, one extra flush when the rare writes do happen.

Signed-off-by: Marc Jones <marc.jones@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/block/ahci.c
include/ata.h