mtd: rawnand: hynix: Add support for H27UCG8T2ETR-BC MLC NAND
authorChris Morgan <macromorgan@hotmail.com>
Thu, 30 Sep 2021 16:24:02 +0000 (11:24 -0500)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 15 Oct 2021 10:24:50 +0000 (12:24 +0200)
commiteec417fd317a95a79257c20b3a1d66d4027549df
tree759776313855b3d4abd2cd05c686066deab9674c
parent6bcd2960af1b7bacb2f1e710ab0c0b802d900501
mtd: rawnand: hynix: Add support for H27UCG8T2ETR-BC MLC NAND

Add support for the H27UCG8T2ETR-BC MLC NAND. The NAND is used widely
in the NTC CHIP, is an MLC type NAND, and is 8GB in size. Neither
JEDEC nor ONFI detection identifies it correctly, so the ID is added
to the nand_ids.c file. Additionally, per the datasheet this NAND
appears to use the same paired pages scheme as the Toshiba
TC58TEG5DCLTA00 (dist3), so add support for that to enable use in
SLC emulation mode.

Tested on a NTC CHIP the device is able to write to a ubifs formatted
partition, and then have U-Boot (with proposed patches) boot from a
kernel located on that ubifs formatted partition.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210930162402.344-1-macroalpha82@gmail.com
drivers/mtd/nand/raw/nand_hynix.c
drivers/mtd/nand/raw/nand_ids.c