Skip to content
Snippets Groups Projects
user avatar
Rafał Miłecki authored
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>
d9593b08
History