All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Delaunay <patrick.delaunay@st.com>
To: u-boot@lists.denx.de
Subject: [PATCH 8/9] ram: stm32mp1: reduce delay after BIST reset for tuning
Date: Fri, 6 Mar 2020 11:14:10 +0100	[thread overview]
Message-ID: <20200306111355.8.I2ed443e2c15db6b007f836254b3753da9b06e76d@changeid> (raw)
In-Reply-To: <20200306101412.15376-1-patrick.delaunay@st.com>

Reduce the delay after BIST delay, from 1ms to 10us
which is enough accoriding datasheet.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
---

 drivers/ram/stm32mp1/stm32mp1_tuning.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ram/stm32mp1/stm32mp1_tuning.c b/drivers/ram/stm32mp1/stm32mp1_tuning.c
index 07d57d496c..3013b7b667 100644
--- a/drivers/ram/stm32mp1/stm32mp1_tuning.c
+++ b/drivers/ram/stm32mp1/stm32mp1_tuning.c
@@ -402,7 +402,7 @@ run:
 		writel(rand(), &phy->bistlsr);
 
 	/* some delay to reset BIST */
-	mdelay(1);
+	udelay(10);
 
 	/*Perform BIST Run*/
 	clrsetbits_le32(&phy->bistrr,
-- 
2.17.1

  parent reply	other threads:[~2020-03-06 10:14 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-06 10:14 [PATCH 0/9] ram: stm32mp1: fixes Patrick Delaunay
2020-03-06 10:14 ` [PATCH 1/9] ram: stm32mp1: increase vdd2_ddr: buck2 for 32bits LPDDR Patrick Delaunay
2020-03-18  9:39   ` Patrice CHOTARD
2020-03-24  8:48   ` Patrick DELAUNAY
2020-03-06 10:14 ` [PATCH 2/9] ram: stm32mp1: display result for software read DQS gating Patrick Delaunay
2020-03-18  9:39   ` Patrice CHOTARD
2020-03-24  8:48   ` Patrick DELAUNAY
2020-03-06 10:14 ` [PATCH 3/9] ram: stm32mp1: don't display the prompt two times Patrick Delaunay
2020-03-18  9:39   ` Patrice CHOTARD
2020-03-24  8:49   ` Patrick DELAUNAY
2020-03-06 10:14 ` [PATCH 4/9] ram: stm32mp1: tuning: add timeout for polling BISTGSR.BDDONE Patrick Delaunay
2020-03-18  9:40   ` Patrice CHOTARD
2020-03-24  8:49   ` Patrick DELAUNAY
2020-03-06 10:14 ` [PATCH 5/9] ram: stm32mp1: tuning: deactivate derating during BIST test Patrick Delaunay
2020-03-18  9:43   ` Patrice CHOTARD
2020-03-24  8:50   ` Patrick DELAUNAY
2020-03-06 10:14 ` [PATCH 6/9] ram: stm32mp1: update BIST config for tuning Patrick Delaunay
2020-03-18  9:45   ` Patrice CHOTARD
2020-03-24  8:50   ` Patrick DELAUNAY
2020-03-06 10:14 ` [PATCH 7/9] ram: stm32mp1_ddr: fix self refresh disable during DQS training Patrick Delaunay
2020-03-18  9:46   ` Patrice CHOTARD
2020-03-24  8:51   ` Patrick DELAUNAY
2020-03-06 10:14 ` Patrick Delaunay [this message]
2020-03-18  9:46   ` [PATCH 8/9] ram: stm32mp1: reduce delay after BIST reset for tuning Patrice CHOTARD
2020-03-24  8:51   ` Patrick DELAUNAY
2020-03-06 10:14 ` [PATCH 9/9] ram: stm32mp1: the property st,phy-cal becomes optional Patrick Delaunay
2020-03-18  9:52   ` Patrice CHOTARD
2020-03-24  8:51   ` Patrick DELAUNAY

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=20200306111355.8.I2ed443e2c15db6b007f836254b3753da9b06e76d@changeid \
    --to=patrick.delaunay@st.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 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.