summaryrefslogtreecommitdiff
path: root/board/freescale/ls1046ardb/ddr.c
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@nxp.com>2016-11-15 09:15:21 (GMT)
committerYork Sun <york.sun@nxp.com>2016-12-15 19:56:39 (GMT)
commit90101386f16d22c66ba69fb09f87dd08c0e60b4b (patch)
tree1cac81b6cdf252fe4c27ad7f8141fa77c02d73ca /board/freescale/ls1046ardb/ddr.c
parent473f1fc280505f03a250ac77052b5b0fd51fe590 (diff)
downloadu-boot-90101386f16d22c66ba69fb09f87dd08c0e60b4b.tar.xz
fsl/board/ddr: optimize board-specific cpo for erratum A-009942
Optimize board-specific cpo for erratum A-009942 on b4860qds, ls1043aqds, ls1043ardb, ls1046aqds, ls1046ardb, ls2080ardb, t102xqds, t102xrdb, t1040qds, t104xrdb, t208xqds, t208xrdb, t4qds, t4rdb boards. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/ls1046ardb/ddr.c')
-rw-r--r--board/freescale/ls1046ardb/ddr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/ls1046ardb/ddr.c b/board/freescale/ls1046ardb/ddr.c
index a9b7dbd..dd3b5d0 100644
--- a/board/freescale/ls1046ardb/ddr.c
+++ b/board/freescale/ls1046ardb/ddr.c
@@ -91,6 +91,9 @@ found:
popts->ddr_cdr1 = DDR_CDR1_DHC_EN | DDR_CDR1_ODT(DDR_CDR_ODT_80ohm);
popts->ddr_cdr2 = DDR_CDR2_ODT(DDR_CDR_ODT_80ohm) |
DDR_CDR2_VREF_TRAIN_EN | DDR_CDR2_VREF_RANGE_2;
+
+ /* optimize cpo for erratum A-009942 */
+ popts->cpo_sample = 0x70;
}
phys_size_t initdram(int board_type)