aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/mt7622
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mediatek/mt7622')
-rwxr-xr-xtarget/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh6
1 files changed, 6 insertions, 0 deletions
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."