aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/ramips.sh
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-04-25 19:03:01 +0000
committerJohn Crispin <blogic@openwrt.org>2013-04-25 19:03:01 +0000
commitecff443b65c881f93dee8ef643b70881535e88f2 (patch)
treee34d1665badfb0f41b2dfba58f7aecae60e0312c /target/linux/ramips/base-files/lib/ramips.sh
parente5adedfdd5b5381097ec8a22f14616749dfe8f70 (diff)
downloadmaster-187ad058-ecff443b65c881f93dee8ef643b70881535e88f2.tar.gz
master-187ad058-ecff443b65c881f93dee8ef643b70881535e88f2.tar.bz2
master-187ad058-ecff443b65c881f93dee8ef643b70881535e88f2.zip
ramips: introduce DTS for ALL5003
Prior to the switch to 3.8, ALL5002 and ALL5003 boards shared mach-all5002.c. With the change to DTS, this is no longer accurate, as ALL5002 is based on Rt3352 SoC while ALL5003 is based on Rt5350 SoC, therefore the corresponding rt5350.dtsi need to be included for ALL5003. Signed-off-by: Daniel Golle <dgolle@allnet.de> Patchwork: http://patchwork.openwrt.org/patch/3557/ Acked-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36435 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib/ramips.sh')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index c1355bcadc..99bdbdd80e 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -48,9 +48,12 @@ ramips_board_detect() {
*"Allnet ALL0256N")
name="all0256n"
;;
- *"Allnet ALL5002/ALL5003")
+ *"Allnet ALL5002")
name="all5002"
;;
+ *"Allnet ALL5003")
+ name="all5003"
+ ;;
*"ARC FreeStation5")
name="freestation5"
;;
@@ -212,7 +215,7 @@ ramips_board_detect() {
;;
*"UR-326N4G Wireless N router")
name="ur-326n4g"
- ;;
+ ;;
*"UR-336UN Wireless N router")
name="ur-336un"
;;
@@ -228,7 +231,7 @@ ramips_board_detect() {
esac
case "$machine" in
- *"Allnet ALL5002/ALL5003")
+ *"Allnet ALL500"[23]*)
all500x_board_detect
;;
esac