bcm53xx: add support for kernel 4.1
[openwrt/staging/chunkeey.git] / target / linux / bcm53xx / patches-4.1 / 404-mtd-bcm53xxspiflash-new-driver-for-SPI-flahes-on-Bro.patch
1 --- a/drivers/mtd/spi-nor/Kconfig
2 +++ b/drivers/mtd/spi-nor/Kconfig
3 @@ -28,4 +28,10 @@ config SPI_FSL_QUADSPI
4 This enables support for the Quad SPI controller in master mode.
5 We only connect the NOR to this controller now.
6
7 +config MTD_SPI_BCM53XXSPIFLASH
8 + tristate "SPI-NOR flashes connected to the Broadcom ARM SoC"
9 + depends on MTD_SPI_NOR
10 + help
11 + SPI driver for flashes used on Broadcom ARM SoCs.
12 +
13 endif # MTD_SPI_NOR
14 --- a/drivers/mtd/spi-nor/Makefile
15 +++ b/drivers/mtd/spi-nor/Makefile
16 @@ -1,2 +1,3 @@
17 obj-$(CONFIG_MTD_SPI_NOR) += spi-nor.o
18 obj-$(CONFIG_SPI_FSL_QUADSPI) += fsl-quadspi.o
19 +obj-$(CONFIG_MTD_SPI_BCM53XXSPIFLASH) += bcm53xxspiflash.o