summaryrefslogtreecommitdiff
path: root/include/mmc.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-12-12 15:02:00 -0500
committerTom Rini <trini@ti.com>2014-12-12 15:02:00 -0500
commit6983951a612aeecd906521e31de83d7fae309950 (patch)
tree3116878ff99d60e29cdfa19937accbb767bc0d37 /include/mmc.h
parenta5a58826110eb3da2956c6b3213bd750e166d75c (diff)
parent2b8a9692f9d8a744b6a93a9bed115ca46541ca1f (diff)
downloadu-boot-imx-6983951a612aeecd906521e31de83d7fae309950.zip
u-boot-imx-6983951a612aeecd906521e31de83d7fae309950.tar.gz
u-boot-imx-6983951a612aeecd906521e31de83d7fae309950.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-mmc
Diffstat (limited to 'include/mmc.h')
-rw-r--r--include/mmc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h
index adffc35..7ec255d 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -31,6 +31,7 @@
#define MMC_VERSION_4_3 (MMC_VERSION_MMC | 0x403)
#define MMC_VERSION_4_41 (MMC_VERSION_MMC | 0x429)
#define MMC_VERSION_4_5 (MMC_VERSION_MMC | 0x405)
+#define MMC_VERSION_5_0 (MMC_VERSION_MMC | 0x500)
#define MMC_MODE_HS (1 << 0)
#define MMC_MODE_HS_52MHz (1 << 1)
@@ -147,6 +148,7 @@
* EXT_CSD fields
*/
#define EXT_CSD_GP_SIZE_MULT 143 /* R/W */
+#define EXT_CSD_PARTITION_SETTING 155 /* R/W */
#define EXT_CSD_PARTITIONS_ATTRIBUTE 156 /* R/W */
#define EXT_CSD_PARTITIONING_SUPPORT 160 /* RO */
#define EXT_CSD_RST_N_FUNCTION 162 /* R/W */
@@ -197,6 +199,8 @@
#define EXT_CSD_BOOT_BUS_WIDTH_RESET(x) (x << 2)
#define EXT_CSD_BOOT_BUS_WIDTH_WIDTH(x) (x)
+#define EXT_CSD_PARTITION_SETTING_COMPLETED (1 << 0)
+
#define R1_ILLEGAL_COMMAND (1 << 22)
#define R1_APP_CMD (1 << 5)
@@ -314,6 +318,7 @@ struct mmc {
char init_in_progress; /* 1 if we have done mmc_start_init() */
char preinit; /* start init as early as possible */
uint op_cond_response; /* the response byte from the last op_cond */
+ int ddr_mode;
};
int mmc_register(struct mmc *mmc);