[U-Boot] [PATCH/RFC] drivers/mmc/mmc.c: change the controller frequency before the card frequency

Albin Tonnerre albin.tonnerre at free-electrons.com
Thu Aug 20 13:50:07 CEST 2009


On Thu, Aug 20, 2009 at 01:42:04AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote :
> On 14:16 Wed 19 Aug     , Albin Tonnerre wrote:
> > While rewriting the atmel_mci driver to use the new MMC_GENERIC API (and allow
> > the use of SD/MMC on AT91 in the process), it appeared that switching the card
> > frequency before the controller frequency resulted in the answer from the card
> > never being received. Changing the controller frequency before the controller
> > frequency fixes that.
> IIRC it's not correct you are supposed to switch the card to higherfreq and
> then the bus speed

This was an error on my side, sorry for the noise.

> could show the patch of the atmel_mci to help

It's not complete yet, but I'll be sure to post it for comments as soon as i'm
done.

> Best Regards,
> J.

Regards,
-- 
Albin Tonnerre, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090820/8522f424/attachment.pgp 


More information about the U-Boot mailing list