0054-ath10k-firmware-add-qca9888-firmware.patch 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. From: John Crispin <john@phrozen.org>
  2. Date: Mon, 8 May 2017 08:51:46 +0200
  3. Subject: ath10k-firmware: add qca9888 firmware
  4. the firmware files for qca9888 were previously not packaged. add the meta
  5. information for doing so.
  6. Signed-off-by: John Crispin <john@phrozen.org>
  7. diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmware/ath10k-firmware/Makefile
  8. index 81dce0eb7aeee20e2ed3be4cc6699bf867487a96..aac8ee2b271678b03f58a6cb68beae6d53467dc1 100644
  9. --- a/package/firmware/ath10k-firmware/Makefile
  10. +++ b/package/firmware/ath10k-firmware/Makefile
  11. @@ -32,6 +32,11 @@ $(Package/ath10k-firmware-default)
  12. TITLE:=ath10k firmware for QCA9887 devices
  13. endef
  14. +define Package/ath10k-firmware-qca9888
  15. +$(Package/ath10k-firmware-default)
  16. + TITLE:=ath10k firmware for QCA9888 devices
  17. +endef
  18. +
  19. define Package/ath10k-firmware-qca9887-ct
  20. $(Package/ath10k-firmware-default)
  21. TITLE:=ath10k-CT firmware for QCA9887 devices
  22. @@ -240,6 +245,19 @@ define Package/ath10k-firmware-qca9887/install
  23. $(1)/lib/firmware/ath10k/QCA9887/hw1.0/board.bin
  24. endef
  25. +define Package/ath10k-firmware-qca9888/install
  26. + $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9888/hw2.0
  27. + $(INSTALL_DATA) \
  28. + $(PKG_BUILD_DIR)/QCA9888/hw2.0/board-2.bin \
  29. + $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board-2.bin
  30. + $(INSTALL_DATA) \
  31. + $(PKG_BUILD_DIR)/QCA9888/hw2.0/board-2.bin \
  32. + $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
  33. + $(INSTALL_DATA) \
  34. + $(PKG_BUILD_DIR)/QCA9888/hw2.0/firmware-5.bin_10.4-3.2-00072 \
  35. + $(1)/lib/firmware/ath10k/QCA9888/hw2.0/firmware-5.bin
  36. +endef
  37. +
  38. define Package/ath10k-firmware-qca988x/install
  39. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
  40. $(INSTALL_DATA) \
  41. @@ -328,6 +346,7 @@ define Package/ath10k-firmware-qca9984-ct/install
  42. endef
  43. $(eval $(call BuildPackage,ath10k-firmware-qca9887))
  44. +$(eval $(call BuildPackage,ath10k-firmware-qca9888))
  45. $(eval $(call BuildPackage,ath10k-firmware-qca988x))
  46. $(eval $(call BuildPackage,ath10k-firmware-qca99x0))
  47. $(eval $(call BuildPackage,ath10k-firmware-qca6174))