]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b89a352cf024b67771fd6c53ecf32ab1af3a04d
tree759776313855b3d4abd2cd05c686066deab9674c
parent35e18ba68cd8ed0032edd050784d2faf507a43c1
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