]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx23: Operate DDR voltage supply at 2.5V
authorFabio Estevam <fabio.estevam@freescale.com>
Sun, 5 May 2013 15:52:54 +0000 (15:52 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 6 May 2013 07:55:51 +0000 (09:55 +0200)
After the recent fixes in the mx23 DDR setup, it is safe to operate DDR voltage
at the recommended 2.5V voltage level again.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c

index 41fb803918d2c1facee3a6d1df002ee2d3e567a8..4ed197b51d48db292ecf37e7fc41976b77efef77 100644 (file)
@@ -247,7 +247,7 @@ static void mx23_mem_setup_vddmem(void)
        struct mxs_power_regs *power_regs =
                (struct mxs_power_regs *)MXS_POWER_BASE;
 
-       writel((0x12 << POWER_VDDMEMCTRL_TRG_OFFSET) |
+       writel((0x10 << POWER_VDDMEMCTRL_TRG_OFFSET) |
                POWER_VDDMEMCTRL_ENABLE_ILIMIT |
                POWER_VDDMEMCTRL_ENABLE_LINREG |
                POWER_VDDMEMCTRL_PULLDOWN_ACTIVE,
@@ -255,7 +255,7 @@ static void mx23_mem_setup_vddmem(void)
 
        early_delay(10000);
 
-       writel((0x12 << POWER_VDDMEMCTRL_TRG_OFFSET) |
+       writel((0x10 << POWER_VDDMEMCTRL_TRG_OFFSET) |
                POWER_VDDMEMCTRL_ENABLE_LINREG,
                &power_regs->hw_power_vddmemctrl);
 }