[U-Boot] [PATCH] ppc4xx: PMC440: Only use one CS (rank) in DDR2 configuration

Stefan Roese sr at denx.de
Thu Mar 12 08:22:21 CET 2009


This patch fixes a problem spotted by Mikhail Zolotaryov on Sequoia with
the DDR2 configuration to only use one CS (rank). As this code is most
likely copied from the original Sequoia version, this error was copied
as well.

Signed-off-by: Stefan Roese <sr at denx.de>
---
 board/esd/pmc440/sdram.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/board/esd/pmc440/sdram.c b/board/esd/pmc440/sdram.c
index 197857a..bb46ecc 100644
--- a/board/esd/pmc440/sdram.c
+++ b/board/esd/pmc440/sdram.c
@@ -70,7 +70,7 @@ phys_size_t initdram (int board_type)
 	mtsdram(DDR0_07, 0x000D0100);
 	mtsdram(DDR0_08, 0x02430001);
 	mtsdram(DDR0_09, 0x00011D5F);
-	mtsdram(DDR0_10, 0x00000300);
+	mtsdram(DDR0_10, 0x00000100);
 	mtsdram(DDR0_11, 0x0027C800);
 	mtsdram(DDR0_12, 0x00000003);
 	mtsdram(DDR0_14, 0x00000000);
-- 
1.6.1.3



More information about the U-Boot mailing list