aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/nand.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2010-10-01 15:37:37 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-10-24 19:54:37 -0400
commit453281a973c10bce941b240d1c654d536623b16b (patch)
tree3646851ff197fcbf64e796a6bdf4324bd77f8544 /include/linux/mtd/nand.h
parent7cba7b14fe179969d7217cca52e28519d7d6ca89 (diff)
mtd: nand: introduce NAND_CREATE_EMPTY_BBT
it will create an empty BBT table without considering vendor's BBT information. Vendor's information may be unavailable if the NAND controller has a different DATA & OOB layout or this information may be allready purged. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/mtd/nand.h')
-rw-r--r--include/linux/mtd/nand.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index c0464d41f539..023866572fb1 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -223,6 +223,8 @@ typedef enum {
223 * the OOB area. 223 * the OOB area.
224 */ 224 */
225#define NAND_USE_FLASH_BBT_NO_OOB 0x00100000 225#define NAND_USE_FLASH_BBT_NO_OOB 0x00100000
226/* Create an empty BBT with no vendor information if the BBT is available */
227#define NAND_CREATE_EMPTY_BBT 0x00200000
226 228
227/* Options set by nand scan */ 229/* Options set by nand scan */
228/* Nand scan has allocated controller struct */ 230/* Nand scan has allocated controller struct */