summaryrefslogtreecommitdiff
path: root/board/freescale/ls2085a/ddr.c
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2015-01-06 13:18:51 -0800
committerYork Sun <yorksun@freescale.com>2015-02-24 13:09:22 -0800
commit2aa44a2498b7316ddcd1284129f6ec4f8a4e4d5f (patch)
tree6126d44d227034d2992a0290ce35760356726073 /board/freescale/ls2085a/ddr.c
parent03e664d8f4065010ccb6c75648192200a832fd8b (diff)
downloadu-boot-imx-2aa44a2498b7316ddcd1284129f6ec4f8a4e4d5f.zip
u-boot-imx-2aa44a2498b7316ddcd1284129f6ec4f8a4e4d5f.tar.gz
u-boot-imx-2aa44a2498b7316ddcd1284129f6ec4f8a4e4d5f.tar.bz2
ARMv8/LS2085A: Enable auto precharge for DP-DDR
DP-DDR benefits from auto precharge because of its specific application. Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale/ls2085a/ddr.c')
-rw-r--r--board/freescale/ls2085a/ddr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/freescale/ls2085a/ddr.c b/board/freescale/ls2085a/ddr.c
index b4a3fc9..4884fa2 100644
--- a/board/freescale/ls2085a/ddr.c
+++ b/board/freescale/ls2085a/ddr.c
@@ -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: