aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/bbm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mtd/bbm.h')
-rw-r--r--include/linux/mtd/bbm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mtd/bbm.h b/include/linux/mtd/bbm.h
index 8ad0b8629c3f..a04b962492a8 100644
--- a/include/linux/mtd/bbm.h
+++ b/include/linux/mtd/bbm.h
@@ -84,6 +84,10 @@ struct nand_bbt_descr {
84#define NAND_BBT_SCAN2NDPAGE 0x00004000 84#define NAND_BBT_SCAN2NDPAGE 0x00004000
85/* Search good / bad pattern on the last page of the eraseblock */ 85/* Search good / bad pattern on the last page of the eraseblock */
86#define NAND_BBT_SCANLASTPAGE 0x00008000 86#define NAND_BBT_SCANLASTPAGE 0x00008000
87/* Chip stores bad block marker on BOTH 1st and 6th bytes of OOB */
88#define NAND_BBT_SCANBYTE1AND6 0x00100000
89/* The nand_bbt_descr was created dynamicaly and must be freed */
90#define NAND_BBT_DYNAMICSTRUCT 0x00200000
87 91
88/* The maximum number of blocks to scan for a bbt */ 92/* The maximum number of blocks to scan for a bbt */
89#define NAND_BBT_SCAN_MAXBLOCKS 4 93#define NAND_BBT_SCAN_MAXBLOCKS 4