Dear Qi Wang 王起 (qiwang),

In message 
<71cf8d7f32c5c24c9cd1d0e02d52498a770d0...@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: [email protected]
I wish I had a bronze torc for every user who didn't read the manual.
                             - Terry Pratchett, _The Light Fantastic_
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to