From 4cc1cd5941827a04cf5c51a07fcc42e8945894aa Mon Sep 17 00:00:00 2001
From: Kim Phillips <kim.phillips@freescale.com>
Date: Fri, 17 Aug 2007 09:30:00 -0500
Subject: [PATCH] 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>
---
 cpu/mpc83xx/spd_sdram.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpu/mpc83xx/spd_sdram.c b/cpu/mpc83xx/spd_sdram.c
index 040836c42e0..ee2d0385e45 100644
--- a/cpu/mpc83xx/spd_sdram.c
+++ b/cpu/mpc83xx/spd_sdram.c
@@ -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 */
-- 
GitLab