summaryrefslogtreecommitdiff
path: root/include/mmc.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2012-02-17 23:54:46 +0100
committerWolfgang Denk <wd@denx.de>2012-02-17 23:54:46 +0100
commit2acca35ce4604dcef933f07d90aa9c9c930e1049 (patch)
treec97ed42561e365e04d62b38425f65c662ab267d4 /include/mmc.h
parent7dda0c3759c6ee190d44b8ceaeab58047cb9a957 (diff)
parentd617c426a6ef8d731da1936bca7649a1574d5420 (diff)
downloadu-boot-imx-2acca35ce4604dcef933f07d90aa9c9c930e1049.zip
u-boot-imx-2acca35ce4604dcef933f07d90aa9c9c930e1049.tar.gz
u-boot-imx-2acca35ce4604dcef933f07d90aa9c9c930e1049.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-mmc
* 'master' of git://git.denx.de/u-boot-mmc: mmc: make mmc_send_status() more reliable mmc: fix card busy polling Tegra: mmc: Fixed handling of interrupts in timeouts. omap_hsmmc: Wait for CMDI to be clear
Diffstat (limited to 'include/mmc.h')
-rw-r--r--include/mmc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h
index 8744604..30c2375 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -112,6 +112,8 @@
#define MMC_STATUS_CURR_STATE (0xf << 9)
#define MMC_STATUS_ERROR (1 << 19)
+#define MMC_STATE_PRG (7 << 9)
+
#define MMC_VDD_165_195 0x00000080 /* VDD voltage 1.65 - 1.95 */
#define MMC_VDD_20_21 0x00000100 /* VDD voltage 2.0 ~ 2.1 */
#define MMC_VDD_21_22 0x00000200 /* VDD voltage 2.1 ~ 2.2 */