diff options
author | Thomas Gleixner <tglx@cruncher.tec.linutronix.de> | 2006-05-25 09:50:16 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-25 12:45:26 +0100 |
commit | 7a30601b3ac7b02440ffa629fd3d2cca71c1bcd8 (patch) | |
tree | df5b7d220d4a911d8fadedf123e98955a2a9c3c4 /include/linux/mtd | |
parent | 04bbd0eafb0c733c6c7f5d63c5098c615fe0685a (diff) | |
download | linux-3.10-7a30601b3ac7b02440ffa629fd3d2cca71c1bcd8.tar.gz linux-3.10-7a30601b3ac7b02440ffa629fd3d2cca71c1bcd8.tar.bz2 linux-3.10-7a30601b3ac7b02440ffa629fd3d2cca71c1bcd8.zip |
[MTD] NAND Introduce NAND_NO_READRDY option
The nand driver has a superflous read ready / command
delay in the read functions. This was added to handle
chips which have an automatic read forward. Newer
chips do not have this functionality anymore. Add this
option to avoid the delay / I/O operation. Mark all
large page chips with the new option flag.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r-- | include/linux/mtd/nand.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 2c0fb638046..2fd85d55803 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -159,6 +159,10 @@ typedef enum { * bits from adjacent blocks from 'leaking' in altering data. * This happens with the Renesas AG-AND chips, possibly others. */ #define BBT_AUTO_REFRESH 0x00000080 +/* Chip does not require ready check on read. True + * for all large page devices, as they do not support + * autoincrement.*/ +#define NAND_NO_READRDY 0x00000100 /* Options valid for Samsung large page devices */ #define NAND_SAMSUNG_LP_OPTIONS \ |