
14 Dec
2006
14 Dec
'06
6:16 a.m.
Dear All: i found an bug in the u-boot when using 512MiB NAND flash. there have two type of flash defined it's ID as 0xDC. But In the MTD driver, the smallblock is abandoned.
BR
Thomas here list the patch. ----------------------------------------------------------------------------
--- u-boot-1.1.6.org/drivers/nand/nand_ids.c 2006-12-01 17:49:32.000000000 +0800 +++ u-boot-1.1.6/drivers/nand/nand_ids.c 2006-12-14 10:12:13.000000000 +0800 @@ -67,8 +67,6 @@ struct nand_flash_dev nand_flash_ids[] =
{"NAND 256MiB 3,3V 8-bit", 0x71, 512, 256, 0x4000, 0},
- {"NAND 512MiB 3,3V 8-bit", 0xDC, 512, 512, 0x4000, 0}, - /* These are the new chips with large page size. The pagesize * and the erasesize is determined from the extended id bytes */