summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-2.6.37/007-ar91xx_flash_driver.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-11-10 16:23:42 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-11-10 16:23:42 +0000
commit0c66bb9c5534b27bd4304ba4a65a3cc43fe77de5 (patch)
tree2b1fddffd4b343074e5d02e8aa267ece51e44cab /target/linux/ar71xx/patches-2.6.37/007-ar91xx_flash_driver.patch
parentcec876fe24ae1883cf11d8a014238a95a618a2b6 (diff)
downloadmtk-20170518-0c66bb9c5534b27bd4304ba4a65a3cc43fe77de5.zip
mtk-20170518-0c66bb9c5534b27bd4304ba4a65a3cc43fe77de5.tar.gz
mtk-20170518-0c66bb9c5534b27bd4304ba4a65a3cc43fe77de5.tar.bz2
linux/ar71xx: add preliminary 2.6.37 kernel support
SVN-Revision: 23944
Diffstat (limited to 'target/linux/ar71xx/patches-2.6.37/007-ar91xx_flash_driver.patch')
-rw-r--r--target/linux/ar71xx/patches-2.6.37/007-ar91xx_flash_driver.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-2.6.37/007-ar91xx_flash_driver.patch b/target/linux/ar71xx/patches-2.6.37/007-ar91xx_flash_driver.patch
new file mode 100644
index 0000000..1bb504c
--- /dev/null
+++ b/target/linux/ar71xx/patches-2.6.37/007-ar91xx_flash_driver.patch
@@ -0,0 +1,26 @@
+--- a/drivers/mtd/maps/Kconfig
++++ b/drivers/mtd/maps/Kconfig
+@@ -260,6 +260,13 @@ config MTD_BCM963XX
+ Support for parsing CFE image tag and creating MTD partitions on
+ Broadcom BCM63xx boards.
+
++config MTD_AR91XX_FLASH
++ tristate "Atheros AR91xx parallel flash support"
++ depends on ATHEROS_AR71XX
++ select MTD_COMPLEX_MAPPINGS
++ help
++ Parallel flash driver for the Atheros AR91xx based boards.
++
+ config MTD_DILNETPC
+ tristate "CFI Flash device mapped on DIL/Net PC"
+ depends on X86 && MTD_CONCAT && MTD_PARTITIONS && MTD_CFI_INTELEXT && BROKEN
+--- a/drivers/mtd/maps/Makefile
++++ b/drivers/mtd/maps/Makefile
+@@ -40,6 +40,7 @@ obj-$(CONFIG_MTD_SCx200_DOCFLASH)+= scx2
+ obj-$(CONFIG_MTD_DBOX2) += dbox2-flash.o
+ obj-$(CONFIG_MTD_SOLUTIONENGINE)+= solutionengine.o
+ obj-$(CONFIG_MTD_PCI) += pci.o
++obj-$(CONFIG_MTD_AR91XX_FLASH) += ar91xx_flash.o
+ obj-$(CONFIG_MTD_AUTCPU12) += autcpu12-nvram.o
+ obj-$(CONFIG_MTD_EDB7312) += edb7312.o
+ obj-$(CONFIG_MTD_IMPA7) += impa7.o