summaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2012-01-31 16:50:03 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:21:52 +0800
commitd3eb58f92fcce92219e2e7ab32f57c148bd24aff (patch)
tree2a6ce76b7e0e8680e6528a72e413c22da4e589e6 /include/linux/mtd
parent6ace183d7e996468b2f79aa1f505732a0f4da28e (diff)
ENGR00173397 MTD: add NAND_BBT_USE_FLASH macro
add the new macro to fix a compiling error. Signed-off-by: Huang Shijie <b32955@freescale.com>
Diffstat (limited to 'include/linux/mtd')
-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 c3284c42a33c..1cd6d901dcd4 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -224,6 +224,8 @@ typedef enum {
* This option is passed to the default bad block table function.
*/
#define NAND_USE_FLASH_BBT 0x00010000
+#define NAND_BBT_USE_FLASH NAND_USE_FLASH_BBT
+
/* This option skips the bbt scan during initialization. */
#define NAND_SKIP_BBTSCAN 0x00020000
/*