[adm5120] restore old patches for 2.6.21.5 kernel
[openwrt/svn-archive/archive.git] / target / linux / adm5120-2.6 / patches / 500-Nand.patch
1 diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
2 index cfe288a..c528024 100644
3 --- a/drivers/mtd/nand/Kconfig
4 +++ b/drivers/mtd/nand/Kconfig
5 @@ -55,6 +55,12 @@ config MTD_NAND_TOTO
6 help
7 Support for NAND flash on Texas Instruments Toto platform.
8
9 +config MTD_NAND_RB100
10 + tristate "NAND Flash device on RB100 board"
11 + depends on MTD_NAND
12 + help
13 + Support for NAND flash on RB100 platform.
14 +
15 config MTD_NAND_IDS
16 tristate
17
18 diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile
19 index 4174202..2be57c1 100644
20 --- a/drivers/mtd/nand/Makefile
21 +++ b/drivers/mtd/nand/Makefile
22 @@ -8,6 +8,7 @@ obj-$(CONFIG_MTD_NAND_IDS) += nand_ids.
23
24 obj-$(CONFIG_MTD_NAND_SPIA) += spia.o
25 obj-$(CONFIG_MTD_NAND_TOTO) += toto.o
26 +obj-$(CONFIG_MTD_NAND_RB100) += rbmipsnand.o
27 obj-$(CONFIG_MTD_NAND_AUTCPU12) += autcpu12.o
28 obj-$(CONFIG_MTD_NAND_EDB7312) += edb7312.o
29 obj-$(CONFIG_MTD_NAND_AU1550) += au1550nd.o