[PATCH v3 0/8] Add the Quadspi driver for vf610-twr
Huang Shijie
b32955 at freescale.com
Tue Sep 10 22:38:02 EDT 2013
于 2013年09月11日 02:07, Mark Brown 写道:
> The code to work out what opcodes to send to the device should be split
> out of the device driver so that other drivers talking to these chips
this code should be in the MTD code, not in the drivers.
I have spilted this code, please see patch 3 & patch 4.
> don't need to reimplement the logic and new chips with new opcodes don't
> need to be added to multiple drivers.
Since there is no standard for SPI-NOR commands, we _should_ add new
code for
new chips with new opcodes. For example, if a new chip supports the
quad-read with
a new command 0xef, we can submit a small patch for m25p80 to fix it.
We have to do it in such way, no shortcut.
thanks
Huang Shijie
More information about the linux-arm-kernel
mailing list