aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-08-16 09:53:26 +0200
committerMathias Kresin <dev@kresin.me>2018-08-16 21:20:57 +0200
commit3f09adaa558a16448181fc54163e679dfe4f6190 (patch)
tree02de69adce6b2b074d1c1d73586cb5699a14cb73 /target/linux
parent0c5a53255307ab532b2f875db452803b7f297874 (diff)
downloadupstream-3f09adaa558a16448181fc54163e679dfe4f6190.tar.gz
upstream-3f09adaa558a16448181fc54163e679dfe4f6190.tar.bz2
upstream-3f09adaa558a16448181fc54163e679dfe4f6190.zip
ath79: don't use the pcs,cr5000 wps led as usb led
If it isn't a usb led, it shouldn't be used as one by default. It is up to the user to add such a (mis)configuration for the board. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/01_leds4
-rw-r--r--target/linux/ath79/image/generic.mk2
2 files changed, 1 insertions, 5 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds
index a42bde530f..2c83b138f4 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -45,10 +45,6 @@ pcs,cr3000)
ucidef_set_led_switch "lan3" "LAN3" "pcs:blue:lan3" "switch0" "0x10"
ucidef_set_led_switch "lan4" "LAN4" "pcs:blue:lan4" "switch0" "0x02"
;;
-pcs,cr5000)
- ucidef_set_led_usbdev "usb" "USB" "pcs:white:wps" "1-1"
- ;;
-
tplink,re450-v2)
ucidef_set_led_netdev "lan_data" "LAN Data" "tp-link:green:lan_data" "eth0" "tx rx"
ucidef_set_led_netdev "lan_link" "LAN Link" "tp-link:green:lan_link" "eth0" "link"
diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk
index 01020810cc..6681bcf307 100644
--- a/target/linux/ath79/image/generic.mk
+++ b/target/linux/ath79/image/generic.mk
@@ -127,7 +127,7 @@ TARGET_DEVICES += pcs_cr3000
define Device/pcs_cr5000
ATH_SOC := ar9344
DEVICE_TITLE := PowerCloud Systems CR5000
- DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-usb-core
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-core
IMAGE_SIZE := 7808k
IMAGES := sysupgrade.bin
SUPPORTED_DEVICES += cr5000