[PATCH] mtd/nand: Add NAND chip ID to support Micron 4k pagesize NAND chip
Brian Norris
computersforpeace at gmail.com
Wed Nov 23 12:51:26 EST 2011
2011/11/23 Jean-Sébastien Gagnon <jsgagnon at vizimax.com>:
> If we really want to add a line for the Micron MT29F8G08ABABA,
> The line should be like this, since we cannot detect the layout:
>
> + {"NAND 1GiB 3,3V 8-bit", 0x38, 4096, 1024, 0x80000, LP_OPTIONS | NAND_NO_SUBPAGE_WRITE},
This would give the wrong OOB-size, though, since this hard-coding
mechanism assumes that:
mtd->oobsize = mtd->writesize / 32;
Thus, we get oobsize = 128 instead of oobsize = 224.
> But like Brian said, ONFI should be used, otherwise, any newer device with the same ID (0x38) will
> Probably be detected with wrong settings.
None exist that I know of for now but valid point.
Brian
More information about the linux-mtd
mailing list