revert [9788], the ADM5120 datasheet v1.16 contains bad values
[oweals/openwrt.git] / target / linux / adm5120 / patches-2.6.23 / 004-adm5120_nand.patch
1 Index: linux-2.6.23/drivers/mtd/nand/Kconfig
2 ===================================================================
3 --- linux-2.6.23.orig/drivers/mtd/nand/Kconfig
4 +++ linux-2.6.23/drivers/mtd/nand/Kconfig
5 @@ -81,6 +81,16 @@ config MTD_NAND_TS7250
6         help
7           Support for NAND flash on Technologic Systems TS-7250 platform.
8  
9 +config MTD_NAND_ADM5120
10 +       tristate "ADM5120 NAND support"
11 +       depends on MTD_NAND && MIPS_ADM5120
12 +       help
13 +         This enables the driver for the ADM5120 SoC built-in
14 +         NAND flash interface.
15 +
16 +         No board specific support is done by this driver, each board
17 +         must advertise a platform_device for the driver to attach.
18 +
19  config MTD_NAND_IDS
20         tristate
21  
22 Index: linux-2.6.23/drivers/mtd/nand/Makefile
23 ===================================================================
24 --- linux-2.6.23.orig/drivers/mtd/nand/Makefile
25 +++ linux-2.6.23/drivers/mtd/nand/Makefile
26 @@ -10,6 +10,7 @@ obj-$(CONFIG_MTD_NAND_CAFE)           += cafe_nan
27  obj-$(CONFIG_MTD_NAND_SPIA)            += spia.o
28  obj-$(CONFIG_MTD_NAND_AMS_DELTA)       += ams-delta.o
29  obj-$(CONFIG_MTD_NAND_TOTO)            += toto.o
30 +obj-$(CONFIG_MTD_NAND_ADM5120)         += adm5120-nand.o
31  obj-$(CONFIG_MTD_NAND_AUTCPU12)                += autcpu12.o
32  obj-$(CONFIG_MTD_NAND_EDB7312)         += edb7312.o
33  obj-$(CONFIG_MTD_NAND_AU1550)          += au1550nd.o