Re: [U-Boot] [PATCH 3/4] mmc: fsl_esdhc: Implement card-detect hook.

2011-12-05 Thread Thierry Reding
* Stefano Babic wrote: > On 05/12/2011 09:23, Thierry Reding wrote: > > This card-detect hook probably doesn't work. Perhaps somebody with more > > knowledge about the hardware can comment on this. I think that perhaps > > even the complete code from esdhc_init() could go into the getcd() > > The

Re: [U-Boot] [PATCH 3/4] mmc: fsl_esdhc: Implement card-detect hook.

2011-12-05 Thread Stefano Babic
On 05/12/2011 09:23, Thierry Reding wrote: > This card-detect hook probably doesn't work. Perhaps somebody with more > knowledge about the hardware can comment on this. I think that perhaps > even the complete code from esdhc_init() could go into the getcd() The reason was only that the SDHC contr

[U-Boot] [PATCH 3/4] mmc: fsl_esdhc: Implement card-detect hook.

2011-12-05 Thread Thierry Reding
This card-detect hook probably doesn't work. Perhaps somebody with more knowledge about the hardware can comment on this. I think that perhaps even the complete code from esdhc_init() could go into the getcd() function instead or mmc_getcd() needs to be called at some later time after mmc_init(), w