[PATCH] mtd nand : print flash size during detection

Matthieu CASTET matthieu.castet at parrot.com
Thu Nov 22 12:36:09 EST 2012

Huang Shijie a écrit :
> In multi chip enables nand chips, such as some Micron nand chips, you 
> will find half size is printed
> after this patch is applied. Why? because we only scan one #CE, but this 
> nand chip has two #CE, the #CE0 and #CE1.
> a little confused.
nand_get_flash_type probe only one chip.

For multi chip, you should see the log :
"x NAND chips detected".

The resulting mtd size will be x * the chip size.

More information about the linux-mtd mailing list