diff options
Diffstat (limited to 'target/linux/mediatek/base-files/lib')
-rwxr-xr-x | target/linux/mediatek/base-files/lib/upgrade/platform.sh | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/target/linux/mediatek/base-files/lib/upgrade/platform.sh b/target/linux/mediatek/base-files/lib/upgrade/platform.sh index 7161a4b84e..3f3c5a021c 100755 --- a/target/linux/mediatek/base-files/lib/upgrade/platform.sh +++ b/target/linux/mediatek/base-files/lib/upgrade/platform.sh @@ -20,13 +20,8 @@ platform_check_image() { local board=$(board_name) case "$board" in - mediatek,mt7623-rfb-nand-ephy |\ - mediatek,mt7623-rfb-nand) - nand_do_platform_check $board $1 - return $? - ;; bananapi,bpi-r2 |\ - mediatek,mt7623-rfb-emmc) + mediatek,mt7623a-rfb-emmc) local kernel_length=`(tar xf $tar_file sysupgrade-$board/kernel -O | wc -c) 2> /dev/null` local rootfs_length=`(tar xf $tar_file sysupgrade-$board/root -O | wc -c) 2> /dev/null` ;; @@ -44,12 +39,3 @@ platform_check_image() { return 0 } - -platform_pre_upgrade() { - case "$(board_name)" in - mediatek,mt7623-rfb-nand-ephy |\ - mediatek,mt7623-rfb-nand) - nand_do_upgrade $1 - ;; - esac -} |