02fd5e67b053baf6e4b6988759110935083ca976
[librecmc/librecmc.git] / target / linux / brcm47xx / patches-3.0 / 110-flash_map.patch
1 --- a/drivers/mtd/maps/Kconfig
2 +++ b/drivers/mtd/maps/Kconfig
3 @@ -332,6 +332,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_SOLUTIONENGINE
14         tristate "CFI Flash device mapped on Hitachi SolutionEngine"
15         depends on SUPERH && SOLUTION_ENGINE && MTD_CFI && MTD_REDBOOT_PARTS
16 --- a/drivers/mtd/maps/Makefile
17 +++ b/drivers/mtd/maps/Makefile
18 @@ -28,6 +28,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