ath79: sync naming of Ubiquiti devices

Use a Unifi AC Lite board-/image name consistent with other Ubiquiti
devices.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
openwrt-19.07
Adrian Schmutzler 2018-06-27 12:10:33 +02:00 committed by Mathias Kresin
parent c463320812
commit 56fddc2577
4 changed files with 8 additions and 7 deletions

View File

@ -15,7 +15,7 @@ ath79_setup_interfaces()
"avm,fritz300e"|\ "avm,fritz300e"|\
"tplink,tl-mr10u"|\ "tplink,tl-mr10u"|\
"tplink,tl-wr703n"|\ "tplink,tl-wr703n"|\
"ubnt,ubnt-unifiac-lite"|\ "ubnt,unifiac-lite"|\
"ubnt,unifi") "ubnt,unifi")
ucidef_set_interface_lan "eth0" ucidef_set_interface_lan "eth0"
;; ;;

View File

@ -95,7 +95,7 @@ case "$FIRMWARE" in
ath10kcal_extract "art" 20480 2116 ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -2) ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -2)
;; ;;
"ubnt,ubnt-unifiac-lite") "ubnt,unifiac-lite")
ath10kcal_extract "EEPROM" 20480 2116 ath10kcal_extract "EEPROM" 20480 2116
;; ;;
esac esac

View File

@ -7,7 +7,7 @@
#include "qca956x.dtsi" #include "qca956x.dtsi"
/ { / {
compatible = "ubnt,ubnt-unifiac-lite", "qca,qca9563"; compatible = "ubnt,unifiac-lite", "qca,qca9563";
model = "Ubiquiti UniFi-AC-LITE/MESH/LR"; model = "Ubiquiti UniFi-AC-LITE/MESH/LR";
chosen { chosen {

View File

@ -80,7 +80,7 @@ define Device/ubnt_unifi
endef endef
TARGET_DEVICES += ubnt_unifi TARGET_DEVICES += ubnt_unifi
define Device/ubnt-unifiac define Device/ubnt_unifiac
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
DEVICE_PROFILE := UBNT DEVICE_PROFILE := UBNT
IMAGE_SIZE := 7744k IMAGE_SIZE := 7744k
@ -89,12 +89,13 @@ define Device/ubnt-unifiac
endef endef
define Device/ubnt-unifiac-lite define Device/ubnt_unifiac-lite
$(Device/ubnt-unifiac) $(Device/ubnt_unifiac)
DEVICE_TITLE := Ubiquiti UniFi AC-Lite DEVICE_TITLE := Ubiquiti UniFi AC-Lite
SUPPORTED_DEVICES += ubnt-unifiac-lite
DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x
DEVICE_PROFILE += UBNTUNIFIACLITE DEVICE_PROFILE += UBNTUNIFIACLITE
BOARDNAME := UBNT-UF-AC-LITE BOARDNAME := UBNT-UF-AC-LITE
ATH_SOC := qca9563 ATH_SOC := qca9563
endef endef
TARGET_DEVICES += ubnt-unifiac-lite TARGET_DEVICES += ubnt_unifiac-lite