summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.0/210-mtd_uimage_split.patch
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-09-26 09:35:02 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-09-26 09:35:02 +0000
commit8ca48d1b67041a96ff65edd5c2e4ed79609aa271 (patch)
tree77835fdd2c75e4d6e577b2d74c0f065123dcb1d0 /target/linux/lantiq/patches-3.0/210-mtd_uimage_split.patch
parent764f688955ca4b2befa5aa3261d87b4aa747fe7c (diff)
[lantiq]
* rebase 3.0 patches * fold some fixes into existing patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28308 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 16173a3d2..6c6a45ac0 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);