summaryrefslogtreecommitdiff
path: root/board/freescale/t102xrdb/ddr.c
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@nxp.com>2016-11-15 17:15:21 +0800
committerYork Sun <york.sun@nxp.com>2016-12-15 11:56:39 -0800
commit90101386f16d22c66ba69fb09f87dd08c0e60b4b (patch)
tree1cac81b6cdf252fe4c27ad7f8141fa77c02d73ca /board/freescale/t102xrdb/ddr.c
parent473f1fc280505f03a250ac77052b5b0fd51fe590 (diff)
downloadu-boot-imx-90101386f16d22c66ba69fb09f87dd08c0e60b4b.zip
u-boot-imx-90101386f16d22c66ba69fb09f87dd08c0e60b4b.tar.gz
u-boot-imx-90101386f16d22c66ba69fb09f87dd08c0e60b4b.tar.bz2
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/t102xrdb/ddr.c')
-rw-r--r--board/freescale/t102xrdb/ddr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/t102xrdb/ddr.c b/board/freescale/t102xrdb/ddr.c
index edfbdbf..9e1b16b 100644
--- a/board/freescale/t102xrdb/ddr.c
+++ b/board/freescale/t102xrdb/ddr.c
@@ -139,6 +139,10 @@ found:
#ifdef CONFIG_T1023RDB
popts->wrlvl_ctl_2 = 0x07070606;
popts->half_strength_driver_enable = 1;
+ popts->cpo_sample = 0x43;
+#elif defined(CONFIG_T1024RDB)
+ /* optimize cpo for erratum A-009942 */
+ popts->cpo_sample = 0x52;
#endif
}