6d3161c86de552f18d7fec7b4c77ee9262f15901
[openwrt.git] / target / linux / brcm47xx / patches-2.6.25 / 110-flash_map.patch
1 --- a/drivers/mtd/maps/Kconfig
2 +++ b/drivers/mtd/maps/Kconfig
3 @@ -337,6 +337,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_WALNUT
14         tristate "Flash device mapped on IBM 405GP Walnut"
15         depends on MTD_JEDECPROBE && WALNUT && !PPC_MERGE
16 --- a/drivers/mtd/maps/Makefile
17 +++ b/drivers/mtd/maps/Makefile
18 @@ -31,6 +31,7 @@ obj-$(CONFIG_MTD_PMC_MSP_RAMROOT)+= pmcm
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_IPAQ)         += ipaq-flash.o
25  obj-$(CONFIG_MTD_SBC_GXX)      += sbc_gxx.o