openwrt/target/linux/ar71xx/base-files
Rafał Miłecki 20452a8db9 ar71xx: get rid of platform_pre_upgrade()
The only step between platform_pre_upgrade() and platform_do_upgrade()
is switching to ramdisk. It should be fine to "mtd erase firmware" from
the later callback and get rid of the first one.

This change wasn't tested on affected target but identical code logic
was verified to work as expected on brcm47xx with initramfs firmware.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2019-07-16 19:02:49 +02:00
..
etc ar71xx: set mib-poll-interval on devices with ar8xxx switch 2019-05-20 21:19:48 +02:00
lib ar71xx: get rid of platform_pre_upgrade() 2019-07-16 19:02:49 +02:00