Message ID | 69e4f06f2fd77db83320999a64a32239eacde7a3.1438093758.git.hramrach@gmail.com |
---|---|
State | Not Applicable |
Delegated to: | Boris Brezillon |
Headers | show |
diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c index 749a3e0..76e545b 100644 --- a/drivers/mtd/nand/nand_ids.c +++ b/drivers/mtd/nand/nand_ids.c @@ -48,6 +48,9 @@ struct nand_flash_dev nand_flash_ids[] = { { .id = {0xad, 0xde, 0x94, 0xda, 0x74, 0xc4} }, SZ_8K, SZ_8K, SZ_2M, 0, 6, 640, NAND_ECC_INFO(40, SZ_1K), 4 }, + {"K9GBG08U0A 32G 3.3V 8-bit", /* Note: other IDs probably exist */ + { .id = {0xec, 0xd7, 0x94, 0x7a, 0x54, 0x43} }, + SZ_8K, SZ_4K, SZ_1M, 0, 6, 640, NAND_ECC_INFO(40, SZ_1K) }, {"K9GBG08U0B 32G 3.3V 8-bit", { .id = {0xec, 0xd7, 0x94, 0x7e, 0x64, 0x44} }, SZ_8K, SZ_4K, SZ_1M, 0, 6, 1024, NAND_ECC_INFO(40, SZ_1K) },
Nand reportedly uses 30MHz clock but according to datasheet some timings are on the slow side. Onfi 0 timing should work at least. The chip ID in datasheet is different. Allwinner code uses multiple IDs: 0xec, 0xd7, 0x94, 0x76, 0xff, 0xff, 0xff, 0xff 0xec, 0xd7, 0x94, 0x7A, 0xff, 0xff, 0xff, 0xff Signed-off-by: Michal Suchanek <hramrach@gmail.com> --- drivers/mtd/nand/nand_ids.c | 3 +++ 1 file changed, 3 insertions(+)