[U-Boot] [PATCH 12/14] sunxi: dram: Drop DDR2 support and assume only single rank DDR3 memory

Siarhei Siamashka siarhei.siamashka at gmail.com
Fri Jul 25 06:36:54 CEST 2014


On Mon, 21 Jul 2014 20:51:12 +0100
Ian Campbell <ijc at hellion.org.uk> wrote:

> On Fri, 2014-07-18 at 19:23 +0300, Siarhei Siamashka wrote:
> > All the known Allwinner A10/A13/A20 devices are using just single rank
> > DDR3 memory. So don't pretend that we support DDR2 or more than one
> > rank, because nobody could ever test these configurations for real and
> > they are likely broken. Support for these features can be added back
> > in the case if such hardware actually exists.
> 
> > +	if (para->type != DRAM_MEMORY_TYPE_DDR3 || para->rank_num != 1)
> > +		return 0;
> 
> Can we not go further and remove these fields from the para struct too?

Right now the DRAM patchset keeps backwards compatibility with the old
'dram_para' settings. This is intended to ensure that it is a drop-in
replacement for the old code and make the transition easier. The fields
can be removed at any time later as a cosmetic fix.

-- 
Best regards,
Siarhei Siamashka


More information about the U-Boot mailing list