adm5120: add experimental 3.14 kernel support
[openwrt/svn-archive/archive.git] / target / linux / adm5120 / patches-3.14 / 103-mtd_trxsplit.patch
1 --- a/drivers/mtd/Kconfig
2 +++ b/drivers/mtd/Kconfig
3 @@ -60,6 +60,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 @@ -16,6 +16,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_BLKDEVS) += mtd_blkdevs.o