You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
430 B
12 lines
430 B
--- a/drivers/mtd/mtdpart.c
|
|
+++ b/drivers/mtd/mtdpart.c
|
|
@@ -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;
|
|
|
|
if (config_enabled(CONFIG_MTD_SPLIT_UIMAGE_FW))
|
|
pr_err("Dedicated partitioner didn't split firmware partition, please fill a bug report!\n");
|
|
|