]> code.ossystems Code Review - bsp/u-boot.git/commit
ARM: vf610: Move DDR3 initialization to imx-common
authorSanchayan Maity <maitysanchayan@gmail.com>
Wed, 15 Apr 2015 10:54:22 +0000 (16:24 +0530)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 29 Apr 2015 20:55:59 +0000 (17:55 -0300)
commit0cbdc08ceb11bc23a54d55673c4e6e1ff3c3bf2a
tree39ad8314cb9e4098f335ea7c4029aa028e335283
parentdd995b9886e3c1bbffa9f25e44c7e38d912f15ed
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