aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/nand.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 10fd7df07b5e..ec0a74877714 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -147,8 +147,6 @@ typedef enum {
147#define NAND_BUSWIDTH_16 0x00000002 147#define NAND_BUSWIDTH_16 0x00000002
148/* Chip has cache program function */ 148/* Chip has cache program function */
149#define NAND_CACHEPRG 0x00000008 149#define NAND_CACHEPRG 0x00000008
150/* Chip has copy back function */
151#define NAND_COPYBACK 0x00000010
152/* 150/*
153 * Chip requires ready check on read (for auto-incremented sequential read). 151 * Chip requires ready check on read (for auto-incremented sequential read).
154 * True only for small page devices; large page devices do not support 152 * True only for small page devices; large page devices do not support
@@ -169,11 +167,10 @@ typedef enum {
169#define NAND_SUBPAGE_READ 0x00001000 167#define NAND_SUBPAGE_READ 0x00001000
170 168
171/* Options valid for Samsung large page devices */ 169/* Options valid for Samsung large page devices */
172#define NAND_SAMSUNG_LP_OPTIONS (NAND_CACHEPRG | NAND_COPYBACK) 170#define NAND_SAMSUNG_LP_OPTIONS (NAND_CACHEPRG)
173 171
174/* Macros to identify the above */ 172/* Macros to identify the above */
175#define NAND_HAS_CACHEPROG(chip) ((chip->options & NAND_CACHEPRG)) 173#define NAND_HAS_CACHEPROG(chip) ((chip->options & NAND_CACHEPRG))
176#define NAND_HAS_COPYBACK(chip) ((chip->options & NAND_COPYBACK))
177#define NAND_HAS_SUBPAGE_READ(chip) ((chip->options & NAND_SUBPAGE_READ)) 174#define NAND_HAS_SUBPAGE_READ(chip) ((chip->options & NAND_SUBPAGE_READ))
178 175
179/* Non chip related options */ 176/* Non chip related options */