On Wed, Sep 11, 2013 at 10:38:02AM +0800, Huang Shijie wrote: > 于 2013年09月11日 02:07, Mark Brown 写道: > > 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. So why does the SPI driver have references to the opcodes in it?
Attachment:
signature.asc
Description: Digital signature