public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "J B" <mad_flasher@hotmail.com>
To: joern@wohnheim.fh-wedel.de
Cc: linux-mtd@lists.infradead.org
Subject: cfi_cmdset_0020.c
Date: Wed, 06 Nov 2002 09:03:03 -0600	[thread overview]
Message-ID: <F147brL1SCeX8KShPdH00000308@hotmail.com> (raw)

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

             reply	other threads:[~2002-11-06 14:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-06 15:03 J B [this message]
2002-11-06 15:46 ` cfi_cmdset_0020.c Jörn Engel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F147brL1SCeX8KShPdH00000308@hotmail.com \
    --to=mad_flasher@hotmail.com \
    --cc=joern@wohnheim.fh-wedel.de \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox