X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fmediatek%2Fmt7622%2Fbase-files%2Flib%2Fupgrade%2Fplatform.sh;h=0cdd8df8f99ef7981c391d6898b99b1606711b87;hb=43f0e386d4e79e9014e926d1d9b5e2ff8f1379cb;hp=cdae06e63033d4ab6814f285c725cbc0cf4dc3cb;hpb=3c23a7c03dc9821d25f3fd2a8ab17a4c460c3584;p=openwrt%2Fopenwrt.git diff --git a/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh b/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh index cdae06e630..0cdd8df8f9 100755 --- a/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh +++ b/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh @@ -54,6 +54,9 @@ platform_do_upgrade() { fi default_do_upgrade "$1" ;; + totolink,a8000ru) + nand_do_upgrade "$1" + ;; *) default_do_upgrade "$1" ;; @@ -72,6 +75,9 @@ platform_check_image() { buffalo,wsr-2533dhp2) buffalo_check_image "$board" "$magic" "$1" || return 1 ;; + totolink,a8000ru) + nand_do_platform_check "$board" "$1" + ;; *) [ "$magic" != "d00dfeed" ] && { echo "Invalid image type."