diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2014-12-15 09:10:43 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2014-12-15 09:10:43 +0000 |
commit | fbea00b031eb2d2ff4a9d424d844e1d59e21ca8d (patch) | |
tree | 3d2d31a4e504e8ebdbbbe78a868a4a10634d9442 /target/linux/ramips/patches-3.14/0100-mtd-split-remove-padding.patch | |
parent | b5b4bdc066e047a2160bc4de7a0d952970153556 (diff) | |
download | mtk-20170518-fbea00b031eb2d2ff4a9d424d844e1d59e21ca8d.zip mtk-20170518-fbea00b031eb2d2ff4a9d424d844e1d59e21ca8d.tar.gz mtk-20170518-fbea00b031eb2d2ff4a9d424d844e1d59e21ca8d.tar.bz2 |
ramips: update mtd patches to apply after changes from r43700
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43709
Diffstat (limited to 'target/linux/ramips/patches-3.14/0100-mtd-split-remove-padding.patch')
-rw-r--r-- | target/linux/ramips/patches-3.14/0100-mtd-split-remove-padding.patch | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/target/linux/ramips/patches-3.14/0100-mtd-split-remove-padding.patch b/target/linux/ramips/patches-3.14/0100-mtd-split-remove-padding.patch index 4d1a4ce..be4522c 100644 --- a/target/linux/ramips/patches-3.14/0100-mtd-split-remove-padding.patch +++ b/target/linux/ramips/patches-3.14/0100-mtd-split-remove-padding.patch @@ -1,13 +1,12 @@ --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c -@@ -808,10 +808,6 @@ static void split_uimage(struct mtd_info +@@ -808,9 +808,6 @@ static void split_uimage(struct mtd_info return; len = be32_to_cpu(hdr.size) + 0x40; - len = mtd_pad_erasesize(master, part->offset, len); - if (len + master->erasesize > part->mtd.size) - return; -- - __mtd_add_partition(master, "rootfs", part->offset + len, - part->mtd.size - len, false); - } + + if (config_enabled(CONFIG_MTD_SPLIT_UIMAGE_FW)) + pr_err("Dedicated partitioner didn't split firmware partition, please fill a bug report!\n"); |