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