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:
parent
160a10252e
commit
51de1b3c40
|
@ -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
|
||||
|
|
|
@ -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
|
@ -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 */
|
Loading…
Reference in New Issue