Commit fb8302bfc50c6763e20a077cba4a315404ffb727

Authored by Shawn Guo
Committed by Stefano Babic
1 parent e660c44d9e

fsl_esdhc: add MMC_MODE_HC host_caps

All esdhc variants we know should support high capacity MMC cards,
so let's add MMC_MODE_HC host_caps unconditionally to support those
MMC cards (capacity > 2 GB).

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/mmc/fsl_esdhc.c
... ... @@ -577,7 +577,7 @@
577 577 return -1;
578 578 }
579 579  
580   - mmc->host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT;
  580 + mmc->host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT | MMC_MODE_HC;
581 581  
582 582 if (caps & ESDHC_HOSTCAPBLT_HSS)
583 583 mmc->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS;