linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] mtd: nand: sunxi: fix SLC NAND support
@ 2016-06-06 11:59 Boris Brezillon
  2016-06-06 11:59 ` [PATCH 1/3] mtd: nand: sunxi: prefer 1k ECC blocks when applicable Boris Brezillon
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Boris Brezillon @ 2016-06-06 11:59 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

Those 3 patches aims a fixing support for SLC NANDs with rather small
NAND pages (<= 4k).

The first patch promote 512 bytes ECC steps to 1k steps, which should
both save a few OOB bytes and provide stronger ECC.
The second patch checks the ECC step value, and rejects any NAND that
requires ECC steps != 512 | 1024.
The last patch implements ecc->write_subpage(), thus fixing a NULL
pointer dereference when the NAND chip supports subpage write.

Best Regards,

Boris

Boris Brezillon (3):
  mtd: nand: sunxi: prefer 1k ECC blocks when applicable
  mtd: nand: sunxi: check ecc->size values
  mtd: nand: sunxi: fix subpage write

 drivers/mtd/nand/sunxi_nand.c | 42 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 41 insertions(+), 1 deletion(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-06-20 11:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-06 11:59 [PATCH 0/3] mtd: nand: sunxi: fix SLC NAND support Boris Brezillon
2016-06-06 11:59 ` [PATCH 1/3] mtd: nand: sunxi: prefer 1k ECC blocks when applicable Boris Brezillon
2016-06-06 11:59 ` [PATCH 2/3] mtd: nand: sunxi: check ecc->size values Boris Brezillon
2016-06-06 11:59 ` [PATCH 3/3] mtd: nand: sunxi: fix subpage write Boris Brezillon
2016-06-06 12:07   ` Boris Brezillon
2016-06-20 11:52 ` [PATCH 0/3] mtd: nand: sunxi: fix SLC NAND support Boris Brezillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).