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