atheros: 2.6.26 patches
[openwrt/svn-archive/archive.git] / target / linux / atheros / patches-2.6.26 / 110-spiflash.patch
1 --- a/drivers/mtd/devices/Kconfig
2 +++ b/drivers/mtd/devices/Kconfig
3 @@ -84,6 +84,10 @@
4 help
5 This option enables FAST_READ access supported by ST M25Pxx.
6
7 +config MTD_SPIFLASH
8 + tristate "Atheros AR2315/6/7 SPI Flash support"
9 + depends on ATHEROS_AR5315
10 +
11 config MTD_SLRAM
12 tristate "Uncached system RAM"
13 help
14 --- a/drivers/mtd/devices/Makefile
15 +++ b/drivers/mtd/devices/Makefile
16 @@ -17,3 +17,4 @@
17 obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd.o
18 obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o
19 obj-$(CONFIG_MTD_M25P80) += m25p80.o
20 +obj-$(CONFIG_MTD_SPIFLASH) += spiflash.o