adm5120: switch to 3.6
[openwrt.git] / target / linux / adm5120 / patches-3.3 / 103-mtd_trxsplit.patch
1 --- a/drivers/mtd/Kconfig
2 +++ b/drivers/mtd/Kconfig
3 @@ -31,6 +31,10 @@ config MTD_ROOTFS_SPLIT
4         bool "Automatically split 'rootfs' partition for squashfs"
5         default y
6  
7 +config MTD_TRXSPLIT
8 +       bool "Automatically find and split TRX partitions"
9 +       default n
10 +
11  config MTD_REDBOOT_PARTS
12         tristate "RedBoot partition table parsing"
13         ---help---
14 --- a/drivers/mtd/Makefile
15 +++ b/drivers/mtd/Makefile
16 @@ -13,6 +13,7 @@ obj-$(CONFIG_MTD_AFS_PARTS)   += afs.o
17  obj-$(CONFIG_MTD_AR7_PARTS)    += ar7part.o
18  obj-$(CONFIG_MTD_BCM63XX_PARTS)        += bcm63xxpart.o
19  obj-$(CONFIG_MTD_MYLOADER_PARTS) += myloader.o
20 +obj-$(CONFIG_MTD_TRXSPLIT)     += trxsplit.o
21  
22  # 'Users' - code which presents functionality to userspace.
23  obj-$(CONFIG_MTD_CHAR)         += mtdchar.o