.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "NAND_WAIT" "9" "09 October 2005" "" "" .SH NAME nand_wait \- [DEFAULT] wait until the command is done .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int nand_wait (struct mtd_info * \fImtd\fB, struct nand_chip * \fIthis\fB, int \fIstate\fB); \fR .SH "ARGUMENTS" .TP \fB\fImtd\fB\fR MTD device structure .TP \fB\fIthis\fB\fR NAND chip structure .TP \fB\fIstate\fB\fR state to select the max. timeout value .SH "DESCRIPTION" .PP Wait for command done. This applies to erase and program only Erase can take up to 400ms and program up to 20ms according to general NAND and SmartMedia specs