aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-07-03 23:22:08 +0200
committerDaniel Golle <daniel@makrotopia.org>2019-07-10 17:36:29 +0200
commit2f2a319f82ec86e2008fd056987d74189d5c147b (patch)
tree5f4109a93189e3c5374782287c6e8c34f1d79b78 /target/linux/ramips/base-files/lib/upgrade/platform.sh
parent9f990001653a0c45a17f15c1ed67ab91fa6aa91b (diff)
downloadupstream-2f2a319f82ec86e2008fd056987d74189d5c147b.tar.gz
upstream-2f2a319f82ec86e2008fd056987d74189d5c147b.tar.bz2
upstream-2f2a319f82ec86e2008fd056987d74189d5c147b.zip
ramips/mt7621: Synchronize Makefiles with DTS compatible
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 65522b23fd..c71ffc0321 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -25,8 +25,8 @@ platform_nand_pre_upgrade() {
local board=$(board_name)
case "$board" in
- ubnt-erx|\
- ubnt-erx-sfp)
+ ubiquiti,edgerouterx|\
+ ubiquiti,edgerouterx-sfp)
platform_upgrade_ubnt_erx "$ARGV"
;;
esac
@@ -36,11 +36,11 @@ platform_do_upgrade() {
local board=$(board_name)
case "$board" in
- hc5962|\
- r6220|\
+ hiwifi,hc5962|\
+ netgear,r6220|\
netgear,r6350|\
- ubnt-erx|\
- ubnt-erx-sfp|\
+ ubiquiti,edgerouterx|\
+ ubiquiti,edgerouterx-sfp|\
xiaomi,mir3g|\
xiaomi,mir3p)
nand_do_upgrade "$ARGV"