From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] cfi_flash: Micron Nor flash don't support read operation after send
Date: Wed, 12 Mar 2014 11:24:03 +0100 [thread overview]
Message-ID: <20140312102403.900B7380334@gemini.denx.de> (raw)
In-Reply-To: <71CF8D7F32C5C24C9CD1D0E02D52498A770D0BE6@NTXXIAMBX02.xacn.micron.com>
Dear Qi Wang ?? (qiwang),
In message <71CF8D7F32C5C24C9CD1D0E02D52498A770D0BE6@NTXXIAMBX02.xacn.micron.com> you wrote:
> Micron Nor flash don't support read operation after send write command. As below,
I understand you attempt to copy data between two different areas on
the same NOR device? This is not supported.
> If the src address locate in NOR flash, flash_read operation will be failed.
> So, read out the data to DRAM before send write command operation.
> ---
> drivers/mtd/cfi_flash.c | 70 +++++++++++++++++++++++++++++++----------------
> 1 file changed, 46 insertions(+), 24 deletions(-)
Thanks, but NAK.
If the source address range and the target address range are both in
the same NOR flash device, please use a two step approach instead:
first copy the data to RAM, then copy from RAM to NOR.
No code changes are needed for this.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I wish I had a bronze torc for every user who didn't read the manual.
- Terry Pratchett, _The Light Fantastic_
next prev parent reply other threads:[~2014-03-12 10:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-12 2:30 [U-Boot] [PATCH] cfi_flash: Micron Nor flash don't support read operation after send Qi Wang 王起 (qiwang)
2014-03-12 10:24 ` Wolfgang Denk [this message]
2014-03-13 1:17 ` Qi Wang 王起 (qiwang)
2014-03-14 8:13 ` Qi Wang 王起 (qiwang)
2014-03-14 8:57 ` 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=20140312102403.900B7380334@gemini.denx.de \
--to=wd@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