ARMv8/LS2085A: Enable auto precharge for DP-DDR
authorYork Sun <yorksun@freescale.com>
Tue, 6 Jan 2015 21:18:51 +0000 (13:18 -0800)
committerYork Sun <yorksun@freescale.com>
Tue, 24 Feb 2015 21:09:22 +0000 (13:09 -0800)
DP-DDR benefits from auto precharge because of its specific
application.

Signed-off-by: York Sun <yorksun@freescale.com>
board/freescale/ls2085a/ddr.c

index b4a3fc9a9ed1aa5f581094de7e3885d2f43d9faa..4884fa24d04ef81ff3da5958a3aebff987b5d1c1 100644 (file)
@@ -77,6 +77,7 @@ found:
                popts->data_bus_width = 1;
                popts->otf_burst_chop_en = 0;
                popts->burst_length = DDR_BL8;
+               popts->bstopre = 0;     /* enable auto precharge */
        }
        /*
         * Factors to consider for half-strength driver enable: