]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: AM43xx: Enable DDR dynamic IO power down for DDR3
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 19 Dec 2013 04:30:28 +0000 (10:00 +0530)
committerTom Rini <trini@ti.com>
Fri, 24 Jan 2014 16:38:39 +0000 (11:38 -0500)
This patch enables dynamically powering down the
IO receiver when not performing a read on DDR3 board.
This optimizes both active and standby power consumption.
This is derived from a patch that is done on AM335x[1]

[1] http://arago-project.org/git/projects/?p=u-boot-am33x.git;a=commit;h=6a9ee4bc72ece53fabf01825605fba3d71d5feb2

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
board/ti/am43xx/board.c

index ed87cd97b0d6e7564550223c20973f770b448c8e..4e6846a50a921c3c826630ffc4e8ee17efab51a7 100644 (file)
@@ -188,7 +188,7 @@ const struct ctrl_ioregs ioregs_ddr3 = {
        .dt1ioctl               = DDR3_DATA0_IOCTRL_VALUE,
        .dt2ioctrl              = DDR3_DATA0_IOCTRL_VALUE,
        .dt3ioctrl              = DDR3_DATA0_IOCTRL_VALUE,
-       .emif_sdram_config_ext  = 0x0043,
+       .emif_sdram_config_ext  = 0x0143,
 };
 
 const struct emif_regs ddr3_emif_regs_400Mhz = {