* Memory mapped support for SPI flash ?
@ 2013-10-07 11:26 Sourav Poddar
0 siblings, 0 replies; only message in thread
From: Sourav Poddar @ 2013-10-07 11:26 UTC (permalink / raw)
To: Mark Brown, David Woodhouse, Brian Norris; +Cc: linux-mtd@lists.infradead.org
Hi,
I wanted to know whether there is any framework or support available
in mtd which helps in doing a memory mapped read for a serial NOR flash
driver.
Requirement is something like this..
My controller supports memory mapped read, but needs to switch to
memory mapped port to read from it and once the
read is done switch back again to normal configuration mode.
So, my idea is that spi controller need to be communicated from the mtd
layer
that the current read is memory mapped read, so the controller does
whatever settings need to be done and then does the memory mapped read and
switch back to configuration mode.
I see some drivers under drivers/mtd/maps/* , point and unpoint
functions, but are they
applicable for serial NOR flashes? Or there is any other stuff available
which I can use
for my usecase?
I was thing of using it in a way that dual/quad support is used. I mean
to add "memory map"
as a mode and pass it as a transfer parameter(from the mtd layer) to
indicate that the current transfer
is a memory map read and then do a memcopy in the low level driver function.
Thanks in advance,
Sourav
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-10-07 11:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07 11:26 Memory mapped support for SPI flash ? Sourav Poddar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.