summaryrefslogtreecommitdiffstats
path: root/include/dwmmc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dwmmc.h')
-rw-r--r--include/dwmmc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dwmmc.h b/include/dwmmc.h
index c8b1d408e2..e142f3ec4a 100644
--- a/include/dwmmc.h
+++ b/include/dwmmc.h
@@ -123,6 +123,8 @@
#define MSIZE(x) ((x) << 28)
#define RX_WMARK(x) ((x) << 16)
#define TX_WMARK(x) (x)
+#define RX_WMARK_SHIFT 16
+#define RX_WMARK_MASK (0xfff << RX_WMARK_SHIFT)
#define DWMCI_IDMAC_OWN (1 << 31)
#define DWMCI_IDMAC_CH (1 << 4)
@@ -144,6 +146,7 @@ struct dwmci_host {
unsigned int bus_hz;
int dev_index;
int buswidth;
+ u32 clksel_val;
u32 fifoth_val;
struct mmc *mmc;
OpenPOWER on IntegriCloud