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

Kumar Gala galak at kernel.crashing.org
Tue Jul 14 16:41:54 CEST 2009


On Jul 14, 2009, at 4:22 AM, Wolfgang Denk wrote:

> Dear Kim,
>
> In message <1247098309-29122-2-git-send-email-ptyser at xes-inc.com>  
> Peter Tyse 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    |   16 +++++++++----
>> include/asm-ppc/config.h |    7 ++---
>> 3 files changed, 18 insertions(+), 62 deletions(-)
>
> It seems this patch (especially the include/asm-ppc/config.h changes)
> fix build problems for some other (non-FSL) boards, so I would like to
> get this in quickly.
>
> Do you plan to send a pull request including these patches any time
> soon?
>
> Alternatively, should I go ahead and apply just this patch (1/3)
> directly?
>
> Best regards,
>
> Wolfgang Denk

I'll poke Kim on these and resolve this one way or another today.

- k


More information about the U-Boot mailing list