mtd: nand: add NAND_NEED_SCRAMBLING option flag
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Wed, 2 Dec 2015 11:01:05 +0000 (12:01 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Sat, 23 Jan 2016 00:36:54 +0000 (16:36 -0800)
commitc03d996900f9d063b47ef7462885a9085c8a587f
treed6cc081404a5c39c9bef567940631f2763f8f11b
parent23819f2eaab87080b0190ed94a0728fc8ea84711
mtd: nand: add NAND_NEED_SCRAMBLING option flag

Some MLC NANDs are sensitive to repeated patterns and require data to be
scrambled in order to limit the number of bitflips.
Add a new flag to let the NAND controller know about this constraint.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
include/linux/mtd/nand.h