public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ppc4xx: Canyonlands: Change EBC bus config to drive always (no high-z)
Date: Mon, 9 Nov 2009 13:31:00 +0100	[thread overview]
Message-ID: <200911091331.00719.sr@denx.de> (raw)
In-Reply-To: <1256838271-19234-1-git-send-email-sr@denx.de>

On Thursday 29 October 2009 18:44:31 Stefan Roese wrote:
> This patch fixes a problem only seen very occasionally on Canyonlands.
> The NOR flash interface (CFI driver) doesn't work reliably in all cases.
> Erasing and/or programming sometimes doesn't work. Sometimes with
> an error message, like "flash not erased" when trying to program an
> area that should have just been erased. And sometimes without any error
> messages. As mentioned above, this problem was only seen rarely and with
> some PLL configuration (CPU speed, EBC speed).
> 
> Now I spotted this problem a few times, when running my Canyonlands with
> the following setup (chip_config):
> 
> 1000-nor         - NOR  CPU:1000 PLB: 200 OPB: 100 EBC: 100
> 
> Changing the EBC configuration to not release the bus into high
> impedance state inbetween the transfers (ATC, DTC and CTC bits set to 1
> in EBC0_CFG) seems to fix this problem. I haven't seen any failure
> anymore with this patch applied.

Applied to u-boot-ppc4xx/master. Thanks.
 
Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de

      reply	other threads:[~2009-11-09 12:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-29 17:44 [U-Boot] [PATCH] ppc4xx: Canyonlands: Change EBC bus config to drive always (no high-z) Stefan Roese
2009-11-09 12:31 ` Stefan Roese [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=200911091331.00719.sr@denx.de \
    --to=sr@denx.de \
    --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