Vitaly Bordug wrote: <snip> >+ >+ if( (command == NAND_CMD_READ0) || (command == NAND_CMD_READOOB) ){ >+ save_flags(g_cpu_flags_cmd); >+ cli(); > > Don't you want to sti() it somewhere? Vitaly