[PATCH v5 03/11] mtd: get the ECC info from the parameter page for ONFI nand

Huang Shijie b32955 at freescale.com
Wed May 15 22:21:51 EDT 2013


于 2013年05月16日 01:04, Vikram Narayanan 写道:
> I wonder what do we do, if the chip is not ONFI compliant?
> which means when the legacy calculation in GPMI goes wrong?
It may goes wrong _sometimes_.

For example, the TC58NVG5D2 requires 40bits per 1024bytes.
the legacy gpmi will fail in this nand. the gpmi assumes it can use all 
the oob,
so it get a 56bits per 1024types. the 56bits is beyond its hardware's 
capacity.
it will fail in this case. But with this patch set, the gpmi works fine.

thanks
Huang Shijie




More information about the linux-mtd mailing list