DaVinci: fix ddr2 vtp i/o calibration
authorTroy Kisky <troy.kisky@boundarydevices.com>
Fri, 18 May 2012 13:21:59 +0000 (13:21 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:22 +0000 (14:07 +0200)
commitd5b069ecb4199f1672fd98041bd0037bd33d2f0f
treee69184730c00381d3d7c0d65c5a692eca3686ec8
parente843d0f7ee1b67500d5cbbb20320df17ecbdf32c
DaVinci: fix ddr2 vtp i/o calibration

Previously, only the low 5 bits (NCH) were being transfered
from DDRVTPR to DDRVTPIOCR, the bits 5-9 where zeroed.

VTP_RECAL should be bit 15, not 18.

The only mainline board affected by this change is davinci_sonata.
The other Davinci boards define CONFIG_SKIP_LOWLEVEL_INIT.

However, if the program that loads u-boot on these boards
copied the code from u-boot, they will need fixed as well.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Please get tested by acks before applying, where tested by
means an overnight memory test.

Thanks
Troy
arch/arm/cpu/arm926ejs/davinci/lowlevel_init.S