mmc: esdhc: Add support for 8-bit bus width and non-removable card
[deliverable/linux.git] / drivers / mmc / host / sdhci-esdhc.h
index 6f16406c37cd7e2153d169e6a9429b2114f0d0b4..a2a06420e4635b3904c0cd73f662b21623994de7 100644 (file)
 /* pltfm-specific */
 #define ESDHC_HOST_CONTROL_LE  0x20
 
+/*
+ * P2020 interpretation of the SDHCI_HOST_CONTROL register
+ */
+#define ESDHC_CTRL_4BITBUS          (0x1 << 1)
+#define ESDHC_CTRL_8BITBUS          (0x2 << 1)
+#define ESDHC_CTRL_BUSWIDTH_MASK    (0x3 << 1)
+
 /* OF-specific */
 #define ESDHC_DMA_SYSCTL       0x40c
 #define ESDHC_DMA_SNOOP                0x00000040
This page took 0.034939 seconds and 5 git commands to generate.