Use -Os for rdc and -O2 for the x86 target
[openwrt-10.03/.git] / target / linux / brcm47xx-2.6 / patches / 110-flash_map.patch
1 diff -urN linux.old/drivers/mtd/maps/Kconfig linux.dev/drivers/mtd/maps/Kconfig
2 --- linux.old/drivers/mtd/maps/Kconfig  2006-12-11 20:32:53.000000000 +0100
3 +++ linux.dev/drivers/mtd/maps/Kconfig  2007-01-03 02:26:02.000000000 +0100
4 @@ -326,6 +326,12 @@
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 && BCM947XX
11 +       help
12 +         Support for the flash chips on the BCM947xx board.
13 +         
14  config MTD_BEECH
15         tristate "CFI Flash device mapped on IBM 405LP Beech"
16         depends on MTD_CFI && BEECH
17 diff -urN linux.old/drivers/mtd/maps/Makefile linux.dev/drivers/mtd/maps/Makefile
18 --- linux.old/drivers/mtd/maps/Makefile 2006-12-11 20:32:53.000000000 +0100
19 +++ linux.dev/drivers/mtd/maps/Makefile 2007-01-03 02:26:02.000000000 +0100
20 @@ -31,6 +31,7 @@
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
28