[PATCH] AT91RM9200 NAND support
Thomas Gleixner
tglx at linutronix.de
Tue Jun 20 09:57:13 EDT 2006
On Tue, 2006-06-20 at 15:48 +0200, Savin Zlobec wrote:
> I've pinpointed the location to the command switch at the end of
> nand_command fn:
>
> switch (command) {
>
> case NAND_CMD_PAGEPROG:
> case NAND_CMD_ERASE1:
> case NAND_CMD_ERASE2:
> case NAND_CMD_SEQIN:
> case NAND_CMD_STATUS:
> chip->cmd_ctrl(mtd, NAND_CMD_NONE, NAND_NCE);
> ^^^^^^^^^^^^^
> if I wait for ready at this point then I can copy files to jffs2
> partition on my
> nand without problems (...well as far as I can tell from a short test...).
Can you try to wait only, when the STATUS command is given ?
I have no idea why this happens. Never seen that before.
tglx
More information about the linux-mtd
mailing list