diff options
author | John Crispin <john@openwrt.org> | 2013-04-25 19:03:01 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-04-25 19:03:01 +0000 |
commit | cf3885eb0f276f3d0a12aeeff3445799b59fbb23 (patch) | |
tree | 257257f55ccc93c29cd6d68abb1cc3a225c52579 /target/linux/ramips/base-files/lib | |
parent | 978567a89e3a1460f0fc1e9d39c7b70548de6629 (diff) | |
download | upstream-cf3885eb0f276f3d0a12aeeff3445799b59fbb23.tar.gz upstream-cf3885eb0f276f3d0a12aeeff3445799b59fbb23.tar.bz2 upstream-cf3885eb0f276f3d0a12aeeff3445799b59fbb23.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>
SVN-Revision: 36435
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r-- | target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 1 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 9 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 |
3 files changed, 8 insertions, 3 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac index 7becaf7ad9..022f72e240 100644 --- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac +++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac @@ -53,6 +53,7 @@ preinit_set_mac_address() { all0239-3g |\ all0256n |\ all5002 |\ + all5003 |\ carambola |\ dir-615-h1 |\ fonera20n |\ 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 diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 15c0007a04..b2fa0bd957 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -22,6 +22,7 @@ platform_check_image() { all0239-3g | \ all0256n | \ all5002 | \ + all5003 | \ asl26555 | \ bc2 | \ broadway | \ |