[adm5120] prepare for 2.6.23
[openwrt-10.03/.git] / target / linux / adm5120 / patches-2.6.23 / 103-mtd_trxsplit.patch
1 Index: linux-2.6.23/drivers/mtd/Kconfig
2 ===================================================================
3 --- linux-2.6.23.orig/drivers/mtd/Kconfig
4 +++ linux-2.6.23/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.23/drivers/mtd/Makefile
18 ===================================================================
19 --- linux-2.6.23.orig/drivers/mtd/Makefile
20 +++ linux-2.6.23/drivers/mtd/Makefile
21 @@ -8,6 +8,7 @@ mtd-y                           := mtdcore.o mtdsuper.o
22  mtd-$(CONFIG_MTD_PARTITIONS)   += mtdpart.o
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