ipq807x: Add support for 512M Toshiba Nand in U-Boot

This device is non onfi device, so adding the device id
and oob information in the nand_ids table.
1.pagesize:2048 bytes
2.oob size:128bytes
3.Ecc:8bits for 512 bytes
4.Manufacturer & device id: 0x98, 0xaC

Change-Id: I43f2ffb33b82b6dbf9da7adbef8e4e93f6d94c87
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
This commit is contained in:
sameeruddin shaik 2019-06-03 15:38:26 +05:30
parent adeb1f2588
commit 4b4060b8c8

View file

@ -63,6 +63,9 @@ struct nand_flash_dev nand_flash_ids[] = {
{"TC58NYG0S3HBAI4 1G 1.8V 8-bit",
{ .id = {0x98, 0xa1, 0x80, 0x15} },
SZ_2K, SZ_128, SZ_128K, 0, 4, 128, NAND_ECC_INFO(8, SZ_512) },
{"TH58NYG2S3HBAI4 1.8V 8-bit",
{ .id = {0x98, 0xac, 0x91, 0x15} },
SZ_2K, SZ_512, SZ_128K, 0, 4, 128, NAND_ECC_INFO(8, SZ_512)},
{"TH58NYG3S0H 8G 1.8V 8-bit",
{ .id = {0x98, 0xa3, 0x91, 0x26} },
SZ_4K, SZ_1K, SZ_256K, 0, 4, 256, NAND_ECC_INFO(8, SZ_512) },