Browse Source

mpc83xx: fix typo in DDR2 programming

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

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Kim Phillips 17 years ago
parent
commit
4cc1cd5941
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cpu/mpc83xx/spd_sdram.c

+ 1 - 1
cpu/mpc83xx/spd_sdram.c

@@ -744,7 +744,7 @@ long int spd_sdram()
 	if (spd.mem_type == SPD_MEMTYPE_DDR)
 	if (spd.mem_type == SPD_MEMTYPE_DDR)
 		sdram_type = SDRAM_CFG_SDRAM_TYPE_DDR1;
 		sdram_type = SDRAM_CFG_SDRAM_TYPE_DDR1;
 	else
 	else
-		sdram_type = SDRAM_CFG_SDRAM_TYPE_DDR1;
+		sdram_type = SDRAM_CFG_SDRAM_TYPE_DDR2;
 
 
 	sdram_cfg = (0
 	sdram_cfg = (0
 		     | SDRAM_CFG_MEM_EN		/* DDR enable */
 		     | SDRAM_CFG_MEM_EN		/* DDR enable */