Use the flash0_size from the adm5120_board structure to correctly remap the flash...
[openwrt.git] / target / linux / atheros-2.6 / patches / 110-spiflash.patch
1 diff -urN linux.old/drivers/mtd/devices/Kconfig linux.dev/drivers/mtd/devices/Kconfig
2 --- linux.old/drivers/mtd/devices/Kconfig 2007-02-04 04:30:26.145338240 +0100
3 +++ linux.dev/drivers/mtd/devices/Kconfig 2007-02-02 23:48:28.748969000 +0100
4 @@ -68,6 +68,10 @@
5 used for program and data storage. Set up your spi devices
6 with the right board-specific platform data.
7
8 +config MTD_SPIFLASH
9 + tristate "Atheros AR2315/6/7 SPI Flash support"
10 + depends on MTD && ATHEROS_AR5315
11 +
12 config MTD_SLRAM
13 tristate "Uncached system RAM"
14 depends on MTD
15 diff -urN linux.old/drivers/mtd/devices/Makefile linux.dev/drivers/mtd/devices/Makefile
16 --- linux.old/drivers/mtd/devices/Makefile 2007-02-04 04:30:26.146338088 +0100
17 +++ linux.dev/drivers/mtd/devices/Makefile 2007-02-02 23:48:28.749969000 +0100
18 @@ -17,3 +17,4 @@
19 obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd.o
20 obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o
21 obj-$(CONFIG_MTD_M25P80) += m25p80.o
22 +obj-$(CONFIG_MTD_SPIFLASH) += spiflash.o
23
This page took 0.041917 seconds and 5 git commands to generate.