c623bc42e4d59b85cb90b6108e242ab0dd92684f
[openwrt/svn-archive/archive.git] / target / linux / adm5120 / patches-2.6.22 / 103-mtd_trxsplit.patch
1 Index: linux-2.6.22.4/drivers/mtd/Kconfig
2 ===================================================================
3 --- linux-2.6.22.4.orig/drivers/mtd/Kconfig
4 +++ linux-2.6.22.4/drivers/mtd/Kconfig
5 @@ -57,6 +57,11 @@ config MTD_ROOTFS_SPLIT
6 depends on MTD_PARTITIONS
7 default y
8
9 +config MTD_TRXSPLIT
10 + bool "Automatically find and split TRX partitions"
11 + depends on MTD_PARTITIONS
12 + default n
13 +
14 config MTD_REDBOOT_PARTS
15 tristate "RedBoot partition table parsing"
16 depends on MTD_PARTITIONS
17 Index: linux-2.6.22.4/drivers/mtd/Makefile
18 ===================================================================
19 --- linux-2.6.22.4.orig/drivers/mtd/Makefile
20 +++ linux-2.6.22.4/drivers/mtd/Makefile
21 @@ -8,6 +8,7 @@ mtd-$(CONFIG_MTD_PARTITIONS) += mtdpart.
22 obj-$(CONFIG_MTD) += $(mtd-y)
23
24 obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o
25 +obj-$(CONFIG_MTD_TRXSPLIT) += trxsplit.o
26 obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
27 obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
28 obj-$(CONFIG_MTD_AFS_PARTS) += afs.o