public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: sbabic@denx.de
To: Francesco Dolcini <francesco.dolcini@toradex.com>,u-boot@lists.denx.de
Subject: [PATCH v1 2/2] mx6: ddr: Wait before issuing the first MRS cmd
Date: Tue, 12 Apr 2022 20:46:56 +0200 (CEST)	[thread overview]
Message-ID: <20220412184658.985FF8408B@phobos.denx.de> (raw)
In-Reply-To: <20220406115325.98086-3-francesco.dolcini@toradex.com>

> Wait 1ms before issuing the first MRS command to write DDR3 Mode
> registers.
> There is a requirement to wait a minimum time before issuing command to
> the DDR3 device, according to the JEDEC standard this time is 500us
> (after RESET_n is de-asserted until CKE becomes active) + tXPR (Reset
> CKE Exit time, maximum value 360ns).
> It seems that for some reason this is not enforced by the MMDC
> controller.
> Without this change we experienced random memory initialization failures
> with about 2% boot failure rate on specific problematic boards, after
> this change we were able to do more than 10.000 power-cycle without a
> single failure.
> Fixes: fe0f7f7842e1 ("mx6: add mmdc configuration for MX6Q/MX6DL")
> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
> Reviewed-by: Marek Vasut <marex@denx.de>
> Reviewed-by: Fabio Estevam <festevam@denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================

      parent reply	other threads:[~2022-04-12 18:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-06 11:53 [PATCH v1 0/2] imx6 ddr initialization fixes Francesco Dolcini
2022-04-06 11:53 ` [PATCH v1 1/2] mx6: ddr: Restore ralat/walat in write level calibration Francesco Dolcini
2022-04-06 12:56   ` Fabio Estevam
2022-04-12 18:45   ` sbabic
2022-04-06 11:53 ` [PATCH v1 2/2] mx6: ddr: Wait before issuing the first MRS cmd Francesco Dolcini
2022-04-06 12:57   ` Fabio Estevam
2022-04-12 18:46   ` sbabic [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220412184658.985FF8408B@phobos.denx.de \
    --to=sbabic@denx.de \
    --cc=francesco.dolcini@toradex.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox