summaryrefslogtreecommitdiffstats
path: root/include/mmc.h
diff options
context:
space:
mode:
authorLei Wen <leiwen@marvell.com>2011-10-03 20:35:10 +0000
committerAndy Fleming <afleming@freescale.com>2011-11-03 02:14:58 -0500
commit0560db18ecd5b6f15f8bc655868d7d2316eba261 (patch)
treee2fa17574d0ad6e208185babbf47ffff7f33db5a /include/mmc.h
parent02d3ad3e19fd1b21cae493edd1d2db5f674510d8 (diff)
downloadu-boot-0560db18ecd5b6f15f8bc655868d7d2316eba261.tar.gz
u-boot-0560db18ecd5b6f15f8bc655868d7d2316eba261.tar.xz
u-boot-0560db18ecd5b6f15f8bc655868d7d2316eba261.zip
mmc: change magic number to macro define
Previous magic number is hard to parse its meaning, change it to respective macro definition Signed-off-by: Lei Wen <leiwen@marvell.com> Acked-by: WOlfgang Denk <wd@denx.de>
Diffstat (limited to 'include/mmc.h')
-rw-r--r--include/mmc.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/include/mmc.h b/include/mmc.h
index 53aff9b4b4..015a7f36ae 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -145,13 +145,15 @@
/*
* EXT_CSD fields
*/
-
-#define EXT_CSD_PART_CONF 179 /* R/W */
-#define EXT_CSD_BUS_WIDTH 183 /* R/W */
-#define EXT_CSD_HS_TIMING 185 /* R/W */
-#define EXT_CSD_CARD_TYPE 196 /* RO */
-#define EXT_CSD_REV 192 /* RO */
-#define EXT_CSD_SEC_CNT 212 /* RO, 4 bytes */
+#define EXT_CSD_PARTITIONING_SUPPORT 160 /* 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 */
+#define EXT_CSD_HS_TIMING 185 /* R/W */
+#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_ERASE_GRP_SIZE 224 /* RO */
/*
* EXT_CSD field definitions