]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
imx: ventana: base SPL MMDC calibration on width and size not board
authorTim Harvey <tharvey@gateworks.com>
Thu, 21 Aug 2014 06:31:11 +0000 (23:31 -0700)
committerStefano Babic <sbabic@denx.de>
Tue, 9 Sep 2014 13:13:25 +0000 (15:13 +0200)
commitc91e4b8b082b54faf329e5d9bbe7c2c588af6654
treebaa52325403daddb07601b150172b2b95ac96c69
parent5b94b6f6b28fcb93b3440e12282e3384e17972c8
imx: ventana: base SPL MMDC calibration on width and size not board

The IMX6 MMDC calibration registers depend on propagation delay and capacitive
loading between the SoC's MMDC and the DDR3 chips. On the Ventana boards the
board layout varies little in trace-lengths such that propagation delays are
irrelevant thus we can simply things by using calibration values obtained
from various board layouts based on a common SoC and DDR chip configuration.

This eliminates board-model from being needed allowing more flexibility. These
values were tested on a large sample size of Gateworks Ventana boards ranging
in layout, and memory configuration over the entire temperature range supported.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/gw_ventana_spl.c