-
- Downloads
treewide: sysupgrade: get rid of platform_nand_pre_upgrade()
1) nand_do_upgrade() is always called by a target code
2) nand_do_upgrade() starts with calling platform_nand_pre_upgrade()
It means there is no need for the platform_nand_pre_upgrade() callback
at all. All code that was present there could bo moved & simplly called
by a target right before the nand_do_upgrade().
Signed-off-by:
Rafał Miłecki <rafal@milecki.pl>
Showing
- target/linux/ar71xx/base-files/lib/upgrade/platform.sh 38 additions, 35 deletionstarget/linux/ar71xx/base-files/lib/upgrade/platform.sh
- target/linux/ipq40xx/base-files/lib/upgrade/platform.sh 11 additions, 23 deletionstarget/linux/ipq40xx/base-files/lib/upgrade/platform.sh
- target/linux/ipq806x/base-files/lib/upgrade/platform.sh 4 additions, 10 deletionstarget/linux/ipq806x/base-files/lib/upgrade/platform.sh
- target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh 2 additions, 0 deletionstarget/linux/ipq806x/base-files/lib/upgrade/zyxel.sh
- target/linux/pistachio/base-files/lib/upgrade/platform.sh 2 additions, 3 deletionstarget/linux/pistachio/base-files/lib/upgrade/platform.sh
- target/linux/ramips/base-files/lib/upgrade/platform.sh 4 additions, 13 deletionstarget/linux/ramips/base-files/lib/upgrade/platform.sh
- target/linux/ramips/base-files/lib/upgrade/ubnt.sh 2 additions, 0 deletionstarget/linux/ramips/base-files/lib/upgrade/ubnt.sh
- target/linux/rb532/base-files/lib/upgrade/platform.sh 1 addition, 4 deletionstarget/linux/rb532/base-files/lib/upgrade/platform.sh
Loading
Please register or sign in to comment