[U-Boot] [PATCH] cfi_flash: Micron Nor flash don't support read operation after send

Wolfgang Denk wd at denx.de
Wed Mar 12 11:24:03 CET 2014


Dear Qi Wang 王起 (qiwang),

In message <71CF8D7F32C5C24C9CD1D0E02D52498A770D0BE6 at 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_


More information about the U-Boot mailing list