Skip to contentSkip to conversation

mpc83xx: fix typo in DDR2 programming

PATCH New Kim Phillips 1 participant 1 message Aug 17, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mpc83xx: fix typo in DDR2 programming

introduced in the implement board_add_ram_info patch as I was cleaning out the magic numbers. sorry.

---
 cpu/mpc83xx/spd_sdram.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
cpu/mpc83xx/spd_sdram.c +1 -1
index 040836c..ee2d038 100644
@@ -744,7 +744,7 @@ long int spd_sdram()
 	if (spd.mem_type == SPD_MEMTYPE_DDR)
 		sdram_type = SDRAM_CFG_SDRAM_TYPE_DDR1;
 	else
-		sdram_type = SDRAM_CFG_SDRAM_TYPE_DDR1;
+		sdram_type = SDRAM_CFG_SDRAM_TYPE_DDR2;
 
 	sdram_cfg = (0
 		     | SDRAM_CFG_MEM_EN		/* DDR enable */
Signature · 1 line
1.5.0.3