Bad assumption about ID field definition for Samsung NAND?

Kevin Cernekee cernekee at gmail.com
Thu Aug 19 15:46:35 EDT 2010


On Thu, Aug 19, 2010 at 10:16 AM, Tilman Sauerbeck
<tilman at code-monkey.de> wrote:
>>   This patch uses the new 6-byte scheme if the following conditions are
>>   all true:
>>   [...]
>>   3) 6th byte is zero
>
> ... but what the code does is use new scheme if id_data[5] is _not_
> zero.

ID for Samsung K9GAG08U0D (6-byte sequence): ec d5 94 29 34 41

The code is right; the comment is wrong.



More information about the linux-mtd mailing list