ar71xx: add preliminary support for Mikrotik RB2011L
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.3 / 409-mtd-rb4xx_nand_driver.patch
1 --- a/drivers/mtd/nand/Kconfig
2 +++ b/drivers/mtd/nand/Kconfig
3 @@ -536,4 +536,8 @@ config MTD_NAND_FSMC
4 Enables support for NAND Flash chips on the ST Microelectronics
5 Flexible Static Memory Controller (FSMC)
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 @@ -33,6 +33,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_ALAUDA) += alauda.o
20 obj-$(CONFIG_MTD_NAND_PASEMI) += pasemi_nand.o
21 obj-$(CONFIG_MTD_NAND_ORION) += orion_nand.o