[adm5120] more generic handling of Macronix flash chips, fix #2008
[openwrt.git] / target / linux / adm5120-2.6 / patches-2.6.22 / 002-adm5120_flash.patch
1 Index: linux-2.6.22-rc6/drivers/mtd/maps/Kconfig
2 ===================================================================
3 --- linux-2.6.22-rc6.orig/drivers/mtd/maps/Kconfig
4 +++ linux-2.6.22-rc6/drivers/mtd/maps/Kconfig
5 @@ -620,5 +620,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.22-rc6/drivers/mtd/maps/Makefile
17 ===================================================================
18 --- linux-2.6.22-rc6.orig/drivers/mtd/maps/Makefile
19 +++ linux-2.6.22-rc6/drivers/mtd/maps/Makefile
20 @@ -47,6 +47,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
This page took 0.040533 seconds and 5 git commands to generate.