Memory mapped read for serial flash device ?

Sourav Poddar sourav.poddar at ti.com
Fri Sep 27 02:59:01 EDT 2013


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?

Thanks in advance,
Sourav



More information about the linux-mtd mailing list