summaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-11-20 00:31:13 -0800
committerChris Ball <chris@printf.net>2014-01-13 12:48:24 -0500
commite3c418f1b26b59841bd074baa740a43afc15199b (patch)
tree907c9258ca082d79b696f055fdff8f948c53bd53 /include/linux/mmc
parent5d60e500541ed154112809627f12d86056ac5f09 (diff)
downloadop-kernel-dev-e3c418f1b26b59841bd074baa740a43afc15199b.zip
op-kernel-dev-e3c418f1b26b59841bd074baa740a43afc15199b.tar.gz
mmc: SDHI: add SoC specific workaround via HW version
One of Renesas SDHI chip needs workaround to use it, and, we can judge it based on chip version. This patch adds very quick-hack workaround method, since we still don't know how many chips need workaround in the future. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/tmio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/tmio.h b/include/linux/mmc/tmio.h
index a1c1f32..84d9053 100644
--- a/include/linux/mmc/tmio.h
+++ b/include/linux/mmc/tmio.h
@@ -33,6 +33,7 @@
#define CTL_SDIO_IRQ_MASK 0x38
#define CTL_DMA_ENABLE 0xd8
#define CTL_RESET_SD 0xe0
+#define CTL_VERSION 0xe2
#define CTL_SDIO_REGS 0x100
#define CTL_CLK_AND_WAIT_CTL 0x138
#define CTL_RESET_SDIO 0x1e0
OpenPOWER on IntegriCloud