ramips: drop LinkIt Smart 7688 Duo userspace support

The  LinkIt Smart 7688/LinkIt Smart 7688 Duo are identical beside the
extra ATmega32U4 - accessible via UART - on the the Duo.

Since all relevant hardware is identical, drop the Duo special handling
in userspace.

Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Mathias Kresin 2017-11-16 22:58:23 +01:00
parent 8e03eea875
commit 224d4a96dd
5 changed files with 3 additions and 14 deletions

View file

@ -20,7 +20,6 @@ all5002)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000" ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000"
;; ;;
linkits7688|\ linkits7688|\
linkits7688d|\
miwifi-nano|\ miwifi-nano|\
sk-wb8|\ sk-wb8|\
wsr-1166|\ wsr-1166|\

View file

@ -49,7 +49,6 @@ ramips_setup_interfaces()
dcs-930l-b1|\ dcs-930l-b1|\
ht-tm02|\ ht-tm02|\
linkits7688 | \ linkits7688 | \
linkits7688d | \
m2m|\ m2m|\
microwrt|\ microwrt|\
mpr-a2|\ mpr-a2|\
@ -425,8 +424,7 @@ ramips_setup_macs()
kng_rc) kng_rc)
wan_mac=$(mtd_get_mac_binary factory 40) wan_mac=$(mtd_get_mac_binary factory 40)
;; ;;
linkits7688 | \ linkits7688)
linkits7688d)
wan_mac=$(mtd_get_mac_binary factory 4) wan_mac=$(mtd_get_mac_binary factory 4)
lan_mac=$(mtd_get_mac_binary factory 46) lan_mac=$(mtd_get_mac_binary factory 46)
;; ;;

View file

@ -170,8 +170,7 @@ get_status_led() {
miwifi-nano) miwifi-nano)
status_led="$board:blue:status" status_led="$board:blue:status"
;; ;;
linkits7688| \ linkits7688)
linkits7688d)
[ "$1" = "upgrade" ] && status_led="mediatek:orange:wifi" [ "$1" = "upgrade" ] && status_led="mediatek:orange:wifi"
;; ;;
m2m) m2m)

View file

@ -278,13 +278,7 @@ ramips_board_detect() {
name="m4-8M" name="m4-8M"
;; ;;
*"MediaTek LinkIt Smart 7688") *"MediaTek LinkIt Smart 7688")
linkit="$(dd bs=1 skip=1024 count=12 if=/dev/mtd2 2> /dev/null)" name="linkits7688"
if [ "${linkit}" = "LINKITS7688D" ]; then
name="linkits7688d"
RAMIPS_MODEL="${machine} DUO"
else
name="linkits7688"
fi
;; ;;
*"Memory 2 Move") *"Memory 2 Move")
name="m2m" name="m2m"

View file

@ -81,7 +81,6 @@ platform_check_image() {
kn_rf|\ kn_rf|\
kng_rc|\ kng_rc|\
linkits7688|\ linkits7688|\
linkits7688d|\
m2m|\ m2m|\
m3|\ m3|\
m4-4M|\ m4-4M|\