ar71xx: Add support for AP147-010 reference board
[openwrt/openwrt.git] / target / linux / ar71xx / patches-4.1 / 413-mtd-ar934x-nand-driver.patch
1 --- a/drivers/mtd/nand/Kconfig
2 +++ b/drivers/mtd/nand/Kconfig
3 @@ -538,4 +538,12 @@ config MTD_NAND_RB750
4 tristate "NAND flash driver for the RouterBoard 750"
5 depends on MTD_NAND && ATH79_MACH_RB750
6
7 +config MTD_NAND_AR934X
8 + tristate "NAND flash driver for the Qualcomm Atheros AR934x/QCA955x SoCs"
9 + depends on (SOC_AR934X || SOC_QCA955X)
10 +
11 +config MTD_NAND_AR934X_HW_ECC
12 + bool "Hardware ECC support for the AR934X NAND Controller (EXPERIMENTAL)"
13 + depends on MTD_NAND_AR934X
14 +
15 endif # MTD_NAND
16 --- a/drivers/mtd/nand/Makefile
17 +++ b/drivers/mtd/nand/Makefile
18 @@ -13,6 +13,7 @@ obj-$(CONFIG_MTD_NAND_AMS_DELTA) += ams-
19 obj-$(CONFIG_MTD_NAND_DENALI) += denali.o
20 obj-$(CONFIG_MTD_NAND_DENALI_PCI) += denali_pci.o
21 obj-$(CONFIG_MTD_NAND_DENALI_DT) += denali_dt.o
22 +obj-$(CONFIG_MTD_NAND_AR934X) += ar934x_nfc.o
23 obj-$(CONFIG_MTD_NAND_AU1550) += au1550nd.o
24 obj-$(CONFIG_MTD_NAND_BF5XX) += bf5xx_nand.o
25 obj-$(CONFIG_MTD_NAND_S3C2410) += s3c2410.o