[U-Boot] [PATCH 1/1] mmc: omap: enable high capacity

T Krishnamoorthy, Balaji balajitk at ti.com
Thu Sep 8 15:08:22 CEST 2011


On Sun, Sep 4, 2011 at 1:49 AM, Andy Fleming <afleming at gmail.com> wrote:
> Isn't high-capacity capability also connected to board capabilities?
> Is it safe to enable this across all users of this driver?

Hi,
Host contoller IP supports High capacity.
If High capacity card is connected to the board, then this flag is needed for
card detection. This patch is tested on OMAP4430 platform.
Haven't tested on omap3 but should be safe.

>
> Andy
>
> On Thu, Aug 25, 2011 at 9:46 AM, Balaji T K <balajitk at ti.com> wrote:
>> Enable high capacity to host capability.
>> Fixes eMMC detection on boot from MMC/SD card.
>>
>> Signed-off-by: Balaji T K <balajitk at ti.com>
>> Signed-off-by: Aneesh V <aneesh at ti.com>
>> ---
>>  drivers/mmc/omap_hsmmc.c |    3 ++-
>>  1 files changed, 2 insertions(+), 1 deletions(-)
>>
>> diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c
>> index ef12ecd..6627905 100644
>> --- a/drivers/mmc/omap_hsmmc.c
>> +++ b/drivers/mmc/omap_hsmmc.c
>> @@ -461,7 +461,8 @@ int omap_mmc_init(int dev_index)
>>                return 1;
>>        }
>>        mmc->voltages = MMC_VDD_32_33 | MMC_VDD_33_34 | MMC_VDD_165_195;
>> -       mmc->host_caps = MMC_MODE_4BIT | MMC_MODE_HS_52MHz | MMC_MODE_HS;
>> +       mmc->host_caps = MMC_MODE_4BIT | MMC_MODE_HS_52MHz | MMC_MODE_HS |
>> +                               MMC_MODE_HC;
>>
>>        mmc->f_min = 400000;
>>        mmc->f_max = 52000000;
>> --
>> 1.7.0.4
>>
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
>>
>


More information about the U-Boot mailing list