summaryrefslogtreecommitdiff
path: root/include/mmc.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-06-14 16:06:49 -0400
committerTom Rini <trini@ti.com>2013-06-14 16:06:49 -0400
commitdfdb3d37dd0fa8bdabdf7b5ffb597af470e74621 (patch)
treed18616299f81b663fb2cda18f30423df796121f3 /include/mmc.h
parent216a793cc1702227fd4ad624080f585038d1fa45 (diff)
parent91171091c6733cd290e18bf25a8aedbe682d2430 (diff)
downloadu-boot-imx-dfdb3d37dd0fa8bdabdf7b5ffb597af470e74621.zip
u-boot-imx-dfdb3d37dd0fa8bdabdf7b5ffb597af470e74621.tar.gz
u-boot-imx-dfdb3d37dd0fa8bdabdf7b5ffb597af470e74621.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-mmc
Diffstat (limited to 'include/mmc.h')
-rw-r--r--include/mmc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h
index 566db59..ea198d8 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -158,7 +158,9 @@
/*
* EXT_CSD fields
*/
+#define EXT_CSD_GP_SIZE_MULT 143 /* R/W */
#define EXT_CSD_PARTITIONING_SUPPORT 160 /* RO */
+#define EXT_CSD_RPMB_MULT 168 /* RO */
#define EXT_CSD_ERASE_GROUP_DEF 175 /* R/W */
#define EXT_CSD_PART_CONF 179 /* R/W */
#define EXT_CSD_BUS_WIDTH 183 /* R/W */
@@ -166,6 +168,7 @@
#define EXT_CSD_REV 192 /* RO */
#define EXT_CSD_CARD_TYPE 196 /* RO */
#define EXT_CSD_SEC_CNT 212 /* RO, 4 bytes */
+#define EXT_CSD_HC_WP_GRP_SIZE 221 /* RO */
#define EXT_CSD_HC_ERASE_GRP_SIZE 224 /* RO */
#define EXT_CSD_BOOT_MULT 226 /* RO */
@@ -263,6 +266,10 @@ struct mmc {
uint write_bl_len;
uint erase_grp_size;
u64 capacity;
+ u64 capacity_user;
+ u64 capacity_boot;
+ u64 capacity_rpmb;
+ u64 capacity_gp[4];
block_dev_desc_t block_dev;
int (*send_cmd)(struct mmc *mmc,
struct mmc_cmd *cmd, struct mmc_data *data);