adm5120: add support for 3.7
[openwrt.git] / target / linux / adm5120 / patches-3.7 / 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 @@ -14,6 +14,7 @@ obj-$(CONFIG_MTD_AR7_PARTS)   += ar7part.o
17  obj-$(CONFIG_MTD_BCM63XX_PARTS)        += bcm63xxpart.o
18  obj-$(CONFIG_MTD_BCM47XX_PARTS)        += bcm47xxpart.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