1. NAME

nand_wait - [DEFAULT] wait until the command is done

2. SYNOPSIS

int nand_wait(struct mtd_info *  mtd , struct nand_chip *  chip );

3. ARGUMENTS

mtd
    MTD device structure

chip
    NAND chip structure

4. DESCRIPTION

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.

5. AUTHOR

Thomas Gleixner <>
    Author.

6. COPYRIGHT