[PATCH] mtd : add parsing code for one kind of Hynix's nand chip

Huang Shijie b32955 at freescale.com
Wed Apr 18 03:52:19 EDT 2012

于 2012年04月18日 13:00, Brian Norris 写道:
> Now that I've given them all a second read, it really looks like this
> new Hynix chip actually follows no discernible pattern, which seems to
> suggest that we have to know all the chip parameters in order to know
> which ID decode table to use...but if we know all the parameters, then
> why do we need the table?? (Just being devil's advocate) If I had
This makes me confused too.
It looks like hardcode when i use the 0xd7 to disdinguish this nand chip.

> samples of all the chips, perhaps I could test some to determine other
> patterns, like ID wraparound behavior, but I doubt it...
> So really, I'd be interested in asking Hynix (and Toshiba and probably
> Samsung, for that matter): what do you expect software developers to
> do when you provide datasheets with useless ID decode tables? Are we
> supposed to read your mind to determine which chips are supposed to
> follow a given decode table?
> But seriously: let me know if you have better insight into how to
> associate this table with a set of chip IDs. Otherwise, I might as
I only have the H27UBG8T2A nand chip in my hand, and test it in the 
imx28 board.
I do not have other nand chips which may also follow the same parsing 
code as the H27UBG8T2A.

Best Regards
Huang Shijie

> well finish adding an 8-byte ID table and adding this one chip
> manually.

More information about the linux-mtd mailing list