aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorDaniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>2018-08-06 10:52:28 -0700
committerMathias Kresin <dev@kresin.me>2018-08-13 08:37:19 +0200
commit1d3ea7874df420ab8d3acbddf5ec9251bf79ed9b (patch)
tree5c3e276dc3dcb7872ace31c5fc8405f991c87c52 /target/linux/ramips/base-files/lib
parent5543d63fc84e64be83afaa4241369a07797f041b (diff)
downloadupstream-1d3ea7874df420ab8d3acbddf5ec9251bf79ed9b.tar.gz
upstream-1d3ea7874df420ab8d3acbddf5ec9251bf79ed9b.tar.bz2
upstream-1d3ea7874df420ab8d3acbddf5ec9251bf79ed9b.zip
ramips: fix BR-6478ACv2 support
The wholesale changes introduced in commit f9b8328 missed this DTS file because it hadn't been merged yet. This patch brings it in line to match the other mt7620a devices' DTS files. Additionally, the Internet LED is now labeled correctly and set to unused by default, since the WAN interface is not known in every configuration. Using sysupgrade between images before and after this commit will require the -F flag. Tested-by: Rohan Murch <rohan.murch@gmail.com> Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> [drop internet led default setting] Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh2
2 files changed, 1 insertions, 4 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 986fbdc527..5741cbd2ee 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -82,9 +82,6 @@ ramips_board_detect() {
*"BR-6475nD")
name="br-6475nd"
;;
- *"BR-6478AC v2")
- name="br-6478ac-v2"
- ;;
*"Broadway")
name="broadway"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 51691e30fb..a46925a43b 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -241,7 +241,7 @@ platform_check_image() {
3g-6200n|\
3g-6200nl|\
br-6475nd|\
- br-6478ac-v2)
+ edimax,br-6478ac-v2)
[ "$magic" != "43535953" ] && {
echo "Invalid image type."
return 1