]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mtd: Add support for emulated SLC mode on MLC NANDs
authorBoris Brezillon <bbrezillon@kernel.org>
Sun, 3 May 2020 15:53:37 +0000 (17:53 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 11 May 2020 07:51:41 +0000 (09:51 +0200)
commit9e3307a169537a6adc30b13bf9063e94990a5493
tree2e3ec113aa4cb9be44c873272b74b55a3fcb9f55
parentd652f3a5bdaf51010191b69744d6719d1e977d17
mtd: Add support for emulated SLC mode on MLC NANDs

MLC NANDs can be made a bit more reliable if we only program the lower
page of each pair. At least, this solves the paired-pages corruption
issue.

Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200503155341.16712-5-miquel.raynal@bootlin.com
drivers/mtd/mtdcore.c
drivers/mtd/mtdpart.c
include/linux/mtd/mtd.h
include/linux/mtd/partitions.h
include/uapi/mtd/mtd-abi.h