openwrtv3/target/linux/generic
Rafał Miłecki f98fde2db4 Revert "kernel: use add_mtd_partitions() helper when using OpenWrt parsers"
This reverts commit 7e88753ace.

Using subpartitions (hierarchical layout) resulted in calling MTD ops of
parent partition instead of master device ops. That was expected and
should work but testing revealed some bugs.

Apparently the way MTD_ERASE_PARTIAL is implemented in the OpenWrt
breaks something and using parent partition ops triggers using that
code.

On SmartRG SR400ac it was resulting in:
[  225.487519] jffs2: Erase at 0x01ac0000 failed immediately: errno -22
on the second boot (for some reason erasing was starting over) and it
was breaking flash access in a long term.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2018-12-03 15:50:26 +01:00
..
backport-4.9 kernel: bump 4.9 to 4.9.137 2018-11-14 16:27:43 +01:00
backport-4.14 kernel: backport 2 mtd partitioning fixes 2018-12-03 10:34:12 +01:00
files kernel: add DT binding support to the jimage parser 2018-11-30 00:22:04 +01:00
hack-4.9 kernel: bump 4.9 to 4.9.134 2018-10-19 10:01:57 +02:00
hack-4.14 kernel: bump 4.14 to 4.14.81 2018-11-14 16:27:43 +01:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files kernel: move initramfs's init script out of base-files 2017-04-04 14:06:40 +02:00
pending-3.18 kernel: bump 3.18 to 3.18.126 2018-11-22 12:40:19 +01:00
pending-4.9 kernel: drop unused arch_split_mtd_part() 2018-11-24 12:24:02 +01:00
pending-4.14 Revert "kernel: use add_mtd_partitions() helper when using OpenWrt parsers" 2018-12-03 15:50:26 +01:00
config-3.18 kernel: enable memory compaction 2018-10-09 14:29:55 +02:00
config-4.9 kernel: enable CONFIG_BRIDGE_VLAN_FILTERING 2018-11-25 15:24:49 +01:00
config-4.14 kernel: enable CONFIG_BRIDGE_VLAN_FILTERING 2018-11-25 15:24:49 +01:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00