mtd: nand: renumber conflicting BBT flags
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Tue May 24 21:59:02 EDT 2011
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=a626743f579aa743473fd8b9215ca198bacf2ac4
Commit: a626743f579aa743473fd8b9215ca198bacf2ac4
Parent: 9c76b4e531735a6b3b73d982d79559b98c66b11b
Author: Brian Norris <computersforpeace at gmail.com>
AuthorDate: Fri Mar 18 21:53:41 2011 -0700
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Wed May 25 01:49:43 2011 +0100
mtd: nand: renumber conflicting BBT flags
The NAND_USE_FLASH_BBT_NO_OOB and NAND_CREATE_EMPTY_BBT flags conflict
with the NAND_BBT_SCANBYTE1AND6 and NAND_BBT_DYNAMICSTRUCT flags,
respectively. This change will allow us to utilize these options
independently.
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
include/linux/mtd/nand.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index d441927..c2b9ac4 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -237,9 +237,9 @@ typedef enum {
* If passed additionally to NAND_USE_FLASH_BBT then BBT code will not touch
* the OOB area.
*/
-#define NAND_USE_FLASH_BBT_NO_OOB 0x00100000
+#define NAND_USE_FLASH_BBT_NO_OOB 0x00800000
/* Create an empty BBT with no vendor information if the BBT is available */
-#define NAND_CREATE_EMPTY_BBT 0x00200000
+#define NAND_CREATE_EMPTY_BBT 0x01000000
/* Options set by nand scan */
/* Nand scan has allocated controller struct */
More information about the linux-mtd-cvs
mailing list