adm5120: preliminary 2.6.32 support (closes: #6304)
[openwrt/svn-archive/archive.git] / target / linux / adm5120 / patches-2.6.32 / 103-mtd_trxsplit.patch
1 --- a/drivers/mtd/Kconfig
2 +++ b/drivers/mtd/Kconfig
3 @@ -63,6 +63,11 @@ config MTD_ROOTFS_SPLIT
4 depends on MTD_PARTITIONS
5 default y
6
7 +config MTD_TRXSPLIT
8 + bool "Automatically find and split TRX partitions"
9 + depends on MTD_PARTITIONS
10 + default n
11 +
12 config MTD_REDBOOT_PARTS
13 tristate "RedBoot partition table parsing"
14 depends on MTD_PARTITIONS
15 --- a/drivers/mtd/Makefile
16 +++ b/drivers/mtd/Makefile
17 @@ -8,6 +8,7 @@ mtd-y := mtdcore.o mtdsuper.o mtdbdi.
18 mtd-$(CONFIG_MTD_PARTITIONS) += mtdpart.o
19
20 obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o
21 +obj-$(CONFIG_MTD_TRXSPLIT) += trxsplit.o
22 obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
23 obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
24 obj-$(CONFIG_MTD_AFS_PARTS) += afs.o