aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-04-09 10:26:41 +0000
committerJohn Crispin <john@openwrt.org>2016-04-09 10:26:41 +0000
commitd9799dea89ea1da5bbc0c9146a2e1ae5e54bd742 (patch)
tree4f4dfd04930430d21ffbf225dd53a8dc2c0017c0 /target/linux/ar71xx/base-files/lib
parent2cba297ea064df58259f2b4dafbcdd05291d38b5 (diff)
downloadupstream-d9799dea89ea1da5bbc0c9146a2e1ae5e54bd742.tar.gz
upstream-d9799dea89ea1da5bbc0c9146a2e1ae5e54bd742.tar.bz2
upstream-d9799dea89ea1da5bbc0c9146a2e1ae5e54bd742.zip
ar71xx: add support for Compex WPJ342
OpenWrt can be flashed with following uboot commands: tftpboot 0x80500000 openwrt-ar71xx-generic-wpj342-16M-squashfs-sysupgrade.bin erase 0x9f030000 +$filesize cp.b $fileaddr 0x9f030000 $filesize Signed-off-by: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 49157
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 9c19e23e4d..b3eda6c469 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -967,6 +967,9 @@ ar71xx_board_detect() {
*WPE72)
name="wpe72"
;;
+ *WPJ342)
+ name="wpj342"
+ ;;
*WPJ344)
name="wpj344"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 2d61638bf7..86375a9acc 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -255,6 +255,7 @@ platform_check_image() {
rw2458n | \
wpj531 | \
wndap360 | \
+ wpj342 | \
wpj344 | \
wzr-hp-g300nh2 | \
wzr-hp-g300nh | \