[V5 PATCH 1/1] driver:mtd:spi-nor: Add quad I/O support for Micron spi nor

Graham Moore grmoore at opensource.altera.com
Thu Nov 13 08:26:39 PST 2014



On Wed, 12 Nov 2014, bpqw wrote:

> This maybe your spi controller is still extended mode, 
> Once EVCR bit 7 is set to 0, the spi nor device will operate in quad I/O.Command-address-data line is 4-x-4.
> So after send WRITE EVCR command , spi controller also  must transfer to quad I/O Mode,and set its Command-address-data line also
> Should be 4-x-4 .

Thanks, this helped.  I added some code to snoop the command stream for 
WRITE EVCR with quad mode, and then set up the quad mode in the 
controller.  Seems kinda ugly, but working now.

-Graham



More information about the linux-mtd mailing list