summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/patches-3.0/210-mtd_uimage_split.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-09-26 09:35:02 +0000
committerJohn Crispin <john@openwrt.org>2011-09-26 09:35:02 +0000
commitcf59e7255dff4020c397f375fd62f15df955f5d2 (patch)
tree2218e4171f371926b919a798d46ff949dcceac48 /target/linux/lantiq/patches-3.0/210-mtd_uimage_split.patch
parent07986230f1b5ff482a46242da6eefd1055521f7b (diff)
downloadmtk-20170518-cf59e7255dff4020c397f375fd62f15df955f5d2.zip
mtk-20170518-cf59e7255dff4020c397f375fd62f15df955f5d2.tar.gz
mtk-20170518-cf59e7255dff4020c397f375fd62f15df955f5d2.tar.bz2
* rebase 3.0 patches * fold some fixes into existing patches
SVN-Revision: 28308
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 16173a3..6c6a45a 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);