summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/lib/ramips.sh
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-04-25 19:03:01 +0000
committerJohn Crispin <john@openwrt.org>2013-04-25 19:03:01 +0000
commitcf3885eb0f276f3d0a12aeeff3445799b59fbb23 (patch)
tree257257f55ccc93c29cd6d68abb1cc3a225c52579 /target/linux/ramips/base-files/lib/ramips.sh
parent978567a89e3a1460f0fc1e9d39c7b70548de6629 (diff)
downloadmtk-20170518-cf3885eb0f276f3d0a12aeeff3445799b59fbb23.zip
mtk-20170518-cf3885eb0f276f3d0a12aeeff3445799b59fbb23.tar.gz
mtk-20170518-cf3885eb0f276f3d0a12aeeff3445799b59fbb23.tar.bz2
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> SVN-Revision: 36435
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 c1355bc..99bdbdd 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