Skip to content
Snippets Groups Projects
Commit 97a7b992 authored by Yoshihiro Shimoda's avatar Yoshihiro Shimoda Committed by Andy Fleming
Browse files

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: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent 5b0c942f
No related branches found
No related tags found
No related merge requests found
...@@ -593,7 +593,7 @@ int mmcif_mmc_init(void) ...@@ -593,7 +593,7 @@ int mmcif_mmc_init(void)
mmc->f_max = CLKDEV_EMMC_DATA; mmc->f_max = CLKDEV_EMMC_DATA;
mmc->voltages = MMC_VDD_32_33 | MMC_VDD_33_34; mmc->voltages = MMC_VDD_32_33 | MMC_VDD_33_34;
mmc->host_caps = MMC_MODE_HS | MMC_MODE_HS_52MHz | MMC_MODE_4BIT | 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)); memcpy(mmc->name, DRIVER_NAME, sizeof(DRIVER_NAME));
mmc->send_cmd = sh_mmcif_request; mmc->send_cmd = sh_mmcif_request;
mmc->set_ios = sh_mmcif_set_ios; mmc->set_ios = sh_mmcif_set_ios;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment