u-boot/board/freescale/mx6sabresd
Peng Fan f2ff834365 imx: mx6: ddr init MMDC according to ddr_type
To i.MX6, DDR3 and LPDDR2 is supported, so rename function mx6_dram_cfg
to mx6_ddr3_cfg and the original mx6_dram_cfg function only is a wrapper.
The new reimplemented function mx6_dram_cfg only invokes mx6_ddr3_cfg
when ddr_type is for DDR3. Later we can use ddr_type to initialize
MMDC for LPDDR2.

Initialize ddr_type for different boards which enable SPL.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Tim Harvey <tharvey@gateworks.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Stefan Roese <sr@denx.de>
2015-09-02 15:34:12 +02:00
..
Kconfig kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
MAINTAINERS mx6sabresd: Add mx6sabresd_spl_defconfig to MAINTAINERS entry 2014-11-20 10:30:20 +01:00
Makefile board: arm: convert makefiles to Kbuild style 2013-11-01 11:42:12 -04:00
mx6dlsabresd.cfg mx6dlsabresd: Use its own DCD table 2014-09-09 16:55:22 +02:00
mx6q_4x_mt41j128.cfg imx: ddr: Move mx6q_4x_mt41j128.cfg to mx6sabresd board 2014-09-22 16:09:56 +02:00
mx6sabresd.c imx: mx6: ddr init MMDC according to ddr_type 2015-09-02 15:34:12 +02:00