add initial 2.6.28 support for brcm47xx target
[openwrt.git] / target / linux / brcm47xx / patches-2.6.28 / 110-flash_map.patch
1 diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
2 --- a/drivers/mtd/maps/Kconfig
3 +++ b/drivers/mtd/maps/Kconfig
4 @@ -332,6 +332,12 @@ config MTD_CFI_FLAGADM
5           Mapping for the Flaga digital module. If you don't have one, ignore
6           this setting.
7  
8 +config MTD_BCM47XX
9 +       tristate "BCM47xx flash device"
10 +       depends on MIPS && MTD_CFI && BCM47XX
11 +       help
12 +         Support for the flash chips on the BCM947xx board.
13 +
14  config MTD_REDWOOD
15         tristate "CFI Flash devices mapped on IBM Redwood"
16         depends on MTD_CFI && ( REDWOOD_4 || REDWOOD_5 || REDWOOD_6 )
17 diff --git a/drivers/mtd/maps/Makefile b/drivers/mtd/maps/Makefile
18 --- a/drivers/mtd/maps/Makefile
19 +++ b/drivers/mtd/maps/Makefile
20 @@ -29,6 +29,7 @@ obj-$(CONFIG_MTD_PMC_MSP_RAMROOT)+= pmcmsp-ramroot.o
21  obj-$(CONFIG_MTD_PCMCIA)       += pcmciamtd.o
22  obj-$(CONFIG_MTD_RPXLITE)      += rpxlite.o
23  obj-$(CONFIG_MTD_TQM8XXL)      += tqm8xxl.o
24 +obj-$(CONFIG_MTD_BCM47XX)      += bcm47xx-flash.o
25  obj-$(CONFIG_MTD_SA1100)       += sa1100-flash.o
26  obj-$(CONFIG_MTD_IPAQ)         += ipaq-flash.o
27  obj-$(CONFIG_MTD_SBC_GXX)      += sbc_gxx.o