summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2012-01-31 16:50:03 +0800
committerHuang Shijie <b32955@freescale.com>2012-01-31 17:34:24 +0800
commitfa1eedbcf5233c90d48a592753e87753dbf64f2d (patch)
treef4384c79c4468276bf52cdc1f4a11c0c6bb8365a /include
parentdc6c3bd7a81d00d559857141fef51cd93f9a54d5 (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')
-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
/*