From: Priyanka Singh <priyanka.singh@nxp.com>
Date: Thu, 19 Aug 2021 07:07:31 +0000 (+0530)
Subject: board: freescale: t104xrdb: Set popts->cpo_sample to 0x54 for DDR3
X-Git-Tag: v2025.01-rc5-pxa1908~1642^2~58
X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=3c922ce99cc0c7b1f2f5615a2e4216dfdbb175c4;p=u-boot.git

board: freescale: t104xrdb: Set popts->cpo_sample to 0x54 for DDR3

Set popts->cpo_sample to 0x54 in t104xrdb/ddr.c to optimize cpo

Signed-off-by: Priyanka Singh <priyanka.singh@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
---

diff --git a/board/freescale/t104xrdb/ddr.c b/board/freescale/t104xrdb/ddr.c
index 8351f7ce9d..539a36d2a9 100644
--- a/board/freescale/t104xrdb/ddr.c
+++ b/board/freescale/t104xrdb/ddr.c
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright 2013 Freescale Semiconductor, Inc.
+ * Copyright 2021 NXP
  */
 
 #include <common.h>
@@ -83,6 +84,7 @@ found:
 	/* optimize cpo for erratum A-009942 */
 	popts->cpo_sample = 0x59;
 #else
+	popts->cpo_sample = 0x54;
 	popts->half_strength_driver_enable = 0;
 #endif
 	/*