Read/nBusy via interrupt

Thomas Gleixner tglx at linutronix.de
Thu Oct 28 19:13:43 EDT 2004


On Fri, 2004-10-29 at 00:06 +0100, Ben Dooks wrote:
> Does anyone here have any comments over the pros/cons of using
> an interrupt which goes off to wait for a NAND flash ready/not-busy
> signal?

Sure.

- It makes totaly sense for long lasting operations like program/erase.
- It's overkill for read operations.

You can make it work by supplying a wait function, which implements the
irq driven wait for program/erase. Don't forget the timeout !

tglx






More information about the linux-mtd mailing list