ppc4xx: PMC440: Only use one CS (rank) in DDR2 configuration
authorStefan Roese <sr@denx.de>
Thu, 12 Mar 2009 06:24:40 +0000 (07:24 +0100)
committerStefan Roese <sr@denx.de>
Tue, 17 Mar 2009 09:52:36 +0000 (10:52 +0100)
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@denx.de>
board/esd/pmc440/sdram.c

index 197857a..bb46ecc 100644 (file)
@@ -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);