[PATCH] cfi: Fixup of write errors on XIP

Nicolas Pitre nico at cam.org
Wed Mar 29 11:44:34 EST 2006


On Wed, 29 Mar 2006, Nicolas Pitre wrote:

> I think both solutions, although they fix this particular problem, are 
> not addressing the fundamental issue which is that the current code 
> structure to cope with XIP and non-XIP is becoming a total mess.  In 
> fact the whole timeout/error handling should be factored out of every 
> functions into a sincle subfunction, actually one for XIP and one for 
> non-XIP.  This way the non-XIP case would not have to care about chip 
                         ^^^^^^^
                         [I mean the XIP case of course]  

> state changing since that cannot happen, and the timeout treshold would 
> be more accurately computed as well.

Nicolas





More information about the linux-mtd mailing list