From: David Woodhouse <dwmw2@infradead.org>
To: Nicolas Pitre <nico@cam.org>
Cc: Mike Hill <mhill@bustech.com>, mtd@infradead.org
Subject: Re: MTD on intel 28F320B3 flash memory
Date: Fri, 17 Nov 2000 16:29:06 +0000 [thread overview]
Message-ID: <4577.974478546@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.30.0011171121210.17599-100000@xanadu.gn.com>
nico@cam.org said:
> But then you have problem with concurent access to the chip... unless
> the code is tweaked so both mtd devices share the same spinlock and
> wq.
Upon further consideration...
They can just be different 'partitions' of the same underlying device - they
only appear as two separate devices to the upper layers - just like normal
MTD partitioning.
All we have to do is make the erase routine aware of the nature of the
chip, and make sure it correctly erases the correct amount of data,
according to the length passed in as part of the erase request. We have to
do that anyway, even in the case where we want to pretend it's all 64KiB.
Then it doesn't matter if the registered MTD partitions actually have
different erase sizes.
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
prev parent reply other threads:[~2000-11-17 16:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-16 23:59 MTD on intel 28F320B3 flash memory Peter De Schrijver
2000-11-17 1:23 ` David Woodhouse
2000-11-17 8:44 ` Nick Ivanter
2000-11-17 13:59 ` Mike Hill
2000-11-17 14:18 ` David Woodhouse
2000-11-17 16:23 ` Nicolas Pitre
2000-11-17 16:13 ` David Woodhouse
2000-11-17 16:29 ` 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=4577.974478546@redhat.com \
--to=dwmw2@infradead.org \
--cc=mhill@bustech.com \
--cc=mtd@infradead.org \
--cc=nico@cam.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