Skip to contentSkip to conversation

mtd: rawnand: add Toshiba TC58NVG1S3H

PATCH In review James Hilliard 2 participants 2 messages Jul 14 – Oct 22

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/mtd/nand/raw/nand_ids.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/mtd/nand/raw/nand_ids.c +4 -0
index 4f46378ffe1..966972beca2 100644
@@ -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
#1 lore raw
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