]> git.sur5r.net Git - u-boot/blobdiff - include/linux/mtd/nand.h
Merge branch 'master' of git://git.denx.de/u-boot-arm
[u-boot] / include / linux / mtd / nand.h
index 99668d552e22ac37e8af6c124ec2bfe25fdd6e25..82704de0835561907e5d77467c7c27458890f2e4 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "config.h"
 
-#include "linux/mtd/compat.h"
+#include "linux/compat.h"
 #include "linux/mtd/mtd.h"
 #include "linux/mtd/bbm.h"
 
@@ -232,6 +232,8 @@ typedef enum {
 #define NAND_CREATE_EMPTY_BBT          0x01000000
 
 /* Options set by nand scan */
+/* bbt has already been read */
+#define NAND_BBT_SCANNED       0x40000000
 /* Nand scan has allocated controller struct */
 #define NAND_CONTROLLER_ALLOC  0x80000000