mediatek: platform.sh: remove unused mtk_mmc_do_upgrade

This commit is contained in:
hanwckf 2023-11-21 22:25:31 +08:00
parent 850894a6e6
commit ea37177e3a
2 changed files with 4 additions and 8 deletions

View File

@ -208,14 +208,12 @@ platform_do_upgrade() {
*snand*)
nand_do_upgrade "$1"
;;
cmcc,rax3000m-emmc)
cmcc,rax3000m-emmc |\
*emmc*)
CI_KERNPART="kernel"
CI_ROOTPART="rootfs"
emmc_do_upgrade "$1"
;;
*emmc*)
mtk_mmc_do_upgrade "$1"
;;
xiaomi,mi-router-ax3000t-stock|\
xiaomi,mi-router-wr30u-stock)
xiaomi_mt7981_nand_upgrade_tar "$1"

View File

@ -152,11 +152,9 @@ platform_do_upgrade() {
*snand*)
nand_do_upgrade "$1"
;;
*emmc*)
mtk_mmc_do_upgrade "$1"
;;
bananapi,bpi-r3mini-emmc |\
glinet,gl-mt6000)
glinet,gl-mt6000 |\
*emmc*)
CI_KERNPART="kernel"
CI_ROOTPART="rootfs"
emmc_do_upgrade "$1"