refresh kernel patches
[openwrt/staging/chunkeey.git] / target / linux / atheros / patches-2.6.23 / 110-spiflash.patch
1 Index: linux-2.6.23.17/drivers/mtd/devices/Kconfig
2 ===================================================================
3 --- linux-2.6.23.17.orig/drivers/mtd/devices/Kconfig
4 +++ linux-2.6.23.17/drivers/mtd/devices/Kconfig
5 @@ -76,6 +76,10 @@ config MTD_M25P80
6 used for program and data storage. Set up your spi devices
7 with the right board-specific platform data.
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.23.17/drivers/mtd/devices/Makefile
17 ===================================================================
18 --- linux-2.6.23.17.orig/drivers/mtd/devices/Makefile
19 +++ linux-2.6.23.17/drivers/mtd/devices/Makefile
20 @@ -18,3 +18,4 @@ obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd
21 obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o
22 obj-$(CONFIG_MTD_DATAFLASH26) += at91_dataflash26.o
23 obj-$(CONFIG_MTD_M25P80) += m25p80.o
24 +obj-$(CONFIG_MTD_SPIFLASH) += spiflash.o