9
0
Fork 0

mtd: spi-nor: add cadence quadspi driver

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Steffen Trumtrar 2015-05-28 17:56:01 +02:00 committed by Sascha Hauer
parent 160a10252e
commit 51de1b3c40
4 changed files with 1230 additions and 0 deletions

View File

@ -4,3 +4,12 @@ menuconfig MTD_SPI_NOR
help
This is the framework for the SPI NOR which can be used by the SPI
device drivers and the SPI-NOR device driver.
if MTD_SPI_NOR
config SPI_CADENCE_QUADSPI
tristate "Cadence Quad SPI controller"
help
This enables support for the Cadence Quad SPI controller and NOR flash.
endif

View File

@ -1 +1,2 @@
obj-$(CONFIG_MTD_SPI_NOR) += spi-nor.o
obj-$(CONFIG_SPI_CADENCE_QUADSPI) += cadence-quadspi.o

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,9 @@
#ifndef __INCLUDE_PLATFORM_DATA_CADENCE_QSPI_H
#define __INCLUDE_PLATFORM_DATA_CADENCE_QSPI_H
struct cadence_qspi_platform_data {
unsigned int ext_decoder;
unsigned int fifo_depth;
};
#endif /* __INCLUDE_PLATFORM_DATA_CADENCE_QSPI_H */