public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Map driver usage
@ 2001-12-18 14:39 Robert Kaiser
  2001-12-18 16:05 ` David Woodhouse
  0 siblings, 1 reply; 10+ messages in thread
From: Robert Kaiser @ 2001-12-18 14:39 UTC (permalink / raw)
  To: linux-mtd

Hi everybody,

I have a question regarding the usage od the access primitives
(e.g. xx_read8(), xx_read16(), xx_copy_from() and so on). In writing
a map driver, can one assume that the MTD layer never calls these
functions to cross a flash device's block boundary ?

The reason I'm asking is that I am writing a new map driver for a board
that has a somwhat strange logical flash layout and I would like
to hide that by "shuffling" some of the blocks so that they appear
at different offsets. Transforming the offset parameter in the above
mentioned functions would be an easy way to do this, but it requires
that these functions are never asked to cross an erase block boundary.

Thanks for any insights

Rob

----------------------------------------------------------------
Robert Kaiser                          email: rkaiser@sysgo.de
SYSGO RTS GmbH
Am Pfaffenstein 14
D-55270 Klein-Winternheim / Germany    fax:   (49) 6136 9948-10

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

end of thread, other threads:[~2001-12-19 16:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-18 14:39 Map driver usage Robert Kaiser
2001-12-18 16:05 ` David Woodhouse
2001-12-18 17:13   ` Robert Kaiser
2001-12-18 17:18     ` David Woodhouse
2001-12-18 17:44       ` Robert Kaiser
     [not found]         ` <20544.1008697534@redhat.com>
2001-12-19 13:16           ` Robert Kaiser
2001-12-19 13:21             ` David Woodhouse
2001-12-19 16:42               ` Two flash chips with a gap between them Vladimir Doukhanine
2001-12-19 16:51                 ` David Woodhouse
2001-12-18 17:34     ` Map driver usage 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