[PATCH v2] mtd/nand: Support Micron chips, pagesize >= 4KB
cernekee at gmail.com
Sun Aug 22 18:20:36 EDT 2010
On Sun, Aug 22, 2010 at 1:20 AM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> I'm not picking this patch to my l2-mtd-2.6.git, since AFAICS the chips
> support ONFI should be detected properly.
> The "older chips" which do not support reading ONFI data can then be
> detected using special quirks. But using heuristics even for the chips
> which do support reading ONFI data sounds bad.
The NAND controllers on certain legacy SoCs are not able to read the
ONFI parameter page, even if the flash device itself supports ONFI.
Consequently, heuristics or a lookup table would need to be used to
determine the device parameters.
Worst case, I guess the Micron ID decoding logic could just be moved
into the low-level driver.
More information about the linux-mtd