ipq806x: add support for Ubiquiti UniFi AC HD
[openwrt/staging/zorun.git] / target / linux / ipq806x / image / Makefile
index b77c0a99c005c7ae33bad37fcf94614325898391..bc917d4fa481073fb8f423a81937c0b37af30a51 100644 (file)
@@ -382,6 +382,18 @@ define Device/tplink_vr2600v
 endef
 TARGET_DEVICES += tplink_vr2600v
 
+define Device/ubnt_unifi-ac-hd
+       $(call Device/FitImageLzma)
+       DEVICE_VENDOR := Ubiquiti
+       DEVICE_MODEL := UniFi AC HD
+       SOC := qcom-ipq8064
+       BLOCKSIZE := 64k
+       IMAGE_SIZE := 14784k
+       DEVICE_PACKAGES := ath10k-firmware-qca9984-ct
+       IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | append-metadata | check-size
+endef
+TARGET_DEVICES += ubnt_unifi-ac-hd
+
 define Device/zyxel_nbg6817
        DEVICE_VENDOR := ZyXEL
        DEVICE_MODEL := NBG6817