From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 20 Jun 2016 13:52:07 +0200 From: Boris Brezillon To: David Woodhouse , Brian Norris , linux-mtd@lists.infradead.org, Boris Brezillon , Richard Weinberger Cc: Maxime Ripard , Chen-Yu Tsai , linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 0/3] mtd: nand: sunxi: fix SLC NAND support Message-ID: <20160620135207.5559196a@bbrezillon> In-Reply-To: <1465214354-31493-1-git-send-email-boris.brezillon@free-electrons.com> References: <1465214354-31493-1-git-send-email-boris.brezillon@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 6 Jun 2016 13:59:11 +0200 Boris Brezillon wrote: > 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. Applied. > > 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(-) >