[U-Boot] [PATCH 1/3] 83xx: Default to using DMA to initialize SDRAM

Peter Tyser ptyser at xes-inc.com
Tue Nov 24 05:25:30 CET 2009


On Sun, 2009-11-22 at 21:42 +0100, Wolfgang Denk wrote:
> Dear Kim & Peter,
> 
> In message <1247081322-22392-2-git-send-email-ptyser at xes-inc.com> Peter Tyser wrote:
> > When SDRAM ECC is enabled and CONFIG_ECC_INIT_VIA_DDRCONTROLLER is not
> > defined use DMA to set SDRAM to a known state.  Previously a sequence of
> > 64-bit stores was used.
> > 
> > Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
> > ---
> >  cpu/mpc83xx/spd_sdram.c  |   57 +++------------------------------------------
> >  drivers/dma/fsl_dma.c    |    7 +----
> >  include/asm-ppc/config.h |    7 ++---
> >  3 files changed, 9 insertions(+), 62 deletions(-)
> 
> What's the status of these 3 patches:
> 
> http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/63152/focus=63154

1/3 can be ignored.  After some more testing it was determined using DMA
to initialize memory was slower than the original method.

2/3 is up to Kim, but its not really necessary.  Right now the 83xx
boards are hard-coded to initialize memory with the value of 0xdeadbeef.
The change was intended to make the init value configurable based on
CONFIG_MEM_INIT_VALUE like the MPC85xx/86xx arches.  Let me know if
you'd like me to resend Kim - the current patch would need to be
rebased/updated.

3/3 is no longer needed.  The change was rolled into a resubmission of a
different patch I believe.

I won't take any action unless Kim is interested in 2/3.

Best,
Peter



More information about the U-Boot mailing list