add patches for 2.6.23 on brcm47xx (not enabled yet)
[openwrt-10.03/.git] / target / linux / brcm47xx / patches-2.6.23 / 110-flash_map.patch
1 Index: linux-2.6.23/drivers/mtd/maps/Kconfig
2 ===================================================================
3 --- linux-2.6.23.orig/drivers/mtd/maps/Kconfig  2007-10-09 22:31:38.000000000 +0200
4 +++ linux-2.6.23/drivers/mtd/maps/Kconfig       2007-10-13 02:28:13.644001805 +0200
5 @@ -352,6 +352,12 @@
6           Mapping for the Flaga digital module. If you don't have one, ignore
7           this setting.
8  
9 +config MTD_BCM47XX
10 +       tristate "BCM47xx flash device"
11 +       depends on MIPS && MTD_CFI && BCM947XX
12 +       help
13 +         Support for the flash chips on the BCM947xx board.
14 +
15  config MTD_WALNUT
16         tristate "Flash device mapped on IBM 405GP Walnut"
17         depends on MTD_JEDECPROBE && WALNUT
18 Index: linux-2.6.23/drivers/mtd/maps/Makefile
19 ===================================================================
20 --- linux-2.6.23.orig/drivers/mtd/maps/Makefile 2007-10-09 22:31:38.000000000 +0200
21 +++ linux-2.6.23/drivers/mtd/maps/Makefile      2007-10-13 02:27:56.727037761 +0200
22 @@ -33,6 +33,7 @@
23  obj-$(CONFIG_MTD_PCMCIA)       += pcmciamtd.o
24  obj-$(CONFIG_MTD_RPXLITE)      += rpxlite.o
25  obj-$(CONFIG_MTD_TQM8XXL)      += tqm8xxl.o
26 +obj-$(CONFIG_MTD_BCM47XX)      += bcm47xx-flash.o
27  obj-$(CONFIG_MTD_SA1100)       += sa1100-flash.o
28  obj-$(CONFIG_MTD_IPAQ)         += ipaq-flash.o
29  obj-$(CONFIG_MTD_SBC_GXX)      += sbc_gxx.o