aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-08-22 20:41:49 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-08-22 20:41:49 +0000
commit72e117ec7978778fee20495b53887c227c3e1643 (patch)
treeb9b3fa46e04ba09580104b300e7ee9c497121b4b /target/linux/ramips/base-files/lib
parent4b96d3af2a004312e1ff7e52dc3df4849bf7cf8e (diff)
downloadupstream-72e117ec7978778fee20495b53887c227c3e1643.tar.gz
upstream-72e117ec7978778fee20495b53887c227c3e1643.tar.bz2
upstream-72e117ec7978778fee20495b53887c227c3e1643.zip
ramips: rt305x: add support for the ZyXEL NBG-419N board
SVN-Revision: 28078
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh2
2 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 65ebf84016..227ca821a3 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -34,6 +34,9 @@ ramips_board_name() {
*"MoFi Network MOFI3500-3GN")
name="mofi3500-3gn"
;;
+ *"NBG-419N")
+ name="nbg-419n"
+ ;;
*"NW718")
name="nw718"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index dda4a67577..58ba0f0fc6 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -14,7 +14,7 @@ platform_check_image() {
[ "$ARGC" -gt 1 ] && return 1
case "$board" in
- dir-300-b1 | dir-600-b1 | dir-600-b2 | fonera20n | nw718 | rt-g32-b1 | v22rw-2x2 | whr-g300n | hw550-3g | mofi3500-3gn)
+ dir-300-b1 | dir-600-b1 | dir-600-b2 | fonera20n | nbg-419n | nw718 | rt-g32-b1 | v22rw-2x2 | whr-g300n | hw550-3g | mofi3500-3gn)
[ "$magic" != "2705" ] && {
echo "Invalid image type."
return 1