]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: sunxi: add randomizer support
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Wed, 2 Dec 2015 11:01:07 +0000 (12:01 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Sat, 23 Jan 2016 00:36:55 +0000 (16:36 -0800)
commitf443053720c4c32413117d44a2e6afb0b89979b5
tree642b563e4b6b3cf9ae83023bd4792a71e7239fb5
parent7ac3414896cfe75e047f4a0f0e32154b72e46602
mtd: nand: sunxi: add randomizer support

Add support for the randomizer engine available in Allwinner's NFC IP.

Randomization is useful to support modern NAND chips which are sensitive to
repeated patterns. On such NANDs you might experience an unexpectedly high
number of bitflips when you repeat the same pattern all over a given NAND
block.
Randomizing input data mitigate this problem by avoiding such repeated
patterns.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/sunxi_nand.c