u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] mtd: Support slc-mode for NTC CHIP
@ 2021-12-16 18:44 Chris Morgan
  2021-12-16 18:44 ` [PATCH v4 1/3] mtd: Add support for Linux slc-mode for MLC NAND Chris Morgan
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Chris Morgan @ 2021-12-16 18:44 UTC (permalink / raw)
  To: u-boot; +Cc: jagan, miquel.raynal, wd, sjg, Chris Morgan

From: Chris Morgan <macromorgan@hotmail.com>

Add support for slc-mode implemented in Linux for the Toshiba
TC58TEG5DCLTA00 NAND and Hynix H27UCG8T2ETR 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  and H27UCG8T2ETR flash
chips.

Changes since V3:
  - Rebased against master branch as of 2021-12-16.
  - Added slc mode support for mtdparts command.

Changes since V2:
 - Copied upstream Linux implementation of mtd_erase to fix an issue
   with creating new ubi partitions.
 - Implemented paired page scheme and added support for Hynix flash
   chip. Based on a cursory reading of the datasheet it appears to use
   the same pairing scheme as the Toshiba chip.

Changes since V1:

 - Updated mtd_read and mtd_write to match upstream Linux.
 - Additional mtd_get_master to match upstream Linux.
 - Removed notes about ubifs not working, because it is now.

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

Chris Morgan (3):
  mtd: Add support for Linux slc-mode for MLC NAND
  mtd: Add pairing info for Toshiba TC58TEG5DCLTA00 NAND
  mtd: Add pairing info for Hynix H27UCG8T2ETR NAND

 cmd/mtdparts.c                   |  20 ++
 drivers/mtd/mtdcore.c            | 563 +++++++++++++++++++++++++------
 drivers/mtd/mtdcore.h            |   1 -
 drivers/mtd/mtdpart.c            |   7 +
 drivers/mtd/nand/raw/nand_base.c |  67 ++++
 include/linux/mtd/mtd.h          | 190 ++++++++++-
 include/linux/mtd/partitions.h   |  24 +-
 include/mtd/mtd-abi.h            |   1 +
 8 files changed, 749 insertions(+), 124 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2022-03-28 21:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-16 18:44 [PATCH v4 0/3] mtd: Support slc-mode for NTC CHIP Chris Morgan
2021-12-16 18:44 ` [PATCH v4 1/3] mtd: Add support for Linux slc-mode for MLC NAND Chris Morgan
2021-12-16 18:44 ` [PATCH v4 2/3] mtd: Add pairing info for Toshiba TC58TEG5DCLTA00 NAND Chris Morgan
2021-12-16 18:44 ` [PATCH v4 3/3] mtd: Add pairing info for Hynix H27UCG8T2ETR NAND Chris Morgan
2022-01-20 13:14 ` [PATCH v4 0/3] mtd: Support slc-mode for NTC CHIP Jagan Teki
2022-03-10 12:00   ` Jagan Teki
2022-03-10 15:27     ` Chris Morgan
2022-03-11 19:32       ` Jagan Teki
2022-03-28 21:32         ` Chris Morgan

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).