summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-12-27 16:56:30 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-12-27 16:56:30 +0000
commit66769bfe506292ee30f93b823631cbc8757adf01 (patch)
tree0cb76bf5af0cb6aebeb770c9aa18169e660303f4 /target/linux/ramips/base-files/lib
parent2993f34f45db931d6dd7f5eb50ec0aa50705b97c (diff)
ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29612 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 4dc10aeb22..d197fcedca 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -107,6 +107,9 @@ ramips_board_name() {
*"Sitecom WL-351 v1 002")
name="wl-351"
;;
+ *"WLI-TX4-AG300N")
+ name="wli-tx4-ag300n"
+ ;;
*"WZR-AGL300NH")
name="wzr-agl300nh"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 03a1e7b100..aebaf3879e 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -27,6 +27,7 @@ platform_check_image() {
rt-g32-b1 | \
rt-n15 | \
v22rw-2x2 | \
+ wli-tx4-ag300n | \
whr-g300n)
[ "$magic" != "2705" ] && {
echo "Invalid image type."