diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-06-23 10:47:18 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2017-06-23 11:40:05 +0200 |
commit | 4d5f296af857ecbd3916d1d156d1bc63c998995a (patch) | |
tree | ac9c9dac59054e607ad4c357bb2edc01669b5937 /target/linux/generic/patches-4.9/411-mtd-partial_eraseblock_write.patch | |
parent | 8c1e760ab60994de26d2a2c85f91e86192999dfb (diff) | |
download | upstream-4d5f296af857ecbd3916d1d156d1bc63c998995a.tar.gz upstream-4d5f296af857ecbd3916d1d156d1bc63c998995a.tar.bz2 upstream-4d5f296af857ecbd3916d1d156d1bc63c998995a.zip |
kernel: backport upstream mtd support for partition parsers
In a log term it should replace our implementation. For now both can
coexist.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/generic/patches-4.9/411-mtd-partial_eraseblock_write.patch')
-rw-r--r-- | target/linux/generic/patches-4.9/411-mtd-partial_eraseblock_write.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-4.9/411-mtd-partial_eraseblock_write.patch b/target/linux/generic/patches-4.9/411-mtd-partial_eraseblock_write.patch index 0e2d4920e4..359eb5a6f8 100644 --- a/target/linux/generic/patches-4.9/411-mtd-partial_eraseblock_write.patch +++ b/target/linux/generic/patches-4.9/411-mtd-partial_eraseblock_write.patch @@ -97,7 +97,7 @@ if (instr->fail_addr != MTD_FAIL_ADDR_UNKNOWN) instr->fail_addr -= part->offset; -@@ -561,19 +630,22 @@ static struct mtd_part *allocate_partiti +@@ -590,19 +659,22 @@ static struct mtd_part *allocate_partiti remainder = do_div(tmp, wr_alignment); if ((slave->mtd.flags & MTD_WRITEABLE) && remainder) { /* Doesn't start on a boundary of major erase size */ |