[PATCH v3 0/8] Add the Quadspi driver for vf610-twr

Mark Brown broonie at kernel.org
Tue Sep 10 14:07:04 EDT 2013


On Tue, Sep 10, 2013 at 02:59:07PM +0800, Huang Shijie wrote:

> Since I do not expose any details in the spi-nor.h
> (i only add some commands in this header), how can i hides the details
> with an abstraction?

> could you explain it more clearly?

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
don't need to reimplement the logic and new chips with new opcodes don't
need to be added to multiple drivers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20130910/f128fe46/attachment.sig>


More information about the linux-mtd mailing list