mtd: rawnand: add Toshiba TC58NVG1S3H
Subsystems (2)
PATCH 1/1 mtd: rawnand: add Toshiba TC58NVG1S3H
The TC58NVG1S3H is not ONFI-compliant and shares its first two ID bytes with the generic 256 MiB NAND entry. Add a full-ID entry with the geometry, ECC requirement and default SDR mode 4 specified by the datasheet.
Signed-off-by James Hilliard <[email protected]>
--- drivers/mtd/nand/raw/nand_ids.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/mtd/nand/raw/nand_ids.c +4 -0
@@ -32,6 +32,10 @@ struct nand_flash_dev nand_flash_ids[] = { { .id = {0x98, 0xd1, 0x90, 0x15, 0x76, 0x14, 0x01, 0x00} },SZ_2K ,SZ_128 ,SZ_128K ,0 ,8 ,64 ,NAND_ECC_INFO (1 ,SZ_512 ), 2 }, + {"TC58NVG1S3H 2G 3.3V 8-bit", + { .id = {0x98, 0xda, 0x90, 0x15, 0x76} }, +SZ_2K ,SZ_256 ,SZ_128K ,0 ,5 ,128 ,NAND_ECC_INFO (8 ,SZ_512 ), + 4 }, {"TC58NVG2S0F 4G 3.3V 8-bit", { .id = {0x98, 0xdc, 0x90, 0x26, 0x76, 0x15, 0x01, 0x08} }, SZ_4K, SZ_512, SZ_256K, 0, 8, 224, NAND_ECC_INFO(4, SZ_512) },
Signature · 1 line
2.53.0
Quoted 6 lines · James Hilliard
The TC58NVG1S3H is not ONFI-compliant and shares its first two ID bytes with the generic 256 MiB NAND entry. Add a full-ID entry with the geometry, ECC requirement and default SDR mode 4 specified by the datasheet.
Applied to u-boot/main, thanks!
[1/1] mtd: rawnand: add Toshiba TC58NVG1S3H
commit: 1dee9a4539b77bfed66b37843ebf1e21999295e2
Signature · 1 line
Tom