summaryrefslogtreecommitdiff
path: root/target/linux/adm5120/patches-2.6.34/002-adm5120_flash.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-04-27 08:46:13 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-04-27 08:46:13 +0000
commit066358ab8036321a9c333a881ba329985e688dfd (patch)
tree4d6a6ef78043d87b6da5d7cbfd5a51d744e5f205 /target/linux/adm5120/patches-2.6.34/002-adm5120_flash.patch
parentcde7b6363c77be3d6e81e9444ac5d2ba8d0db87f (diff)
downloadmtk-20170518-066358ab8036321a9c333a881ba329985e688dfd.zip
mtk-20170518-066358ab8036321a9c333a881ba329985e688dfd.tar.gz
mtk-20170518-066358ab8036321a9c333a881ba329985e688dfd.tar.bz2
adm5120: add 2.6.33 & 2.6.34 kernel support
SVN-Revision: 21182
Diffstat (limited to 'target/linux/adm5120/patches-2.6.34/002-adm5120_flash.patch')
-rw-r--r--target/linux/adm5120/patches-2.6.34/002-adm5120_flash.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/adm5120/patches-2.6.34/002-adm5120_flash.patch b/target/linux/adm5120/patches-2.6.34/002-adm5120_flash.patch
new file mode 100644
index 0000000..59921de
--- /dev/null
+++ b/target/linux/adm5120/patches-2.6.34/002-adm5120_flash.patch
@@ -0,0 +1,21 @@
+--- a/drivers/mtd/maps/Kconfig
++++ b/drivers/mtd/maps/Kconfig
+@@ -557,4 +557,8 @@ config MTD_VMU
+ To build this as a module select M here, the module will be called
+ vmu-flash.
+
++config MTD_ADM5120
++ tristate "Map driver for ADM5120 based boards"
++ depends on ADM5120
++
+ endmenu
+--- a/drivers/mtd/maps/Makefile
++++ b/drivers/mtd/maps/Makefile
+@@ -40,6 +40,7 @@
+ obj-$(CONFIG_MTD_DBOX2) += dbox2-flash.o
+ obj-$(CONFIG_MTD_SOLUTIONENGINE)+= solutionengine.o
+ obj-$(CONFIG_MTD_PCI) += pci.o
++obj-$(CONFIG_MTD_ADM5120) += adm5120-flash.o
+ obj-$(CONFIG_MTD_AUTCPU12) += autcpu12-nvram.o
+ obj-$(CONFIG_MTD_EDB7312) += edb7312.o
+ obj-$(CONFIG_MTD_IMPA7) += impa7.o