[U-Boot] fsl_esdhc.c bug

Jim Lentz JLentz at zhone.com
Fri Dec 16 14:48:21 CET 2011


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





More information about the U-Boot mailing list