ar71xx: refresh 4.1 patches
[openwrt/openwrt.git] / target / linux / ar71xx / patches-4.1 / 409-mtd-rb4xx_nand_driver.patch
1 --- a/drivers/mtd/nand/Kconfig
2 +++ b/drivers/mtd/nand/Kconfig
3 @@ -530,4 +530,8 @@ config MTD_NAND_HISI504
4 help
5 Enables support for NAND controller on Hisilicon SoC Hip04.
6
7 +config MTD_NAND_RB4XX
8 + tristate "NAND flash driver for RouterBoard 4xx series"
9 + depends on MTD_NAND && ATH79_MACH_RB4XX
10 +
11 endif # MTD_NAND
12 --- a/drivers/mtd/nand/Makefile
13 +++ b/drivers/mtd/nand/Makefile
14 @@ -32,6 +32,7 @@ obj-$(CONFIG_MTD_NAND_CM_X270) += cmx27
15 obj-$(CONFIG_MTD_NAND_PXA3xx) += pxa3xx_nand.o
16 obj-$(CONFIG_MTD_NAND_TMIO) += tmio_nand.o
17 obj-$(CONFIG_MTD_NAND_PLATFORM) += plat_nand.o
18 +obj-$(CONFIG_MTD_NAND_RB4XX) += rb4xx_nand.o
19 obj-$(CONFIG_MTD_NAND_PASEMI) += pasemi_nand.o
20 obj-$(CONFIG_MTD_NAND_ORION) += orion_nand.o
21 obj-$(CONFIG_MTD_NAND_FSL_ELBC) += fsl_elbc_nand.o