aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-04-01 10:46:44 +0200
committerMathias Kresin <dev@kresin.me>2017-04-25 19:29:59 +0200
commit3cfc909c54c07d5a24d9a1a7496142b82d580878 (patch)
treecf174b5ef65ab1a8e2551b5a2038538b39b24f57 /target/linux/ramips/base-files
parent619d68bfc90e548e3398b26a2a0ca3fccd7d3f38 (diff)
downloadupstream-3cfc909c54c07d5a24d9a1a7496142b82d580878.tar.gz
upstream-3cfc909c54c07d5a24d9a1a7496142b82d580878.tar.bz2
upstream-3cfc909c54c07d5a24d9a1a7496142b82d580878.zip
ramips: rename Digineo AC1200 Pro to ZBT-WG3526 32MB
The Digineo AC1200 Pro is the 32MB flash variant of the ZBT-WG3526 with unpopulated/exposed sdhci slot. Rename to board to the OEM/ODM name and add the sdhci kernel module to use it for multiple clones. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network2
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh12
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh6
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh2
4 files changed, 11 insertions, 11 deletions
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 391a8b69c4..016d293cf8 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -72,7 +72,6 @@ ramips_setup_interfaces()
ucidef_set_interface_lan "eth0.2"
;;
3g-6200n|\
- ac1200pro|\
ai-br100|\
d240|\
db-wrt01|\
@@ -116,6 +115,7 @@ ramips_setup_interfaces()
zbt-we826|\
zbt-wg2626|\
zbt-wg3526-16M|\
+ zbt-wg3526-32M|\
zbt-wr8305rt)
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 999ad9fc4e..8b5e260f1f 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -58,7 +58,10 @@ get_status_led() {
wn3000rpv3)
status_led="$board:red:power"
;;
- ac1200pro|\
+ ai-br100|\
+ ht-tm02)
+ status_led="$board:blue:wlan"
+ ;;
all0239-3g|\
dcs-930|\
dir-300-b1|\
@@ -82,10 +85,6 @@ get_status_led() {
zbt-wg2626)
status_led="$board:green:status"
;;
- ai-br100|\
- ht-tm02)
- status_led="$board:blue:wlan"
- ;;
asl26555-8M|\
asl26555-16M)
status_led="asl26555:green:power"
@@ -274,7 +273,8 @@ get_status_led() {
zbt-cpe102)
status_led="$board:green:4g-0"
;;
- zbt-wg3526-16M)
+ zbt-wg3526-16M|\
+ zbt-wg3526-32M)
status_led="zbt-wg3526:green:status"
;;
esac
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index d0abd2db2b..3342a8f0c4 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -130,9 +130,6 @@ ramips_board_detect() {
*"DCS-930L B1")
name="dcs-930l-b1"
;;
- *"Digineo AC1200 Pro")
- name="ac1200pro"
- ;;
*"DIR-300 B1")
name="dir-300-b1"
;;
@@ -664,6 +661,9 @@ ramips_board_detect() {
*"ZBT-WG3526 (16M)")
name="zbt-wg3526-16M"
;;
+ *"ZBT-WG3526 (32M)")
+ name="zbt-wg3526-32M"
+ ;;
*"ZBT-WR8305RT")
name="zbt-wr8305rt"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index f329b434e5..8c7f9591ce 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -17,7 +17,6 @@ platform_check_image() {
3g150b|\
3g300m|\
a5-v11|\
- ac1200pro|\
ai-br100|\
air3gii|\
all0239-3g|\
@@ -197,6 +196,7 @@ platform_check_image() {
zbt-we826|\
zbt-wg2626|\
zbt-wg3526-16M|\
+ zbt-wg3526-32M|\
zbt-wr8305rt|\
zte-q7|\
youku-yk1)