On Mon, 2004-12-06 at 15:17 +0100, Thomas Gleixner wrote:
> > static void at91_nand_command (struct mtd_info *mtd, unsigned command, int column, int page_addr)
>
> my_nand->cmdfunc = at91_nand_command; /* we need our own */
>
> You don't need your own command function. There is no reason for it. It
> is just duplicated code.
It's not only duplicated code, it's also complete broken code.
I bet, that's the reason for your problem.
tglx