summaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-2.6.26/110-spiflash.patch
diff options
context:
space:
mode:
authormatteo <matteo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-27 21:42:36 +0000
committermatteo <matteo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-27 21:42:36 +0000
commit94203f952499befca4717748da4c8293ade59916 (patch)
treed02bf3287c556cb6661a36c58998a71522e408e0 /target/linux/atheros/patches-2.6.26/110-spiflash.patch
parent7067633ae894daa10db5f3eff6aa7a4fc5d17523 (diff)
atheros: 2.6.26 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11965 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-2.6.26/110-spiflash.patch')
-rw-r--r--target/linux/atheros/patches-2.6.26/110-spiflash.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/atheros/patches-2.6.26/110-spiflash.patch b/target/linux/atheros/patches-2.6.26/110-spiflash.patch
new file mode 100644
index 000000000..527198c21
--- /dev/null
+++ b/target/linux/atheros/patches-2.6.26/110-spiflash.patch
@@ -0,0 +1,20 @@
+--- a/drivers/mtd/devices/Kconfig
++++ b/drivers/mtd/devices/Kconfig
+@@ -84,6 +84,10 @@
+ help
+ This option enables FAST_READ access supported by ST M25Pxx.
+
++config MTD_SPIFLASH
++ tristate "Atheros AR2315/6/7 SPI Flash support"
++ depends on ATHEROS_AR5315
++
+ config MTD_SLRAM
+ tristate "Uncached system RAM"
+ help
+--- a/drivers/mtd/devices/Makefile
++++ b/drivers/mtd/devices/Makefile
+@@ -17,3 +17,4 @@
+ obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd.o
+ obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o
+ obj-$(CONFIG_MTD_M25P80) += m25p80.o
++obj-$(CONFIG_MTD_SPIFLASH) += spiflash.o