400-mtd-add-rtl838x-spi-flash-driver.patch 815 B

1234567891011121314151617181920212223
  1. --- a/drivers/mtd/spi-nor/Kconfig
  2. +++ b/drivers/mtd/spi-nor/Kconfig
  3. @@ -118,4 +118,13 @@ config SPI_INTEL_SPI_PLATFORM
  4. To compile this driver as a module, choose M here: the module
  5. will be called intel-spi-platform.
  6. +config SPI_RTL838X
  7. + tristate "Realtek RTl838X SPI flash platform driver"
  8. + depends on RTL838X
  9. + help
  10. + This driver provides support for accessing SPI flash
  11. + in the RTL838X SoC.
  12. +
  13. + Say N here unless you know what you are doing.
  14. +
  15. endif # MTD_SPI_NOR
  16. --- a/drivers/mtd/spi-nor/Makefile
  17. +++ b/drivers/mtd/spi-nor/Makefile
  18. @@ -8,3 +8,4 @@ obj-$(CONFIG_SPI_NXP_SPIFI) += nxp-spifi
  19. obj-$(CONFIG_SPI_INTEL_SPI) += intel-spi.o
  20. obj-$(CONFIG_SPI_INTEL_SPI_PCI) += intel-spi-pci.o
  21. obj-$(CONFIG_SPI_INTEL_SPI_PLATFORM) += intel-spi-platform.o
  22. +obj-$(CONFIG_SPI_RTL838X) += rtl838x-nor.o