summaryrefslogtreecommitdiff
path: root/drivers/mmc/arm_pl180_mmci.h
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2018-12-05 14:04:32 +0100
committerPatrice Chotard <patrice.chotard@st.com>2019-04-23 15:31:30 +0200
commit6f41d1a17e20fcc99329c2001d465945fca447a1 (patch)
tree83f15e93ea91648239934e4d453c51d03f5c7438 /drivers/mmc/arm_pl180_mmci.h
parentdd18df440ae1802ca51aa4995f508fe350b1f46d (diff)
mmc: arm_pl180_mmci: Sync compatible with kernel
Initially the compatible string was wrongly set to "st,stm32f4xx-sdio". Use compatible string used by kernel instead and identify mmci variant using "arm,primecell-periphid" property. Currently, the DM part of mmci driver is only used by STM32 SoCs, that's why the switch case gets only one entry. It will be populated easily with new variant in the future. 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, 1 insertions, 2 deletions
diff --git a/drivers/mmc/arm_pl180_mmci.h b/drivers/mmc/arm_pl180_mmci.h
index 36487be288b..61ee96a112d 100644
--- a/drivers/mmc/arm_pl180_mmci.h
+++ b/drivers/mmc/arm_pl180_mmci.h
@@ -141,8 +141,7 @@
#define SDI_FIFO_BURST_SIZE 8
-#define VERSION1 false
-#define VERSION2 true
+#define STM32_MMCI_ID 0x00880180
struct sdi_registers {
u32 power; /* 0x00*/