aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d
diff options
context:
space:
mode:
authorThibaut VARENE <hacks@slashdirt.org>2017-07-30 15:42:38 +0200
committerMathias Kresin <dev@kresin.me>2017-08-03 00:11:25 +0200
commit1780d40f2b37abb6452f5f57288086bb87d89510 (patch)
treedae4f39d5c8e57e273e2a3d59c9363dd4163bf2f /target/linux/ramips/base-files/etc/board.d
parent419fa7a15f04c03788de956d6c8eb1ade2346be9 (diff)
downloadupstream-1780d40f2b37abb6452f5f57288086bb87d89510.tar.gz
upstream-1780d40f2b37abb6452f5f57288086bb87d89510.tar.bz2
upstream-1780d40f2b37abb6452f5f57288086bb87d89510.zip
ramips: cleanup EX2700 and WN3000RPv3 LEDs
This patch cleans up the WN3000RPv3 and EX2700 setup, bringing it in line with other similar devices: The power led is a bicolor one. The bootloader brings the red side on at powerup. Instead of blinking the red side in diag.sh and need to forcefully turn it off in 01_leds, this patch simplifies the setup by relying on the default off state of the gpio-led driver for the red side and blinking the green side as with other devices. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rw-r--r--target/linux/ramips/base-files/etc/board.d/01_leds1
1 files changed, 0 insertions, 1 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 db6910cdfe..02f4b913d5 100644
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -160,7 +160,6 @@ dir-860l-b1)
;;
ex2700|\
wn3000rpv3)
- ucidef_set_led_default "power_r" "POWER (red)" "$board:red:power" "0"
set_wifi_led "$board:green:router"
;;
ex3700)