summaryrefslogtreecommitdiff
path: root/drivers/mmc/arm_pl180_mmci.h
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2017-10-23 10:57:31 +0200
committerTom Rini <trini@konsulko.com>2017-11-17 07:44:13 -0500
commit3c0dbed232bd17a7bed773f545420460a3ac183a (patch)
treee647e960772aaead7f3949be48cb4d710918e822 /drivers/mmc/arm_pl180_mmci.h
parentcb0060e8360fe75c98b2c21740fde80a8e1f62ec (diff)
downloadu-boot-3c0dbed232bd17a7bed773f545420460a3ac183a.tar.gz
mmc: arm_pl180_mmci: adapt driver to DM usage
Convert this driver to driver model. This driver is also used by VEXPRESS platforms which doesn't use driver model. Tested on STM32F746 and STM32F769 platforms. Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'drivers/mmc/arm_pl180_mmci.h')
-rw-r--r--drivers/mmc/arm_pl180_mmci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/arm_pl180_mmci.h b/drivers/mmc/arm_pl180_mmci.h
index 6e232f7df2..b935288704 100644
--- a/drivers/mmc/arm_pl180_mmci.h
+++ b/drivers/mmc/arm_pl180_mmci.h
@@ -142,6 +142,9 @@
#define SDI_FIFO_BURST_SIZE 8
+#define VERSION1 false
+#define VERSION2 true
+
struct sdi_registers {
u32 power; /* 0x00*/
u32 clock; /* 0x04*/