[U-Boot] [PATCH] mmc: it's safe to ignore mmc_send_if_cond() return value

Ilya Yanok yanok at emcraft.com
Thu May 14 20:06:47 CEST 2009


Hi Alfred,

alfred steele wrote:
> Hi Ilya,
>   
>>        /* Now try to get the SD card's operating condition */
>>        err = sd_send_op_cond(mmc);
>>     
>
> I am using your set of patches on the MX31 board. I am not getting any
> command response for the  sd_send_op_cond(mmc) called from the mmc.  I
> think you claimed it will work on mxcs including mx3 which i also
> believed should be true. But the code fails to do a voltage validation
> for all the cards i tried(normal SD's)
>   

I've only tried my patch on i.MX27 board. I mentioned that it may work
on MX3's too cause the kernel driver used as a source works on both MX2
and MX3. You need to do some changes for my driver to work on MX3. Check
the pins configuration and if you have MCI clock signal enabled. Also
you should use another function to get the clock rate on MX31. Sorry, I
can't debug the driver on mx31 now, you should do it yourself. Probably
you may also want to discard my generic mmc patches (except for this
one) and pull from u-boot-mmc tree instead.

Regards, Ilya.



More information about the U-Boot mailing list