summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-01-06 15:58:09 +0100
committerStefan Roese <sr@denx.de>2007-01-06 15:58:09 +0100
commitf07ae7a9daef27a3d0213a4f3fe39d5342173c02 (patch)
tree8eab8ab98b9e095f59094f91e9132a180c07aa4e /cpu
parentf16c1da9577f06c5fc08651a4065537407de4635 (diff)
downloadu-boot-imx-f07ae7a9daef27a3d0213a4f3fe39d5342173c02.zip
u-boot-imx-f07ae7a9daef27a3d0213a4f3fe39d5342173c02.tar.gz
u-boot-imx-f07ae7a9daef27a3d0213a4f3fe39d5342173c02.tar.bz2
[PATCH] 44x: Fix problem with DDR controller setup (refresh rate)
This patch fixes a problem with an incorrect setup for the refresh timer of the 44x DDR controller in the file cpu/ppc4xx/sdram.c Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ppc4xx/sdram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/ppc4xx/sdram.c b/cpu/ppc4xx/sdram.c
index f06038e..294b89c 100644
--- a/cpu/ppc4xx/sdram.c
+++ b/cpu/ppc4xx/sdram.c
@@ -380,7 +380,7 @@ long int initdram(int board_type)
mtsdram(mem_b0cr, mb0cf[i].reg);
mtsdram(mem_tr0, 0x41094012);
mtsdram(mem_tr1, 0x80800800); /* SS=T2 SL=STAGE 3 CD=1 CT=0x00*/
- mtsdram(mem_rtr, 0x7e000000); /* Interval 15.20µs @ 133MHz PLB*/
+ mtsdram(mem_rtr, 0x04100000); /* Interval 7.8µs @ 133MHz PLB */
mtsdram(mem_cfg1, 0x00000000); /* Self-refresh exit, disable PM*/
udelay(400); /* Delay 200 usecs (min) */