]> git.sur5r.net Git - u-boot/commitdiff
imx: ventana: updated 16bit DDR calibration
authorTim Harvey <tharvey@gateworks.com>
Wed, 8 Apr 2015 19:54:54 +0000 (12:54 -0700)
committerStefano Babic <sbabic@denx.de>
Wed, 22 Apr 2015 12:39:11 +0000 (14:39 +0200)
Updated 16bit DDR calibration using values obtained from running the
i.MX6 DDR Stress Test tool over a set of boards over full operationg
temperature.

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

index 668e1122e8d7eeba9a2f248a4939210278b46941..baa2c6e00ae2a8d5d0f02d68848068e74253a7cc 100644 (file)
@@ -233,13 +233,15 @@ static struct mx6_mmdc_calibration mx6dq_128x16_mmdc_calib = {
 
 static struct mx6_mmdc_calibration mx6dq_256x16_mmdc_calib = {
        /* write leveling calibration determine */
-       .p0_mpwldectrl0 = 0x00190017,
+       .p0_mpwldectrl0 = 0x001B0016,
+       .p0_mpwldectrl1 = 0x000C000E,
        /* Read DQS Gating calibration */
-       .p0_mpdgctrl0 = 0x43380347,
+       .p0_mpdgctrl0 = 0x4324033A,
+       .p0_mpdgctrl1 = 0x00000000,
        /* Read Calibration: DQS delay relative to DQ read access */
-       .p0_mprddlctl = 0x3C313539,
+       .p0_mprddlctl = 0x40403438,
        /* Write Calibration: DQ/DM delay relative to DQS write access */
-       .p0_mpwrdlctl = 0x36393C39,
+       .p0_mpwrdlctl = 0x40403D36,
 };
 
 static struct mx6_mmdc_calibration mx6sdl_128x16_mmdc_calib = {
@@ -255,13 +257,15 @@ static struct mx6_mmdc_calibration mx6sdl_128x16_mmdc_calib = {
 
 static struct mx6_mmdc_calibration mx6sdl_256x16_mmdc_calib = {
        /* write leveling calibration determine */
-       .p0_mpwldectrl0 = 0x00190017,
+       .p0_mpwldectrl0 = 0x00420043,
+       .p0_mpwldectrl1 = 0x0016001A,
        /* Read DQS Gating calibration */
-       .p0_mpdgctrl0 = 0x43380347,
+       .p0_mpdgctrl0 = 0x4238023B,
+       .p0_mpdgctrl1 = 0x00000000,
        /* Read Calibration: DQS delay relative to DQ read access */
-       .p0_mprddlctl = 0x3C313539,
+       .p0_mprddlctl = 0x40404849,
        /* Write Calibration: DQ/DM delay relative to DQS write access */
-       .p0_mpwrdlctl = 0x36393C39,
+       .p0_mpwrdlctl = 0x40402E2F,
 };
 
 static struct mx6_mmdc_calibration mx6dq_128x32_mmdc_calib = {