[U-Boot-Users] [PATCH] cfi_flash: Support buffered writes on non-standard Spansion NOR flash

Guennadi Liakhovetski lg at denx.de
Fri Apr 4 16:45:14 CEST 2008


On Thu, 3 Apr 2008, Jean-Christophe PLAGNIOL-VILLARD wrote:

> On 13:36 Thu 03 Apr     , Guennadi Liakhovetski wrote:
> > Some NOR flash chip from Spansion, for example, the s29ws-n MirrorBit 
> > series require different addresses for buffered write commands. Define a 
> > configuration option to support buffered writes on those chips. A more 
> > elegant solution would be to automatically detect those chips by parsing 
> > their CFI records, but that would require introduction of a fixup table 
> > into the cfi_flash driver.
> > 
> 
> It will be good to detect it. On some hardware you may have some pip out
> compatible flash with this future or an other buffer interface.

Sorry, I do not quite understand what you mean here. As I said, the only 
possibility I can think of to automatically detect and handle these chips 
is by their CFI signature. ATM I know of two such signatures, and we don't 
know how many other NOR chips out there have the same "feature". So we 
would have to introduce some sort of blacklist similar to that in the 
Linux SCSI driver, for example. Which means a rather intrusive change to 
the cfi core, which I do not want to propose ATM.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.

DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de




More information about the U-Boot mailing list