[U-Boot] How do ARM platform initialize DDR?

Timur Tabi
2013-09-22T13:00:53Z

On Tue, Sep 17, 2013 at 10:59 AM, York Sun <yorksun@freescale.com> wrote:
> I am wondering if there is generic
> DDR driver used by many ARM platforms, like the one we have for
> powerpc/mpc85xx SoCs.

Sadly, no such thing exists. There is no generic DDR controller for
ARM. I'm working on DDR controller support for our ARM chips, and
it's nowhere near as elegant as Freescale's PowerPC parts. In our
case, we have firmware running in the chip that does DDR
initialization and then loads u-boot.bin from a SPI flash into DDR,
and then it boots the main processor.