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] Question about M29W128G CFI QRY bug
Date: Wed, 15 Apr 2009 16:30:01 +0200	[thread overview]
Message-ID: <200904151630.02072.sr@denx.de> (raw)
In-Reply-To: <49E5E27F.1080407@RuggedCom.com>

On Wednesday 15 April 2009, Richard Retanubun wrote:
> > And do you need an Intel reset command on your board? Is there an option
> > for Intel command style FLASH chips?
>
> Maybe I am young and naive, but I am hoping to give the HW guys flexibility
> in choosing the command sets for their flash.

I have to admit that I've never seen such a board, but hey, it should be 
possible.

> > I don't like both versions. We should implement something which doesn't
> > change the current behavior probably needed on some other boards. So how
> > about something like this:
>
> I took your proposal and tried to implement it, hit a snag with
> flash_write_cmd currently being a private function of cfi-flash.c
> so, here is my 'counter-offer' pasted at the end of the message.

Thanks. Looks good. I'll take it and prepare a proper patch.

> By the way, since either reversing the reset order (option 1)
> or adding another AMD_RESET_CMD (option 2) still have to be implemented
> in our board specific flash_rst_command anyway, any recommendations of
> which approach is less likely to break other flashes?

I really have no idea. That's the main reason why I don't want this to be the 
default implementation. The current version is tested on many boards. And 
changing it could generate problems on some of them.

Best regards,
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-04-15 14:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-09 23:29 [U-Boot] Question about M29W128G CFI QRY bug Richard Retanubun
2009-04-13 15:35 ` Richard Retanubun
2009-04-14  9:43   ` Stefan Roese
2009-04-14 22:50     ` Richard Retanubun
2009-04-15  8:22       ` Stefan Roese
2009-04-15 13:34         ` Richard Retanubun
2009-04-15 14:30           ` Stefan Roese [this message]
2009-04-15 15:26             ` Stefan Roese
2009-05-01 21:29               ` Richard Retanubun
2009-10-27 14:27                 ` Stefan Roese
2009-10-27 17:39                   ` Richard Retanubun
2009-10-27 19:02                     ` Wolfgang Denk

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=200904151630.02072.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