aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-12-14 20:54:10 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-12-14 20:54:10 +0000
commitb9c5cb5c9a4736b6342e98e7af13f52f20438f27 (patch)
tree2d2749b8aca76cfce06251644217dd5ff62486c6 /target/linux/ar71xx/base-files/lib
parent66c8cc0f6db70625de5da0f5d62b9771af014deb (diff)
downloadupstream-b9c5cb5c9a4736b6342e98e7af13f52f20438f27.tar.gz
upstream-b9c5cb5c9a4736b6342e98e7af13f52f20438f27.tar.bz2
upstream-b9c5cb5c9a4736b6342e98e7af13f52f20438f27.zip
ar71xx: add support for ALFA Network's Hornet-UB board
SVN-Revision: 29535
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 c8a202e6fd..83cad364b1 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -163,6 +163,9 @@ ar71xx_board_detect() {
*JWAP003)
name="jwap003"
;;
+ *"Hornet-UB")
+ name="hornet-ub"
+ ;;
*LS-SR71)
name="ls-sr71"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index d2780a50a1..2800b05dfa 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -81,6 +81,7 @@ platform_check_image() {
ap121-mini | \
ap96 | \
db120 | \
+ hornet-ub | \
zcn-1523h-2 | \
zcn-1523h-5)
[ "$magic_long" != "68737173" -a "$magic_long" != "19852003" ] && {