OSDN Git Service

mtd: nand: toshiba: Retrieve ECC requirements from extended ID
authorKOBAYASHI Yoshitake <yoshitake.kobayashi@toshiba.co.jp>
Wed, 14 Feb 2018 15:35:06 +0000 (00:35 +0900)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Wed, 14 Feb 2018 19:28:29 +0000 (20:28 +0100)
commitfb3bff5b407e58493fa6bc44f24217f649aecd25
treec31995cdf69d007909dc198c6ad0449c420a10ef
parent1b8c90985f59ccd8a1adb723b58b42628b36e668
mtd: nand: toshiba: Retrieve ECC requirements from extended ID

This patch enables support to read the ECC strength and size from the
NAND flash using Toshiba Memory SLC NAND extended-ID. This patch is
based on the information of the 6th ID byte of the Toshiba Memory SLC
NAND.

Signed-off-by: KOBAYASHI Yoshitake <yoshitake.kobayashi@toshiba.co.jp>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/nand/nand_toshiba.c