SD Card over SPI, not working for MPC8313

R.Patil at R.Patil at
Thu Jan 17 00:30:58 EST 2013


We are working on board based on Freescale MPC8313ERDB. We have ported linux 3.0.46 kernel on it. We have to use SD card over SPI. We are trying to use 'mmc_spi' driver for the same. We are able to detect SD card insertion by the interrupt (gpio interrupt is used to detect card insertion). But we are not able to initialise the card. Is the 'mmc_spi' support for MPC8313ERDB broken? 

If no, what could be the reason we are getting timeout error by function 'mmc_spi_response_get()'?  

If anybody could just give a hint to solve or debug the problem.  

Thanks and Regards,
Rahul Patil
Email Disclaimer:

This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and  privileged information. Computer viruses can be transmitted via email.The recipient should check this email and any  attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Linuxppc-dev mailing list