Skip to content
Snippets Groups Projects
Commit d9593b08 authored by Rafał Miłecki's avatar Rafał Miłecki
Browse files

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: default avatarRafał Miłecki <rafal@milecki.pl>
parent 20452a8d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment