summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-24 18:45:56 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-24 18:45:56 +0000
commita7bf55a7125e16314842e07408ca20800baa1c94 (patch)
tree5ef201d905dfe582e7701a7cb8da47b212efeac4 /target/linux/ar71xx/base-files/lib
parent639abfa638b7d49bf87f6f97c3a4ce4ce98d5c83 (diff)
ar71xx: use different machtype and setup for the TL-MR3040
Should fix #12211. Compile tested only. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33535 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 032988e5e..3ba23b787 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -327,6 +327,9 @@ ar71xx_board_detect() {
*TL-MR3020)
name="tl-mr3020"
;;
+ *TL-MR3040)
+ name="tl-mr3040"
+ ;;
*TL-MR3220)
name="tl-mr3220"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 02e391619..9f4ce2cb8 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -137,6 +137,7 @@ platform_check_image() {
;;
tl-mr11u | \
tl-mr3020 | \
+ tl-mr3040 | \
tl-mr3220 | \
tl-mr3420 | \
tl-wa901nd | \