openwrt/target/linux/ramips/base-files/lib/upgrade
Rafał Miłecki d9593b0809 ramips: 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:03:42 +02:00
..
platform.sh ramips: get rid of platform_pre_upgrade() 2019-07-16 19:03:42 +02:00
ubnt.sh ramips: add support for Ubiquiti EdgeRouter X (UBNT-ERX) 2015-12-12 07:38:06 +00:00