[PATCH] cfi: Fixup of write errors on XIP
Nicolas Pitre
nico at cam.org
Tue Mar 21 10:10:35 EST 2006
On Tue, 21 Mar 2006, Alexey, Korolev wrote:
> > But the thing is, if you look at get_chip(), you'll see that nothing can
> > go and erase another flash sector when a write is suspended. In other
> > words, completion of a write operation always has priority on any erase
> > attempt. So the problem you're describing may not be due to any erase
> > delay occurring in another thread.
> >
> Oh. Seems if XIP while write is happened get chip will not allow to erase?
An erase request will never proceed if a write operation is pending.
And this is true whether you have XIP or not. The rational is that
writes are significantly faster than erases so they should complete
before any erase is started.
Nicolas
More information about the linux-mtd
mailing list