Mask error in nandbase.c: nand_scan(): oob_size

Thomas Gleixner tglx at linutronix.de
Thu Aug 4 07:35:51 EDT 2005


On Wed, 2005-08-03 at 15:35 -0600, Nathan H. wrote:

> The code line should be:
> mtd->oobsize = (8 << (extid & 0x01)) * (mtd->oobblock / 512);
>                                                        ^fix
> 
> Reference:  Page 31 (Table: 4th ID Data)
> http://www.samsung.com/Products/Semiconductor/Flash/NAND/2Gbit/K9F2G08U0M/ds_k9f2gxxu0m_rev10.pdf

Please look into 

http://www.samsung.com/Products/Semiconductor/Flash/NAND/16Gbit/K9WAG08U1M/ds_k9wag08u1m_rev02.pdf

to see why the bits are reserved are why they are guaranteed to be zero.

No error to see here :)

tglx






More information about the linux-mtd mailing list