projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mediatek: mt7622: add support for ELECOM WRC-X3200GST3
[openwrt/openwrt.git]
/
target
/
linux
/
mediatek
/
mt7622
/
base-files
/
lib
/
upgrade
/
platform.sh
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 f54665dfa15b685940aa770d5660ac55fb03bb41..1036793145df4abc86580d16abcad527bb0f5e9f 100755
(executable)
--- a/
target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh
@@
-32,6
+32,12
@@
platform_do_upgrade() {
nand_do_upgrade "$1"
fi
;;
nand_do_upgrade "$1"
fi
;;
+ elecom,wrc-x3200gst3|\
+ mediatek,mt7622-rfb1-ubi|\
+ totolink,a8000ru|\
+ xiaomi,redmi-router-ax6s)
+ nand_do_upgrade "$1"
+ ;;
linksys,e8450-ubi)
CI_KERNPART="fit"
nand_do_upgrade "$1"
linksys,e8450-ubi)
CI_KERNPART="fit"
nand_do_upgrade "$1"
@@
-44,11
+50,6
@@
platform_do_upgrade() {
fi
default_do_upgrade "$1"
;;
fi
default_do_upgrade "$1"
;;
- mediatek,mt7622-rfb1-ubi|\
- totolink,a8000ru|\
- xiaomi,redmi-router-ax6s)
- nand_do_upgrade "$1"
- ;;
*)
default_do_upgrade "$1"
;;
*)
default_do_upgrade "$1"
;;
@@
-67,6
+68,7
@@
platform_check_image() {
buffalo,wsr-2533dhp2)
buffalo_check_image "$board" "$magic" "$1" || return 1
;;
buffalo,wsr-2533dhp2)
buffalo_check_image "$board" "$magic" "$1" || return 1
;;
+ elecom,wrc-x3200gst3|\
mediatek,mt7622-rfb1-ubi|\
totolink,a8000ru|\
xiaomi,redmi-router-ax6s)
mediatek,mt7622-rfb1-ubi|\
totolink,a8000ru|\
xiaomi,redmi-router-ax6s)