aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/ramips.sh
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-11-16 22:58:23 +0100
committerMathias Kresin <dev@kresin.me>2017-12-21 01:05:16 +0100
commit224d4a96dd403b9e23d30c185031c17aa00cbf5a (patch)
tree06e192fb5ad0d4191376f619543557851c96d8d1 /target/linux/ramips/base-files/lib/ramips.sh
parent8e03eea8750095b9f733d2637fe70ba362478c12 (diff)
downloadupstream-224d4a96dd403b9e23d30c185031c17aa00cbf5a.tar.gz
upstream-224d4a96dd403b9e23d30c185031c17aa00cbf5a.tar.bz2
upstream-224d4a96dd403b9e23d30c185031c17aa00cbf5a.zip
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>
Diffstat (limited to 'target/linux/ramips/base-files/lib/ramips.sh')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh8
1 files changed, 1 insertions, 7 deletions
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"