diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2019-07-12 14:05:49 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2019-07-16 19:03:42 +0200 |
commit | d9593b0809e42e9d75cc3ac4407ec30faaf70b15 (patch) | |
tree | 4f52580492a5e3458e5b785470500203a1babc82 /target/linux/layerscape/base-files | |
parent | 20452a8db9f90e5f1d0733363a488be522cd5c0f (diff) | |
download | upstream-d9593b0809e42e9d75cc3ac4407ec30faaf70b15.tar.gz upstream-d9593b0809e42e9d75cc3ac4407ec30faaf70b15.tar.bz2 upstream-d9593b0809e42e9d75cc3ac4407ec30faaf70b15.zip |
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>
Diffstat (limited to 'target/linux/layerscape/base-files')
0 files changed, 0 insertions, 0 deletions