diff options
author | Daniel Golle <daniel@makrotopia.org> | 2018-01-24 01:27:51 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2018-02-06 03:00:33 +0100 |
commit | 32f120b783f1a0467993cdfd15efdef06cad56d8 (patch) | |
tree | b748cf490bee425e61c4962a0c190555e765555c /target/linux/ramips/base-files/lib | |
parent | a8b023272d334e47ee82449eadda01b96e9c2a90 (diff) | |
download | upstream-32f120b783f1a0467993cdfd15efdef06cad56d8.tar.gz upstream-32f120b783f1a0467993cdfd15efdef06cad56d8.tar.bz2 upstream-32f120b783f1a0467993cdfd15efdef06cad56d8.zip |
ramips: various fixes for zbt-we1226
Convert userspace code to use generic device-tree compatible board
detection method. Users of the existing code will have to use
sysupgrade -F once to switch to the new generic board naming.
Properly setup pinctrl fixing the switch port LEDs.
Fixes commit 9c4fe103cb (ramips: add support for ZBT-WE1226)
Reported-by: Mathias Kresin <dev@kresin.me>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 491320badf..75474fbc6d 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -685,9 +685,6 @@ ramips_board_detect() { *"ZBT-WA05") name="zbt-wa05" ;; - *"ZBT-WE1226") - name="zbt-we1226" - ;; *"ZBT-WE1326") name="zbt-we1326" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index dd7616034b..892dfe3fbe 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -204,7 +204,7 @@ platform_check_image() { zbt-ape522ii|\ zbt-cpe102|\ zbt-wa05|\ - zbt-we1226|\ + zbtlink,zbt-we1226|\ zbt-we1326|\ zbt-we2026|\ zbtlink,zbt-we3526|\ |