summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-22 12:33:22 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-22 12:33:22 +0000
commit5a694e09c8559cc257e5252cf2ca4af153215e30 (patch)
treeb2e24362c1a8693926f0cd597050e857a945daa3 /target/linux/ar71xx/base-files/lib
parentd77418d67e222d0cf4866f6e76e0d4b5dff6e651 (diff)
downloadmtk-20170518-5a694e09c8559cc257e5252cf2ca4af153215e30.zip
mtk-20170518-5a694e09c8559cc257e5252cf2ca4af153215e30.tar.gz
mtk-20170518-5a694e09c8559cc257e5252cf2ca4af153215e30.tar.bz2
ar71xx: add ALL0305 board alias
For the pure convenience of having a correctly named image and system name in /proc/cpuinfo , until we can do that by having system names in DTS... Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 33224
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.sh2
2 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 23d34a3..bb92b96 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -159,6 +159,9 @@ ar71xx_board_detect() {
*ALL0258N)
name="all0258n"
;;
+ *ALL0305)
+ name="all0305"
+ ;;
*AP113)
name="ap113"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index fb5fe73..f1c0164 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -189,6 +189,7 @@ platform_check_image() {
ls-sr71 | \
pb42 | \
pb44 | \
+ all0305 | \
eap7660d | \
ja76pf | \
ja76pf2)
@@ -221,6 +222,7 @@ platform_do_upgrade() {
routerstation | \
routerstation-pro | \
ls-sr71 | \
+ all0305 | \
eap7660d | \
pb42 | \
pb44 | \