Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43709master
parent
b5b4bdc066
commit
fbea00b031
@ -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");
|
||||
|
Loading…
Reference in new issue