aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network4
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh8
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
4 files changed, 3 insertions, 13 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index e1c4bc2136..0cbc4eb5b1 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -49,7 +49,6 @@ ramips_setup_interfaces()
dcs-930l-b1|\
ht-tm02|\
linkits7688 | \
- linkits7688d | \
m2m|\
microwrt|\
mpr-a2|\
@@ -425,8 +424,7 @@ ramips_setup_macs()
kng_rc)
wan_mac=$(mtd_get_mac_binary factory 40)
;;
- linkits7688 | \
- linkits7688d)
+ linkits7688)
wan_mac=$(mtd_get_mac_binary factory 4)
lan_mac=$(mtd_get_mac_binary factory 46)
;;
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 50cc44058f..e649c7ef49 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -170,8 +170,7 @@ get_status_led() {
miwifi-nano)
status_led="$board:blue:status"
;;
- linkits7688| \
- linkits7688d)
+ linkits7688)
[ "$1" = "upgrade" ] && status_led="mediatek:orange:wifi"
;;
m2m)
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index bf19a4c570..a08f233170 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -278,13 +278,7 @@ ramips_board_detect() {
name="m4-8M"
;;
*"MediaTek LinkIt Smart 7688")
- linkit="$(dd bs=1 skip=1024 count=12 if=/dev/mtd2 2> /dev/null)"
- if [ "${linkit}" = "LINKITS7688D" ]; then
- name="linkits7688d"
- RAMIPS_MODEL="${machine} DUO"
- else
- name="linkits7688"
- fi
+ name="linkits7688"
;;
*"Memory 2 Move")
name="m2m"
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 3181da2ca2..2d4a13f531 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -81,7 +81,6 @@ platform_check_image() {
kn_rf|\
kng_rc|\
linkits7688|\
- linkits7688d|\
m2m|\
m3|\
m4-4M|\