[atheros] add .25 patches (kernel boots fine on LS2, LS5, FON2200 and on WRT55AG v2)
[openwrt.git] / target / linux / atheros / patches-2.6.25 / 110-spiflash.patch
1 Index: linux-2.6.25.1/drivers/mtd/devices/Kconfig
2 ===================================================================
3 --- linux-2.6.25.1.orig/drivers/mtd/devices/Kconfig
4 +++ linux-2.6.25.1/drivers/mtd/devices/Kconfig
5 @@ -77,6 +77,10 @@ config MTD_M25P80
6           if you want to specify device partitioning or to use a device which
7           doesn't support the JEDEC ID instruction.
8  
9 +config MTD_SPIFLASH
10 +       tristate "Atheros AR2315/6/7 SPI Flash support"
11 +       depends on ATHEROS_AR5315
12 +
13  config MTD_SLRAM
14         tristate "Uncached system RAM"
15         help
16 Index: linux-2.6.25.1/drivers/mtd/devices/Makefile
17 ===================================================================
18 --- linux-2.6.25.1.orig/drivers/mtd/devices/Makefile
19 +++ linux-2.6.25.1/drivers/mtd/devices/Makefile
20 @@ -17,3 +17,4 @@ obj-$(CONFIG_MTD_LART)                += lart.o
21  obj-$(CONFIG_MTD_BLOCK2MTD)    += block2mtd.o
22  obj-$(CONFIG_MTD_DATAFLASH)    += mtd_dataflash.o
23  obj-$(CONFIG_MTD_M25P80)       += m25p80.o
24 +obj-$(CONFIG_MTD_SPIFLASH)     += spiflash.o