90827e5b8a7282aa0d3ca3924486f67d1819c0d8
[openwrt.git] / target / linux / oxnas / patches-3.18 / 400-oxnas-nand.patch
1 Index: linux-3.18-rc4/drivers/mtd/nand/Kconfig
2 ===================================================================
3 --- linux-3.18-rc4.orig/drivers/mtd/nand/Kconfig
4 +++ linux-3.18-rc4/drivers/mtd/nand/Kconfig
5 @@ -516,4 +516,12 @@ config MTD_NAND_XWAY
6           Enables support for NAND Flash chips on Lantiq XWAY SoCs. NAND is attached
7           to the External Bus Unit (EBU).
8  
9 +config MTD_NAND_OXNAS
10 +       tristate "Support for NAND on Plxtech NAS782X SoC"
11 +       depends on ARCH_OXNAS
12 +       select MTD_NAND_PLATFORM
13 +       help
14 +         Enables support for NAND Flash chips on Plxtech NAS782X SoCs. NAND is attached
15 +         to the STATIC Unit.
16 +
17  endif # MTD_NAND
18 Index: linux-3.18-rc4/drivers/mtd/nand/Makefile
19 ===================================================================
20 --- linux-3.18-rc4.orig/drivers/mtd/nand/Makefile
21 +++ linux-3.18-rc4/drivers/mtd/nand/Makefile
22 @@ -50,5 +50,6 @@ obj-$(CONFIG_MTD_NAND_JZ4740)         += jz4740
23  obj-$(CONFIG_MTD_NAND_GPMI_NAND)       += gpmi-nand/
24  obj-$(CONFIG_MTD_NAND_XWAY)            += xway_nand.o
25  obj-$(CONFIG_MTD_NAND_BCM47XXNFLASH)   += bcm47xxnflash/
26 +obj-$(CONFIG_MTD_NAND_OXNAS)           += oxnas_nand.o
27  
28  nand-objs := nand_base.o nand_bbt.o nand_timings.o