SPI memory extension

modulename: spi-mem.ko

configname: CONFIG_SPI_MEM

Linux Kernel Configuration
└─>Device Drivers
└─>SPI support
└─>SPI memory extension
In linux kernel since version 3.10 (release Date: 2013-06-30)  
Enable this option if you want to enable the SPI memory extension.
This extension is meant to simplify interaction with SPI memories
by providing a high-level interface to send memory-like commands.

source code: