summaryrefslogtreecommitdiffstats
path: root/include/dwmmc.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-06-22 07:38:12 -0400
committerTom Rini <trini@ti.com>2013-06-22 07:38:12 -0400
commit348e47f766ac228fb02d1af562b2e9a4c69355db (patch)
tree778ffb90bb670f45fa7a0dae78010c8128c4d84d /include/dwmmc.h
parent5707233880090f785c33df32c04549ea1aeef61e (diff)
parentfbf87b1823dd5ebc2a384711ea2c677543019ece (diff)
downloadblackbird-obmc-uboot-348e47f766ac228fb02d1af562b2e9a4c69355db.tar.gz
blackbird-obmc-uboot-348e47f766ac228fb02d1af562b2e9a4c69355db.zip
Merge branch 'master' of git://git.denx.de/u-boot-arm
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