[PATCH 2/3] nand_base: add ONFI flash detection

Eric Bénard eric at eukrea.com
Thu Jul 5 16:32:08 EDT 2012


Hi Sascha,

Le Thu, 5 Jul 2012 21:02:40 +0200,
Sascha Hauer <s.hauer at pengutronix.de> a écrit :
> > -	printk(KERN_INFO "NAND device: Manufacturer ID:"
> > -	       " 0x%02x, Chip ID: 0x%02x (%s %s)\n", *maf_id, dev_id,
> > -	       nand_manuf_ids[maf_idx].name, type->name);
> > +	printk("NAND device: Manufacturer ID: 0x%02x, Chip ID: 0x%02x (%s %s),"
> > +		" page size: %d, OOB size: %d\n",
> > +		*maf_id, dev_id, nand_manuf_ids[maf_idx].name,
> > +		chip->onfi_version ? chip->onfi_params.model : type->name,
> > +		mtd->writesize, mtd->oobsize);
> 
> Do we need to output writesize and oobsize here? 'devinfo nand0' will
> give the same information.
> 
that's the way it's done in the kernel so I imported the log update.

Eric



More information about the barebox mailing list