
16 Dec
2011
16 Dec
'11
2:48 p.m.
All,
There is a bug rendering SDCard support useless on Freescale esdhc controller.
File drivers/mmc/fsl_esdhc.c, function esdhc_pio_read_write
*change: *
struct fsl_esdhc *regs = mmc->priv;
*to:*
struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv; volatile struct fsl_esdhc *regs = (struct fsl_esdhc *)cfg->esdhc_base;
How do I/we get this into the mainstream?
I cloned the repository, and have it fixed. First time using git, and trying to contribute to OpenSource too.
Regards,
Jim