[adm5120] restore right patches for 2.6.21.5
[openwrt/svn-archive/archive.git] / target / linux / adm5120-2.6 / patches / 002-adm5120_flash.patch
1 Index: linux-2.6.21.1/drivers/mtd/maps/Kconfig
2 ===================================================================
3 --- linux-2.6.21.1.orig/drivers/mtd/maps/Kconfig
4 +++ linux-2.6.21.1/drivers/mtd/maps/Kconfig
5 @@ -605,5 +605,10 @@ config MTD_PLATRAM
6
7 This selection automatically selects the map_ram driver.
8
9 +config MTD_ADM5120
10 + tristate "Map driver for ADMtek ADM5120 boards"
11 + depends on MIPS_ADM5120
12 + select MTD_CFI_AMDSTD
13 +
14 endmenu
15
16 Index: linux-2.6.21.1/drivers/mtd/maps/Makefile
17 ===================================================================
18 --- linux-2.6.21.1.orig/drivers/mtd/maps/Makefile
19 +++ linux-2.6.21.1/drivers/mtd/maps/Makefile
20 @@ -45,6 +45,7 @@ obj-$(CONFIG_MTD_OCELOT) += ocelot.o
21 obj-$(CONFIG_MTD_SOLUTIONENGINE)+= solutionengine.o
22 obj-$(CONFIG_MTD_PCI) += pci.o
23 obj-$(CONFIG_MTD_ALCHEMY) += alchemy-flash.o
24 +obj-$(CONFIG_MTD_ADM5120) += adm5120_mtd.o
25 obj-$(CONFIG_MTD_LASAT) += lasat.o
26 obj-$(CONFIG_MTD_AUTCPU12) += autcpu12-nvram.o
27 obj-$(CONFIG_MTD_EDB7312) += edb7312.o