diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2014-05-16 13:59:53 +0900 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2014-05-16 14:54:26 +0900 |
commit | 8caf46d1890b625aafe9cc16114b3c65842dbb98 (patch) | |
tree | caaf1e91f7409dcfcc6560d462c663fbfd76e6d7 /drivers/mmc | |
parent | 959198f7cacea1076b3a43721ec173266f3158af (diff) | |
download | u-boot-imx-8caf46d1890b625aafe9cc16114b3c65842dbb98.zip u-boot-imx-8caf46d1890b625aafe9cc16114b3c65842dbb98.tar.gz u-boot-imx-8caf46d1890b625aafe9cc16114b3c65842dbb98.tar.bz2 |
mmc: remove the unnecessary define and fix the wrong bit control
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Lukasz Majeski <l.majewski@samsung.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 16051e5..dd6a6ef 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -514,7 +514,7 @@ static int mmc_change_freq(struct mmc *mmc) return 0; /* High Speed is set, there are two types: 52MHz and 26MHz */ - if (cardtype & MMC_HS_52MHZ) + if (cardtype & EXT_CSD_CARD_TYPE_52) mmc->card_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; else mmc->card_caps |= MMC_MODE_HS; |