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

Graham Moore
2014-11-13T16:29:35Z

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