socrates: fix crash after relocation
authorAnatolij Gustschin <agust@denx.de>
Wed, 17 Sep 2008 10:34:45 +0000 (12:34 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 22 Sep 2008 19:48:07 +0000 (21:48 +0200)
commitd666b2d59674b5e002c0821b7ab83ec3ff90d670
tree8e65a674a93929742363d9fb5c051e75639f4d58
parent562788b0a303f3528b920d81f547f5ca77ba528e
socrates: fix crash after relocation

Currently U-Boot crashes after relocation to RAM.
Changing the CPO value of the DDR SDRAM TIMING_CFG_2
register to READ_LAT + 1 (to the value it was before
conversion of socrates to new DDR code) fixes the
problem.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
board/socrates/ddr.c