diff options
author | John Crispin <blogic@openwrt.org> | 2013-04-25 19:03:05 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-04-25 19:03:05 +0000 |
commit | 7cea5ae5de67f01a4db9528fdc6e04670ffe4ff2 (patch) | |
tree | 9d1c5aa778900ad8193a2c6fec2403a892cc3ec3 /target/linux/ramips/base-files | |
parent | ecff443b65c881f93dee8ef643b70881535e88f2 (diff) | |
download | upstream-7cea5ae5de67f01a4db9528fdc6e04670ffe4ff2.tar.gz upstream-7cea5ae5de67f01a4db9528fdc6e04670ffe4ff2.tar.bz2 upstream-7cea5ae5de67f01a4db9528fdc6e04670ffe4ff2.zip |
ramips: remove now unneeded user-space board detection
Now that ALL5002 and ALL5003 each got their own DTS and board names, remove
the now no longer needed user-space part which previously differentiated between
ALL5002 and ALL5003.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Patchwork: http://patchwork.openwrt.org/patch/3558/
Acked-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36436 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 99bdbdd80e..63af00d031 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -6,20 +6,6 @@ RAMIPS_BOARD_NAME= RAMIPS_MODEL= -all500x_board_detect() { - local systype - - systype=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /system type/ {print $2}' /proc/cpuinfo) - case "$systype" in - *"RT5350"*) - RAMIPS_MODEL="Allnet ALL5003" - ;; - *"RT3352"*) - RAMIPS_MODEL="Allnet ALL5002" - ;; - esac -} - ramips_board_detect() { local machine local name @@ -230,12 +216,6 @@ ramips_board_detect() { ;; esac - case "$machine" in - *"Allnet ALL500"[23]*) - all500x_board_detect - ;; - esac - [ -z "$RAMIPS_BOARD_NAME" ] && RAMIPS_BOARD_NAME="$name" [ -z "$RAMIPS_MODEL" ] && RAMIPS_MODEL="$machine" |