From: David Woodhouse <dwmw2@infradead.org>
To: Abraham vd Merwe <abraham@2d3d.co.za>
Cc: MTD for Linux <linux-mtd@lists.infradead.org>
Subject: Re: erase questions
Date: Thu, 07 Jun 2001 12:12:41 +0100 [thread overview]
Message-ID: <13861.991912361@redhat.com> (raw)
In-Reply-To: <20010607130309.A28720@crystal.2d3d.co.za>
abraham@2d3d.co.za said:
> If ->len may span multiple blocks, must it be equal to the size of
> all the blocks (e.g. if you we're to erase a 2x 4k + 3x 8k consecutive
> blocks, must len be equal to 32k)?
The only constraints are that both <start> and <start+len> must be aligned
with erase block boundaries.
If you have a chip with 8*8K erase blocks followed by 15*64K erase blocks,
then an erase of length 72K at offset 56K is permitted - you'd erase the
last of the small blocks and the first of the big blocks.
--
dwmw2
prev parent reply other threads:[~2001-06-07 11:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-07 11:03 erase questions Abraham vd Merwe
2001-06-07 11:12 ` David Woodhouse [this message]
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=13861.991912361@redhat.com \
--to=dwmw2@infradead.org \
--cc=abraham@2d3d.co.za \
--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