summaryrefslogtreecommitdiff
path: root/include/fsl_esdhc.h
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2010-03-25 18:34:40 +0800
committerTerry Lv <r65388@freescale.com>2010-03-26 17:48:54 +0800
commit76ca5d255b4920986c66c1a66e826420719f433c (patch)
tree2d580d9010e02d240e725c44950a80e6fc0ce421 /include/fsl_esdhc.h
parentc86131164139fcb0ce1b448856ef452bdf6a346c (diff)
downloadu-boot-imx-76ca5d255b4920986c66c1a66e826420719f433c.zip
u-boot-imx-76ca5d255b4920986c66c1a66e826420719f433c.tar.gz
u-boot-imx-76ca5d255b4920986c66c1a66e826420719f433c.tar.bz2
ENGR00122050: mmc can't read data whose size exceeds 32M
mmc can't read data whose size exceeds 32M. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/fsl_esdhc.h')
-rw-r--r--include/fsl_esdhc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/fsl_esdhc.h b/include/fsl_esdhc.h
index f3c38e6..d921b3d 100644
--- a/include/fsl_esdhc.h
+++ b/include/fsl_esdhc.h
@@ -2,7 +2,8 @@
* FSL SD/MMC Defines
*-------------------------------------------------------------------
*
- * Copyright 2007-2008, Freescale Semiconductor, Inc
+ * (C) Copyright 2008-2010 Freescale Semiconductor, Inc.
+ * Copyright 2007-2010, Freescale Semiconductor, Inc
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -137,7 +138,7 @@
#define BLKATTR 0x2e004
#define BLKATTR_CNT(x) ((x & 0xffff) << 16)
#define BLKATTR_SIZE(x) (x & 0x1fff)
-#define MAX_BLK_CNT 0x7fff /* so malloc will have enough room with 32M */
+#define MAX_BLK_CNT 0xffff /* so malloc will have enough room with 32M */
#define ESDHC_HOSTCAPBLT_VS18 0x04000000
#define ESDHC_HOSTCAPBLT_VS30 0x02000000