aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-02-13 07:29:03 +0000
committerJohn Crispin <john@openwrt.org>2015-02-13 07:29:03 +0000
commitbd5635770c9042420c85f06bca1efb0ed3234889 (patch)
tree55b99d08c9c0a3612f0f6d58f6a278b93bc8a073 /target/linux/ar71xx/base-files/lib
parent235a83cdfe68d65a0857d82bca9089a1f39b976c (diff)
downloadupstream-bd5635770c9042420c85f06bca1efb0ed3234889.tar.gz
upstream-bd5635770c9042420c85f06bca1efb0ed3234889.tar.bz2
upstream-bd5635770c9042420c85f06bca1efb0ed3234889.zip
ar71xx: Add user-space support for TP-Link MR12U v1
This patch adds user-space support for the TL-MR12U board based on the mr13u patches. Signed-off-by: Daniel Petre <daniel.petre@gmail.com> SVN-Revision: 44426
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
2 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 99e44672fe..6247f86fb0 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -180,6 +180,9 @@ tplink_board_detect() {
"001101"*)
model="TP-Link TL-MR11U"
;;
+ "001201"*)
+ model="TP-Link TL-MR12U"
+ ;;
"001301"*)
model="TP-Link TL-MR13U"
;;
@@ -726,6 +729,9 @@ ar71xx_board_detect() {
*"TL-MR11U")
name="tl-mr11u"
;;
+ *"TL-MR12U")
+ name="tl-mr12u"
+ ;;
*"TL-MR13U")
name="tl-mr13u"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index d2a7d8e58f..f81c0ff72e 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -302,6 +302,7 @@ platform_check_image() {
smart-300 | \
tl-mr10u | \
tl-mr11u | \
+ tl-mr12u | \
tl-mr13u | \
tl-mr3020 | \
tl-mr3040 | \