Skip to contentSkip to conversation

ppc4xx: PMC440: Only use one CS (rank) in DDR2 configuration

PATCH New Stefan Roese 2 participants 2 messages Mar 12, 2009 – Mar 16, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc4xx: PMC440: Only use one CS (rank) in DDR2 configuration

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.

---
 board/esd/pmc440/sdram.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
board/esd/pmc440/sdram.c +1 -1
index 197857a..bb46ecc 100644
@@ -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);
Signature · 1 line
1.6.1.3
#1 lore raw

PATCH 1/1 ppc4xx: PMC440: Only use one CS (rank) in DDR2 configuration

Thanks Stefan!

Quoted 23 lines · Stefan Roese

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.

---
 board/esd/pmc440/sdram.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
board/esd/pmc440/sdram.c +1 -1
index 197857a..bb46ecc 100644
@@ -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);