ipq806x: add Support for ASRock G10
[openwrt/staging/chunkeey.git] / target / linux / ipq806x / image / Makefile
index 5cc66daa21f8763bc894b7159798314766b58c2f..076c1025d94e4cf31ef11c03999f5e8dc8746ab0 100644 (file)
@@ -82,6 +82,20 @@ define Device/ZyXELImage
        IMAGE/sysupgrade.bin/squashfs := append-rootfs | pad-to $$$$(BLOCKSIZE) | sysupgrade-tar rootfs=$$$$@ | append-metadata
 endef
 
+define Device/asrock_g10
+       $(call Device/FitImage)
+       $(call Device/UbiFit)
+       DEVICE_VENDOR := ASRock
+       DEVICE_MODEL := G10
+       BLOCKSIZE := 128k
+       PAGESIZE := 2048
+       DEVICE_DTS := qcom-ipq8064-g10
+       DEVICE_PACKAGES := kmod-i2c-core kmod-i2c-gpio kmod-hwmon-lm75 \
+                          ath10k-firmware-qca99x0-ct ipq-wifi-asrock_g10
+       IMAGES := sysupgrade.bin
+endef
+TARGET_DEVICES += asrock_g10
+
 define Device/buffalo_wxr-2533dhp
        $(call Device/LegacyImage)
        SOC := qcom-ipq8064