
On Fri, Dec 17, 2021 at 12:14 AM Chris Morgan macroalpha82@gmail.com wrote:
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
Patch series updating most of MTD core code, any user from parallel nand or nor can make test or ack would help to merge this code.
Thanks, Jagan.