public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tolunay Orkun <listmember@orkun.us>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] flash protection code in cfi_flash
Date: Thu, 16 Mar 2006 11:57:36 -0600	[thread overview]
Message-ID: <4419A710.5080000@orkun.us> (raw)
In-Reply-To: <4dd15d180603160917u6d699e3fx58efaf88937d904f@mail.gmail.com>

David Ho wrote:
> Okay,
>
> I really didn't mean to rip out someone's code, I know it was there
> for a reason.  In any case, I like to understand which Intel flash is
> behaving badly.  The spec does not say unprotect unlocks all blocks.
>   
First, I am not the author of this part of code. I can tell you the 
Intel StrataFlash 28F128J3 parts on my Cogent CSB272 board needs this 
code. Original author must have hit the same issue. This is a chip bug 
and probably documented on some Intel Errata and it may be applying to 
certain Revs of the chip. I do not have a list.
>   
>>> If no one has any objection, I will remove the part of the code that
>>> relock each sector, for submission.
>>>       
>> First, That behavior is required because some Intel flash parts
>> incorrectly unlock all sectors (not just current sector) so after
>> unlocking the current sector we must redo the locking of all others that
>> were supposed to remain locked. Again, the comment in that code reflects
>> and explains this.
>>     
>
> I am sorry, my interpretation of your comment led me to think you are
> suggesting all Intel flashes behave this way.  Really my original post
>   
What is not clear about the word "some" in my description of the issue? 
I am obviously not claiming all Intel parts are this. Your 
interpretation is incorrect.

> came from a confusion of the comment.  A better comment may include
> what you just said above.
>
> Do you know which parts behave this way?  Has Intel confirmed this?
>   
I do not need Intel's confirmation. It is a reality for me. Again, it is 
most likely documented in some Intel Errata (which might not be widely 
publicly circulated).

> Certainly not all flashes need to have this workaround, perhaps it is
> sensible to option it out?  Anyway, I have no problem with this code
> being there.  Since I have not seen the same behaviour you saw, and
> google did not turn up and evidence to support this, I was just
> curious if this has been solved since the code was first submitted.
>   
I certainly do not have the capability to test each new rev of every 
Intel flash. Without a complete list you can only take the safe path...

  reply	other threads:[~2006-03-16 17:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-14 19:15 [U-Boot-Users] flash protection code in cfi_flash David Ho
2006-03-14 20:58 ` Wolfgang Denk
2006-03-15 16:07   ` David Ho
2006-03-16  1:13     ` Tolunay Orkun
2006-03-16 17:17       ` David Ho
2006-03-16 17:57         ` Tolunay Orkun [this message]
2006-03-16 18:55           ` David Ho
2006-03-16 19:10             ` David Ho
2006-03-16 19:59           ` David Ho
2006-03-17  9:00             ` Stefan Roese
2006-03-30 22:43               ` David Ho
2006-03-17 22:38             ` Tolunay Orkun

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=4419A710.5080000@orkun.us \
    --to=listmember@orkun.us \
    --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