diff options
author | Brian Norris <computersforpeace@gmail.com> | 2016-01-24 20:34:07 -0800 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-01-24 20:35:03 -0800 |
commit | b33f7a437c767015f49ac05b35312979de66d26d (patch) | |
tree | f57a0f961ab4000c332c16e631162136c52d7a9b /include | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) | |
parent | 8ce06d379a06b4d5c9f944bb60e80b084d16bfc0 (diff) | |
download | linux-stable-b33f7a437c767015f49ac05b35312979de66d26d.tar.gz linux-stable-b33f7a437c767015f49ac05b35312979de66d26d.tar.bz2 linux-stable-b33f7a437c767015f49ac05b35312979de66d26d.zip |
Merge v4.5-rc1 with MTD -next development
To start from a good base.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mtd/bbm.h | 1 | ||||
-rw-r--r-- | include/linux/mtd/nand.h | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/mtd/bbm.h b/include/linux/mtd/bbm.h index 36bb6a503f19..3bf8f954b642 100644 --- a/include/linux/mtd/bbm.h +++ b/include/linux/mtd/bbm.h @@ -166,7 +166,6 @@ struct bbm_info { }; /* OneNAND BBT interface */ -extern int onenand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd); extern int onenand_default_bbt(struct mtd_info *mtd); #endif /* __LINUX_MTD_BBM_H */ diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index bdd68e22b5a5..a13dfd5bc58b 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -168,6 +168,12 @@ typedef enum { /* Device supports subpage reads */ #define NAND_SUBPAGE_READ 0x00001000 +/* + * Some MLC NANDs need data scrambling to limit bitflips caused by repeated + * patterns. + */ +#define NAND_NEED_SCRAMBLING 0x00002000 + /* Options valid for Samsung large page devices */ #define NAND_SAMSUNG_LP_OPTIONS NAND_CACHEPRG |