realtek: update the tree to the latest refactored version
[openwrt/staging/rmilecki.git] / target / linux / realtek / patches-5.4 / 400-mtd-add-rtl838x-spi-flash-driver.patch
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
7 +config SPI_RTL838X
8 + tristate "Realtek RTl838X SPI flash platform driver"
9 + depends on RTL838X
10 + help
11 + This driver provides support for accessing SPI flash
12 + in the RTL838X SoC.
13 +
14 + Say N here unless you know what you are doing.
15 +
16 endif # MTD_SPI_NOR
17 --- a/drivers/mtd/spi-nor/Makefile
18 +++ b/drivers/mtd/spi-nor/Makefile
19 @@ -8,3 +8,4 @@ obj-$(CONFIG_SPI_NXP_SPIFI) += nxp-spifi
20 obj-$(CONFIG_SPI_INTEL_SPI) += intel-spi.o
21 obj-$(CONFIG_SPI_INTEL_SPI_PCI) += intel-spi-pci.o
22 obj-$(CONFIG_SPI_INTEL_SPI_PLATFORM) += intel-spi-platform.o
23 +obj-$(CONFIG_SPI_RTL838X) += rtl838x-nor.o