nand_wait — [DEFAULT] wait until the command is done
int nand_wait (
)
mtd
MTD device structure
chip
NAND chip structure
Wait for command done. This applies to erase and program only.