]> git.sur5r.net Git - u-boot/commitdiff
mpc83xx: fix typo in DDR2 programming
authorKim Phillips <kim.phillips@freescale.com>
Fri, 17 Aug 2007 14:30:00 +0000 (09:30 -0500)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 17 Aug 2007 14:30:00 +0000 (09:30 -0500)
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

index 040836c42e09df55d7f1a36eb0ae36b742db164c..ee2d0385e457b6bcc8b720024aba63e3b8ef5096 100644 (file)
@@ -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 */