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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/mtd/bbm.h b/include/linux/mtd/bbm.h
index 650ef352f045..211ff67e8b0d 100644
--- a/include/linux/mtd/bbm.h
+++ b/include/linux/mtd/bbm.h
@@ -78,8 +78,6 @@ struct nand_bbt_descr {
78#define NAND_BBT_LASTBLOCK 0x00000010 78#define NAND_BBT_LASTBLOCK 0x00000010
79/* The bbt is at the given page, else we must scan for the bbt */ 79/* The bbt is at the given page, else we must scan for the bbt */
80#define NAND_BBT_ABSPAGE 0x00000020 80#define NAND_BBT_ABSPAGE 0x00000020
81/* The bbt is at the given page, else we must scan for the bbt */
82#define NAND_BBT_SEARCH 0x00000040
83/* bbt is stored per chip on multichip devices */ 81/* bbt is stored per chip on multichip devices */
84#define NAND_BBT_PERCHIP 0x00000080 82#define NAND_BBT_PERCHIP 0x00000080
85/* bbt has a version counter at offset veroffs */ 83/* bbt has a version counter at offset veroffs */
@@ -110,7 +108,10 @@ struct nand_bbt_descr {
110 * OOB area. This option is passed to the default bad block table function. 108 * OOB area. This option is passed to the default bad block table function.
111 */ 109 */
112#define NAND_BBT_USE_FLASH 0x00020000 110#define NAND_BBT_USE_FLASH 0x00020000
113/* Do not store flash based bad block table in OOB area; store it in-band */ 111/*
112 * Do not store flash based bad block table marker in the OOB area; store it
113 * in-band.
114 */
114#define NAND_BBT_NO_OOB 0x00040000 115#define NAND_BBT_NO_OOB 0x00040000
115/* 116/*
116 * Do not write new bad block markers to OOB; useful, e.g., when ECC covers 117 * Do not write new bad block markers to OOB; useful, e.g., when ECC covers