aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-01-17 08:14:41 +0100
committerMathias Kresin <dev@kresin.me>2018-01-23 23:31:09 +0100
commita411881a4000452ff791761c8f1d37ea6faa298a (patch)
tree4586487810d420d1fb657f62446f517975efe32b /target/linux/ramips/base-files
parent6f425a28a4147c52f990ead5336b75551a551aeb (diff)
downloadupstream-a411881a4000452ff791761c8f1d37ea6faa298a.tar.gz
upstream-a411881a4000452ff791761c8f1d37ea6faa298a.tar.bz2
upstream-a411881a4000452ff791761c8f1d37ea6faa298a.zip
ramips: add flash size postfix to Widora neo
Rename the Widora neo by adding a flash size prefix. Move the common parts into a dtsi to be prepare everything for upcomming support of the 32MB version. Migrate the Widora neo to the generic board detection as well. 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.sh2
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh2
4 files changed, 3 insertions, 6 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 f50a5a6d46..53d885560b 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -57,7 +57,7 @@ ramips_setup_interfaces()
omega2p | \
timecloud|\
w150m|\
- widora-neo|\
+ widora,neo-16m|\
wnce2001|\
zbt-cpe102|\
zte-q7)
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 22687b1970..f08e8e1c17 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -285,7 +285,7 @@ get_status_led() {
zbt-we2026)
status_led="$boardname:red:power"
;;
- widora-neo)
+ widora,neo-16m)
status_led="widora:orange:wifi"
;;
wzr-agl300nh)
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 60cf9b298c..491320badf 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -577,9 +577,6 @@ ramips_board_detect() {
*"WHR-G300N")
name="whr-g300n"
;;
- *"Widora-NEO")
- name="widora-neo"
- ;;
*"WiTi")
name="witi"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 730f487b30..6374e3d1e7 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -167,7 +167,7 @@ platform_check_image() {
whr-300hp2|\
whr-600d|\
whr-g300n|\
- widora-neo|\
+ widora,neo-16m|\
witi|\
wizfi630a|\
wl-330n|\