]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: toshiba: Retrieve ECC requirements from extended ID
authorMichael Trimarchi <michael@amarulasolutions.com>
Wed, 20 Jul 2022 16:22:15 +0000 (18:22 +0200)
committerMichael Trimarchi <michael@amarulasolutions.com>
Fri, 22 Jul 2022 11:29:06 +0000 (13:29 +0200)
commitbf438dbc6dd7cc79a67e768ed65d500bd0a959be
tree2fb02482677c40c6681874040be9fe68832cf2ce
parentc7f7cce5c7a3e3b3735a59061b95d145e7f9eaab
mtd: nand: toshiba: Retrieve ECC requirements from extended ID

Upstream linux commit fb3bff5b407e58.

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: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
drivers/mtd/nand/raw/nand_toshiba.c