Skip to content

Commit

Permalink
SPI: Ingenic: Add SFC support for Ingenic SoCs.
Browse files Browse the repository at this point in the history
Add SFC support for the X1000 SoC, the X1600 SoC, and the X2000 SoC
from Ingenic.

Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
  • Loading branch information
XBurst authored and intel-lab-lkp committed Jul 22, 2022
1 parent bd6b897 commit 0d9d0e6
Show file tree
Hide file tree
Showing 3 changed files with 672 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/spi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,15 @@ config SPI_INGENIC
To compile this driver as a module, choose M here: the module
will be called spi-ingenic.

config SPI_INGENIC_SFC
tristate "Ingenic SoCs SPI Flash Controller"
depends on MACH_INGENIC || COMPILE_TEST
help
This enables support for the Ingenic SoCs SPI flash controller.

To compile this driver as a module, choose M here: the module
will be called ingenic-sfc.

config SPI_INTEL
tristate

Expand Down
1 change: 1 addition & 0 deletions drivers/spi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ obj-$(CONFIG_SPI_HISI_SFC_V3XX) += spi-hisi-sfc-v3xx.o
obj-$(CONFIG_SPI_IMG_SPFI) += spi-img-spfi.o
obj-$(CONFIG_SPI_IMX) += spi-imx.o
obj-$(CONFIG_SPI_INGENIC) += spi-ingenic.o
obj-$(CONFIG_SPI_INGENIC_SFC) += spi-ingenic-sfc.o
obj-$(CONFIG_SPI_INTEL) += spi-intel.o
obj-$(CONFIG_SPI_INTEL_PCI) += spi-intel-pci.o
obj-$(CONFIG_SPI_INTEL_PLATFORM) += spi-intel-platform.o
Expand Down
Loading

0 comments on commit 0d9d0e6

Please sign in to comment.