[linux-vuplus-vusolose] apply linux_mtd_bbt_maxblock.patch.
[vuplus_openvuplus] / meta-bsp / vusolose / recipes / linux / linux-vuplus-3.13.5 / linux_mtd_bbt_maxblock.patch
1 diff --git a/include/linux/mtd/bbm.h b/include/linux/mtd/bbm.h
2 index 36bb6a5..0380293 100644
3 --- a/include/linux/mtd/bbm.h
4 +++ b/include/linux/mtd/bbm.h
5 @@ -123,7 +123,7 @@ struct nand_bbt_descr {
6  #define NAND_BBT_DYNAMICSTRUCT 0x80000000
7  
8  /* The maximum number of blocks to scan for a bbt */
9 -#define NAND_BBT_SCAN_MAXBLOCKS        4
10 +#define NAND_BBT_SCAN_MAXBLOCKS        8
11  
12  /*
13   * Constants for oob configuration