aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.0/210-mtd_uimage_split.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/patches-3.0/210-mtd_uimage_split.patch')
-rw-r--r--target/linux/lantiq/patches-3.0/210-mtd_uimage_split.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/lantiq/patches-3.0/210-mtd_uimage_split.patch b/target/linux/lantiq/patches-3.0/210-mtd_uimage_split.patch
index 16173a3d27..6c6a45ac04 100644
--- a/target/linux/lantiq/patches-3.0/210-mtd_uimage_split.patch
+++ b/target/linux/lantiq/patches-3.0/210-mtd_uimage_split.patch
@@ -1,7 +1,7 @@
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
-@@ -57,6 +57,10 @@ config MTD_ROOTFS_SPLIT
- depends on MTD_PARTITIONS
+@@ -41,6 +41,10 @@ config MTD_ROOTFS_SPLIT
+ bool "Automatically split 'rootfs' partition for squashfs"
default y
+config MTD_UIMAGE_SPLIT
@@ -13,7 +13,7 @@
---help---
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
-@@ -860,6 +860,82 @@ static int refresh_rootfs_split(struct m
+@@ -861,6 +861,82 @@ static int refresh_rootfs_split(struct m
}
#endif /* CONFIG_MTD_ROOTFS_SPLIT */
@@ -96,7 +96,7 @@
/*
* This function, given a master MTD object and a partition table, creates
* and registers slave MTD objects which are bound to the master according to
-@@ -893,6 +969,17 @@ int add_mtd_partitions(struct mtd_info *
+@@ -894,6 +970,17 @@ int add_mtd_partitions(struct mtd_info *
add_mtd_device(&slave->mtd);