ARM: vf610: Move DDR3 initialization to imx-common
authorSanchayan Maity <maitysanchayan@gmail.com>
Wed, 25 Mar 2015 05:35:53 +0000 (11:05 +0530)
committerStefan Agner <stefan@agner.ch>
Tue, 14 Apr 2015 07:08:08 +0000 (09:08 +0200)
commit912744734dc7066c2f394b6099c61a3f4db7cf8c
treea5ed672422fd213b3b88ae5f68d0dcc863e56704
parent7831b68f12dc3acf9abd25624f742d638d5f522f
ARM: vf610: Move DDR3 initialization to imx-common

In order to avoid code duplication, move the DDR3 initialization to the
common place under imx-common. Currently ROW_DIFF and COL_DIFF can be
chosen from the board file. The JEDEC timings are specified using a
common ddr3_jedec_timings structure.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
arch/arm/imx-common/Makefile
arch/arm/imx-common/ddrmc-vf610.c [new file with mode: 0644]
arch/arm/include/asm/arch-vf610/ddrmc-vf610.h [new file with mode: 0644]
arch/arm/include/asm/arch-vf610/imx-regs.h
board/freescale/vf610twr/vf610twr.c