public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* cfi_cmdset_0020.c
@ 2002-11-06 15:03 J B
  2002-11-06 15:46 ` cfi_cmdset_0020.c Jörn Engel
  0 siblings, 1 reply; 2+ messages in thread
From: J B @ 2002-11-06 15:03 UTC (permalink / raw)
  To: joern; +Cc: linux-mtd

Jörn,
     I have a couple of questions reguarding the patch you released a while 
ago to support the M58LW064A STMicro flash chip.  I noticed that you set the 
eccsize in the mtd_info structure to 8, and in your patch for jffs2, you 
used this as the size of the wbuf for writes in nor_wbuf.c.  Isn't this 
value really the minimum buffer size for the flash chip?  If so, since your 
patch for jffs2 is based on NAND chips, wouldn't it make more sense to use 
the oobblock variable in the mtd_info structure to represent the size of the 
buffer?  There could be other reasons you used eccsize that I am missing and 
if so please forgive my ignorance ;).  Also, is there a reason you decided 
to use the minimum buffer size for the wbuf?  According to the datasheet for 
those chips, the buffer can hold up to 32 bytes.  Wouldn't using the maximum 
buffer available make things more efficient?

Thanks,
J


_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-06 15:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-06 15:03 cfi_cmdset_0020.c J B
2002-11-06 15:46 ` cfi_cmdset_0020.c Jörn Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox