Read/Busy as Interrupt
Vijay Kumar
vijaykumar at bravegnu.org
Fri Jun 15 02:12:58 EDT 2007
Hi Everyone,
we have a custom MPC8560 board with a Micron NAND flash (MT29F4G08AAA).
The flash has the following specification with regards to the ready/busy
pin.
Block Erase - Max: 2ms, Typical: 1.5ms
Page Prog - Max: 600us, Typical: 220us
The MPC8560 does not have a NAND flash controller, and the NAND flash is
interfaced through the local bus controller (UPM).
In a 2.6 linux kernel, is it better to implement a polling mechanism for
the ready/busy pin or is it better to use interrupt (sleep/wake)
mechanism.
The block erase seems to be a good candidate for interrupt mechansim. But
it is not very clear for the page prog operation. Please let us know your
suggestions on this.
Please let me know if further details are required.
Thanks in advance.
Regards,
Vijay
More information about the linux-mtd
mailing list