summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2012-06-07 16:39:52 +0000
committerAndy Fleming <afleming@freescale.com>2012-09-05 17:32:41 -0500
commit97a7b9928aceefb6e9024261b86e49e0e77d6bfd (patch)
tree35489b97e7e336bf2e7aec3ac60fba3f8db2d6ed /drivers
parent5b0c942f8919ed962699a44e0abb4f8a599c52c1 (diff)
downloadu-boot-imx-97a7b9928aceefb6e9024261b86e49e0e77d6bfd.zip
u-boot-imx-97a7b9928aceefb6e9024261b86e49e0e77d6bfd.tar.gz
u-boot-imx-97a7b9928aceefb6e9024261b86e49e0e77d6bfd.tar.bz2
mmc: sh_mmcif: enable MMC_MODE_HC
The controller can control high capacity cards. So, the patch adds the flag. If the flag is not set, "mmcinfo" will fail when a high capacity card is used. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/sh_mmcif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/sh_mmcif.c b/drivers/mmc/sh_mmcif.c
index 2835e24..4588568 100644
--- a/drivers/mmc/sh_mmcif.c
+++ b/drivers/mmc/sh_mmcif.c
@@ -593,7 +593,7 @@ int mmcif_mmc_init(void)
mmc->f_max = CLKDEV_EMMC_DATA;
mmc->voltages = MMC_VDD_32_33 | MMC_VDD_33_34;
mmc->host_caps = MMC_MODE_HS | MMC_MODE_HS_52MHz | MMC_MODE_4BIT |
- MMC_MODE_8BIT;
+ MMC_MODE_8BIT | MMC_MODE_HC;
memcpy(mmc->name, DRIVER_NAME, sizeof(DRIVER_NAME));
mmc->send_cmd = sh_mmcif_request;
mmc->set_ios = sh_mmcif_set_ios;