diff options
-rw-r--r-- | drivers/mtd/nand/nand_bbt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/nand_bbt.c b/drivers/mtd/nand/nand_bbt.c index 32f063b6e9a5..ccc48a4a6ad0 100644 --- a/drivers/mtd/nand/nand_bbt.c +++ b/drivers/mtd/nand/nand_bbt.c | |||
@@ -981,14 +981,14 @@ static struct nand_bbt_descr largepage_memorybased = { | |||
981 | }; | 981 | }; |
982 | 982 | ||
983 | static struct nand_bbt_descr smallpage_flashbased = { | 983 | static struct nand_bbt_descr smallpage_flashbased = { |
984 | .options = NAND_BBT_SCANEMPTY | NAND_BBT_SCANALLPAGES, | 984 | .options = NAND_BBT_SCAN2NDPAGE, |
985 | .offs = 5, | 985 | .offs = 5, |
986 | .len = 1, | 986 | .len = 1, |
987 | .pattern = scan_ff_pattern | 987 | .pattern = scan_ff_pattern |
988 | }; | 988 | }; |
989 | 989 | ||
990 | static struct nand_bbt_descr largepage_flashbased = { | 990 | static struct nand_bbt_descr largepage_flashbased = { |
991 | .options = NAND_BBT_SCANEMPTY | NAND_BBT_SCANALLPAGES, | 991 | .options = NAND_BBT_SCAN2NDPAGE, |
992 | .offs = 0, | 992 | .offs = 0, |
993 | .len = 2, | 993 | .len = 2, |
994 | .pattern = scan_ff_pattern | 994 | .pattern = scan_ff_pattern |