Add SPI-MEM framework
This framework supports SPI operations using a common
spi_mem_op structure:
 - command
 - addr
 - dummy
 - data

The framework manages SPI bus configuration:
 - speed
 - bus width (Up to quad mode)
 - chip select

Change-Id: Idc2736c59bfc5ac6e55429eba5d385275ea3fbde
Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
1 parent b114abb commit 05e6a5638b256a66c81d5427e020dbe184659304
@Lionel Debieve Lionel Debieve authored on 24 Sep 2019
Showing 2 changed files
View
drivers/mtd/spi-mem/spi_mem.c 0 → 100644
View
include/drivers/spi_mem.h 0 → 100644