imx: ventana: enable precharge power-down fast-exit mode
authorTim Harvey <tharvey@gateworks.com>
Wed, 8 Apr 2015 19:54:36 +0000 (12:54 -0700)
committerStefano Babic <sbabic@denx.de>
Wed, 22 Apr 2015 12:39:07 +0000 (14:39 +0200)
Enable fast-exit precharge mode necessary for some DDR3 devices being
used on Ventana boards.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/gw_ventana_spl.c

index 97128127fbe741f2393faeba06d1c4ff40a23238..5d313a9d52dc7f72984575f3aac712b86c8d7e84 100644 (file)
@@ -340,6 +340,7 @@ static void spl_dram_init(int width, int size_mb, int board_model)
                .bi_on = 1,     /* Bank interleaving enabled */
                .sde_to_rst = 0x10,     /* 14 cycles, 200us (JEDEC default) */
                .rst_to_cke = 0x23,     /* 33 cycles, 500us (JEDEC default) */
+               .pd_fast_exit = 1, /* enable precharge power-down fast exit */
        };
 
        /*