public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] fsl_esdhc.c bug
@ 2011-12-16 13:48 Jim Lentz
  2011-12-16 14:17 ` Graeme Russ
  2011-12-16 14:51 ` Fabio Estevam
  0 siblings, 2 replies; 5+ messages in thread
From: Jim Lentz @ 2011-12-16 13:48 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-12-16 18:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-16 13:48 [U-Boot] fsl_esdhc.c bug Jim Lentz
2011-12-16 14:17 ` Graeme Russ
2011-12-16 14:51 ` Fabio Estevam
2011-12-16 14:53   ` Jim Lentz
2011-12-16 18:06     ` Ira W. Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox