summaryrefslogtreecommitdiff
path: root/include/mvebu_mmc.h
diff options
context:
space:
mode:
authorGerald Kerma <drEagle@doukki.net>2014-12-13 21:35:32 +0100
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>2015-01-06 10:10:04 +0200
commit28d27b79e33dea24b0fb29cf7ff6e88dfb18f030 (patch)
treef20b95f267f6f70f9c715a8b713388df7ca19fd1 /include/mvebu_mmc.h
parent2591fbdba3bbae92366d0a4f20fbaf4aa0f9f65c (diff)
MVEBUMMC : Speed up access time
Get about 40x faster access on SHEEVAPLUG MMC Fix some SD type compatibility Changes in v3: - fix the HW_STATE (from linux mvsdio) - review delays and timeouts Changes in v2: - increase number of loops - remove initial delay Changes in v1: - review all loops, delays and timeouts Signed-off-by: GĂ©rald Kerma <drEagle@doukki.net> Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Diffstat (limited to 'include/mvebu_mmc.h')
-rw-r--r--include/mvebu_mmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mvebu_mmc.h b/include/mvebu_mmc.h
index 28d98fe148a..7fb71f72191 100644
--- a/include/mvebu_mmc.h
+++ b/include/mvebu_mmc.h
@@ -79,6 +79,7 @@
#define CMD_INHIBIT (1 << 0)
#define CMD_TXACTIVE (1 << 8)
#define CMD_RXACTIVE (1 << 9)
+#define CMD_FIFO_EMPTY (1 << 13)
#define CMD_AUTOCMD12ACTIVE (1 << 14)
#define CMD_BUS_BUSY (CMD_AUTOCMD12ACTIVE | \
CMD_RXACTIVE | \