2
0
forked from Ivasoft/openwrt

ath79: add new OF only target for QCA MIPS silicon

This target aims to replace ar71xx mid-term. The big part that is still
missing is making the MMIO/AHB wifi work using OF. NAND and mikrotik
subtargets will follow.

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2018-05-06 10:20:11 +02:00
parent 3dc523f232
commit 53c474abbd
121 changed files with 21368 additions and 1 deletions

View File

@@ -0,0 +1,38 @@
#!/bin/sh
. /lib/functions/leds.sh
get_status_led() {
local board=$(board_name)
case $board in
"glinet,ar150")
status_led="gl-ar150:orange:wlan"
;;
"tplink,tl-wr1043nd-v1")
status_led="tp-link:green:system"
;;
"ubnt,unifi")
status_led="ubnt:green:dome"
;;
esac
}
set_state() {
get_status_led
case "$1" in
preinit)
status_led_blink_preinit
;;
failsafe)
status_led_blink_failsafe
;;
preinit_regular)
status_led_blink_preinit_regular
;;
done)
status_led_on
;;
esac
}