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
..
2015-08-05 08:44:06 -06:00
2014-11-26 11:21:14 -05:00
2015-01-29 13:11:02 +01:00
2015-02-25 08:02:22 +01:00
2015-03-24 10:50:50 -04:00
2015-08-06 10:50:04 -07:00
2015-08-13 13:06:03 -07:00
2015-09-02 15:25:28 +02:00
2015-07-26 12:12:04 +02:00
2015-01-12 09:38:47 -05:00