public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Kumar Gala <galak@kernel.crashing.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/5] powerpc/85xx: Remove unnecessary polling loop from DDR init
Date: Wed, 26 Jan 2011 00:22:15 -0600	[thread overview]
Message-ID: <1296022938-19899-2-git-send-email-galak@kernel.crashing.org> (raw)
In-Reply-To: <1296022938-19899-1-git-send-email-galak@kernel.crashing.org>

From: York Sun <yorksun@freescale.com>

This polling loop is not required normally, unless specifically stated in
workaround.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 arch/powerpc/cpu/mpc85xx/ddr-gen3.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/cpu/mpc85xx/ddr-gen3.c b/arch/powerpc/cpu/mpc85xx/ddr-gen3.c
index fa7e09f..b9502f7 100644
--- a/arch/powerpc/cpu/mpc85xx/ddr-gen3.c
+++ b/arch/powerpc/cpu/mpc85xx/ddr-gen3.c
@@ -199,8 +199,6 @@ void fsl_ddr_set_memctl_regs(const fsl_ddr_cfg_regs_t *regs,
 	temp_sdram_cfg = in_be32(&ddr->sdram_cfg) & ~SDRAM_CFG_BI;
 	out_be32(&ddr->sdram_cfg, temp_sdram_cfg | SDRAM_CFG_MEM_EN);
 	asm volatile("sync;isync");
-	while (!(in_be32(&ddr->debug[1]) & 0x2))
-		;
 
 	/* Poll DDR_SDRAM_CFG_2[D_INIT] bit until auto-data init is done.  */
 	while (in_be32(&ddr->sdram_cfg_2) & 0x10) {
-- 
1.7.2.3

  reply	other threads:[~2011-01-26  6:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-26  6:22 [U-Boot] [PATCH 1/5] powerpc/85xx: Enable Errata command on MPC8572DS Kumar Gala
2011-01-26  6:22 ` Kumar Gala [this message]
2011-01-26  6:22   ` [U-Boot] [PATCH 3/5] powerpc/85xx: Rename MPC8572 DDR erratum to DDR115 Kumar Gala
2011-01-26  6:22     ` [U-Boot] [PATCH 4/5] powerpc/mpc85xx: implement workaround for errata DDR111 and DDR134 Kumar Gala
2011-01-26  6:22       ` [U-Boot] [PATCH 5/5] poewrpc/85xx: Enable ECC on MPC8572DS Kumar Gala
2011-02-01  4:39         ` Kumar Gala
2011-02-01  4:39       ` [U-Boot] [PATCH 4/5] powerpc/mpc85xx: implement workaround for errata DDR111 and DDR134 Kumar Gala
2011-02-01  4:39     ` [U-Boot] [PATCH 3/5] powerpc/85xx: Rename MPC8572 DDR erratum to DDR115 Kumar Gala
2011-02-01  4:39   ` [U-Boot] [PATCH 2/5] powerpc/85xx: Remove unnecessary polling loop from DDR init Kumar Gala
2011-02-01  4:39 ` [U-Boot] [PATCH 1/5] powerpc/85xx: Enable Errata command on MPC8572DS Kumar Gala

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=1296022938-19899-2-git-send-email-galak@kernel.crashing.org \
    --to=galak@kernel.crashing.org \
    --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