[U-Boot] CONFIG_GENERIC_MMC Usage
Shane Volpe
shanevolpe at gmail.com
Fri Oct 16 15:45:20 CEST 2009
Minkyu,
Thank you for the response. I have only one question remaining:
1.) Is there any documentation in place (or can someone send me off a
quick reply) on how to set up the generic mmc driver with a board?
I'm assuming what I need to do is add code to my board file to
initialize the MMC hardware. This was originally done in "
drivers/mmc/pxa_mmc.c" with mmc_init() well now it is
mmc_legacy_init().
I'm assuming all I would need to do is remove all the mmc commands
from that code and just *take* the hardware initialization code from
it (check it for accuracy) and add it to my board file, is that
correct?
Regards,
Shane
On Fri, Oct 16, 2009 at 7:57 AM, Minkyu Kang <promsoft at gmail.com> wrote:
> Dear Shane Volpe
>
> 2009/10/15 Shane Volpe <shanevolpe at gmail.com>:
>> I have a PXA270 system with U-boot v2009.08 installed, currently this
>> system is successfully using the U-boot mmc interface (legacy) .
>> However, after looking through the u-boot source code, I see there is
>> a new mmc interface (CONFIG_GENERIC_MMC), should I be using the
>> generic mmc interface? I have tried it but it does not seem to work,
>> I'm assuming that it probably requires initialization of the MMC
>> hardware in the board files whereas in the legacy mmc system that was
>> done by the (legacy_mmc_init) board specific mmc (pxa_mmc.c) code.
>>
>> Questions regarding the new GENERIC_MMC interface:
>> 1.) Is there any documentation in place (or can someone send me off a
>> quick reply) on how to set up the generic mmc driver with a board?
>> 2.) Is it ready (recommended) to use or is it still under heavy development?
>
> generic mmc interface is ready
>
>> 3.) Does it support SDHC or just SD?
>
> support both of them
>
>>
>> Regards,
>> Shane
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
>>
>
> Thanks
> Minkyu Kang
> --
> from. prom.
> www.promsoft.net
>
More information about the U-Boot
mailing list