summaryrefslogtreecommitdiff
path: root/drivers/mmc/mmc.c
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2011-06-22 12:50:49 +0800
committerFrank Li <Frank.Li@freescale.com>2011-06-24 09:19:01 +0800
commit15f996b62fb5d2709ff66fbca0f6d0ca376acd13 (patch)
treef152b11389acfd059a9d0bcef5f31794656e25b3 /drivers/mmc/mmc.c
parent88d03a4087ad1c13b546e7d0962a885633d01b76 (diff)
downloadu-boot-imx-15f996b62fb5d2709ff66fbca0f6d0ca376acd13.zip
u-boot-imx-15f996b62fb5d2709ff66fbca0f6d0ca376acd13.tar.gz
u-boot-imx-15f996b62fb5d2709ff66fbca0f6d0ca376acd13.tar.bz2
ENGR00144424 MX6: enable uboot for ARM2(SABREAUTO) CPU board
Use 528M DDR script Disable L2 cache because rom enable L2 cache when use plug-in Fix usdhc pad settings Remove mac address hardcode Signed-off-by: Anson Huang <b20788@freescale.com> Signed-off-by: Richard Zhu <r65037@freescale.com> Signed-off-by: Terry Lv <r65388@freescale.com> Signed-off-by: Anish Trivedi <anish@freescale.com> Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'drivers/mmc/mmc.c')
-rw-r--r--drivers/mmc/mmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index ba14330..cf2a9a6 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -438,8 +438,8 @@ static int mmc_change_freq(struct mmc *mmc)
goto err_rtn;
/* Cards with density > 2GiB are sector addressed */
- if (ext_csd[212] || ext_csd[213] || ext_csd[214] || ext_csd[215] &&
- (mmc->capacity > (2u * 1024 * 1024 * 1024) / 512))
+ if ((ext_csd[212] || ext_csd[213] || ext_csd[214] || ext_csd[215]) &&
+ ((mmc->capacity > (2u * 1024 * 1024 * 1024) / 512)))
mmc->high_capacity = 1;
cardtype = ext_csd[EXT_CSD_CARD_TYPE] & 0xf;