All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] armv7: ls1021aqds: Set cpo_sample for erratum A-009942
@ 2017-01-25 21:26 York Sun
  2017-02-06 18:06 ` york sun
  0 siblings, 1 reply; 2+ messages in thread
From: York Sun @ 2017-01-25 21:26 UTC (permalink / raw)
  To: u-boot

Set cpo_sample as suggested by the driver
"WARN: pls set popts->cpo_sample = 0x58 in <board>/ddr.c to optimize
cpo".

Signed-off-by: York Sun <york.sun@nxp.com>
CC: Shengzhou Liu <Shengzhou.Liu@nxp.com>
---

 board/freescale/ls1021aqds/ddr.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/board/freescale/ls1021aqds/ddr.c b/board/freescale/ls1021aqds/ddr.c
index 6435bf9..2f66ba9 100644
--- a/board/freescale/ls1021aqds/ddr.c
+++ b/board/freescale/ls1021aqds/ddr.c
@@ -96,6 +96,9 @@ found:
 #else
 	popts->cswl_override = DDR_CSWL_CS0;
 
+	/* optimize cpo for erratum A-009942 */
+	popts->cpo_sample = 0x58;
+
 	/* DHC_EN =1, ODT = 75 Ohm */
 	popts->ddr_cdr1 = DDR_CDR1_DHC_EN | DDR_CDR1_ODT(DDR_CDR_ODT_75ohm);
 	popts->ddr_cdr2 = DDR_CDR2_ODT(DDR_CDR_ODT_75ohm);
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] armv7: ls1021aqds: Set cpo_sample for erratum A-009942
  2017-01-25 21:26 [U-Boot] [PATCH] armv7: ls1021aqds: Set cpo_sample for erratum A-009942 York Sun
@ 2017-02-06 18:06 ` york sun
  0 siblings, 0 replies; 2+ messages in thread
From: york sun @ 2017-02-06 18:06 UTC (permalink / raw)
  To: u-boot

On 01/25/2017 01:27 PM, york sun wrote:
> Set cpo_sample as suggested by the driver
> "WARN: pls set popts->cpo_sample = 0x58 in <board>/ddr.c to optimize
> cpo".
>
> Signed-off-by: York Sun <york.sun@nxp.com>
> CC: Shengzhou Liu <Shengzhou.Liu@nxp.com>
> ---

Applied to u-boot-qoriq master.

York

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-06 18:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-25 21:26 [U-Boot] [PATCH] armv7: ls1021aqds: Set cpo_sample for erratum A-009942 York Sun
2017-02-06 18:06 ` york sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.