All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tolunay Orkun <listmember@orkun.us>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] CFI driver does not verify writes in buffered mode - feature?
Date: Sun, 13 May 2007 22:05:24 -0500	[thread overview]
Message-ID: <4647D1F4.4080408@orkun.us> (raw)
In-Reply-To: <m2wszh9nkk.fsf@sowhat.denx.de>

Detlev Zundel wrote:
> 
> If I understand the code correctly then we would have to do a buffer
> read after a buffer write and compare the data, right?  I am not too
> fluent in working with CFI flashes so I would have to look up all
> details like can I simply read from flash after the program cycle or
> do I have to do things like take it out of command mode etc so I
> couldn't come up with a fix "after work".

There is an opportunity to do the verification at a higher level. This 
would standardize verification after right copying of the block/segment 
in cp command. What do you think? That would leave the driver 
simplified. I am personally not too happy to generate interactive 
messages from within the driver. Different flash drivers emit different 
messages. A unified user experience would be better in my opinion...

Tolunay

      reply	other threads:[~2007-05-14  3:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-09 16:32 [U-Boot-Users] CFI driver does not verify writes in buffered mode - feature? Detlev Zundel
2007-05-09 20:25 ` Tolunay Orkun
2007-05-09 22:33   ` Wolfgang Denk
2007-05-10  3:40     ` Tolunay Orkun
2007-05-10  6:53       ` Detlev Zundel
2007-05-14  3:05         ` Tolunay Orkun [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=4647D1F4.4080408@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 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.