aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-08-17 05:57:41 +0000
committerJohn Crispin <blogic@openwrt.org>2015-08-17 05:57:41 +0000
commit51f7506fa167740475e51cbbf7a891f5a3e35173 (patch)
tree54ca219eccce979e6e0be53b350163058bd3a5fe /target/linux/ramips/base-files
parente3765c118a2ea6a6ba1c6f8b5eaa82f02627d9dc (diff)
downloadmaster-187ad058-51f7506fa167740475e51cbbf7a891f5a3e35173.tar.gz
master-187ad058-51f7506fa167740475e51cbbf7a891f5a3e35173.tar.bz2
master-187ad058-51f7506fa167740475e51cbbf7a891f5a3e35173.zip
ramips: fix Zbtlink ZBT-WR8305RT board name
There is another Zbtlink board (ZBT-WA05) supported in ramips target, so use the same naming scheme for ZBT-WR8305RT board and its dts file. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46614 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds8
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network2
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh4
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh4
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh2
5 files changed, 10 insertions, 10 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index c6bfd7e7a8..bb990c97ed 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -245,10 +245,10 @@ case $board in
ucidef_set_led_default "power" "power" "oy:green:power" "1"
set_wifi_led "oy:green:wifi"
;;
- wr8305rt)
- ucidef_set_led_default "power" "power" "wr8305rt:sys" "1"
- set_usb_led "wr8305rt:usb"
- set_wifi_led "wr8305rt:wifi"
+ zbt-wr8305rt)
+ ucidef_set_led_default "power" "power" "zbt-wr8305rt:sys" "1"
+ set_usb_led "zbt-wr8305rt:usb"
+ set_wifi_led "zbt-wr8305rt:wifi"
;;
wt1520)
set_wifi_led "rt2800pci-phy0::radio"
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index da1854a415..42447d4d14 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -228,7 +228,7 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "switch0" "2" "6t"
;;
- wr8305rt)
+ zbt-wr8305rt)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4 6t"
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index e63f0df079..019bbbb2a8 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -196,8 +196,8 @@ get_status_led() {
wr512-3gn)
status_led="wr512:green:wps"
;;
- wr8305rt)
- status_led="wr8305rt:sys"
+ zbt-wr8305rt)
+ status_led="zbt-wr8305rt:sys"
;;
whr-300hp2 | \
whr-600d | \
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 7db6d370e8..436ed092e5 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -406,8 +406,8 @@ ramips_board_detect() {
*"OY-0001")
name="oy-0001"
;;
- *"ZBT WR8305RT")
- name="wr8305rt"
+ *"Zbtlink ZBT-WR8305RT")
+ name="zbt-wr8305rt"
;;
*"ZTE Q7")
name="zte-q7"
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 8221997a0a..1021123693 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -116,7 +116,7 @@ platform_check_image() {
wnce2001 | \
wr512-3gn |\
wr6202 |\
- wr8305rt |\
+ zbt-wr8305rt |\
wrtnode |\
oy-0001 |\
wt1520 |\