aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-07-27 09:23:52 +0000
committerJohn Crispin <john@openwrt.org>2013-07-27 09:23:52 +0000
commit8dd30fa7758a7c47e4d56e052c41baf141fdbc56 (patch)
tree38db9c473f7b1fff0d61166a969cd53b90042af3 /target/linux/ramips/base-files/lib
parent13b7ab81cfa31845e284a2b65231f7adbcffc4ff (diff)
downloadupstream-8dd30fa7758a7c47e4d56e052c41baf141fdbc56.tar.gz
upstream-8dd30fa7758a7c47e4d56e052c41baf141fdbc56.tar.bz2
upstream-8dd30fa7758a7c47e4d56e052c41baf141fdbc56.zip
ramips: add MPR-A1 support
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37568
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
3 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
index 6f153aac46..aacec25fe3 100644
--- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
+++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
@@ -26,6 +26,7 @@ preinit_set_mac_address() {
dir-620-a1 |\
esr-9753 |\
freestation5 |\
+ mpr-a1 | \
mpr-a2 | \
nw718 |\
psr-680w |\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index cb6c10f76f..b1ecc8dfb9 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -118,6 +118,9 @@ ramips_board_detect() {
*"MoFi Network MOFI3500-3GN")
name="mofi3500-3gn"
;;
+ *"HAME MPR-A1")
+ name="mpr-a1"
+ ;;
*"HAME MPR-A2")
name="mpr-a2"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index ef2aa99690..1d867a73f5 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -45,6 +45,7 @@ platform_check_image() {
hw550-3g | \
hg255d | \
mofi3500-3gn | \
+ mpr-a1 | \
mpr-a2 | \
mzk-w300nh2 | \
nbg-419n | \