[RFC 0/2] mtd: Support slc-mode for Toshiba TC58TEG5DCLTA00

Chris Morgan macroalpha82 at gmail.com
Fri Sep 17 20:12:32 CEST 2021


From: Chris Morgan <macromorgan at hotmail.com>

Add support for slc-mode implemented in Linux for the Toshiba
TC58TEG5DCLTA00 NAND flash found on the NTC CHIP. This requires the
addition of a paired-pages scheme, a new parameter for MTD partitions
of slc-mode, and setting the correct paired-pages scheme for the
TC58TEG5DCLTA00 flash chip. I will likely need some help making sure
this is consistent with the quality expected of upstream, as well as
solving some remaining issues (such as ubifs partitions not working
with slc-mode set).

Signed-off-by: Chris Morgan <macromorgan at hotmail.com>

Chris Morgan (2):
  mtd: Add partial support for Linux slc-mode for MLC NAND
  mtd: Add pairing info for Toshiba TC58TEG5DCLTA00 NAND

 drivers/mtd/mtdcore.c            | 320 ++++++++++++++++++++++++++++---
 drivers/mtd/mtdpart.c            |   7 +
 drivers/mtd/nand/raw/nand_base.c |  59 ++++++
 include/linux/mtd/mtd.h          | 126 ++++++++++++
 include/linux/mtd/partitions.h   |   2 +
 include/mtd/mtd-abi.h            |   1 +
 6 files changed, 491 insertions(+), 24 deletions(-)

-- 
2.30.2



More information about the U-Boot mailing list