package/linux-firmware: Add new option for Qualcomm/Atheros 10k (QCA9377)
authorJulien Olivain <ju.o@free.fr>
Wed, 11 Nov 2020 15:46:37 +0000 (16:46 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Wed, 11 Nov 2020 21:13:32 +0000 (22:13 +0100)
Initial Atheros ath10k QCA9377 support was introduced in Kernel v4.4
[1]. More recently, in v5.7 [2], the SDIO support was also added. This
patch adds a new option to install firmware files for this device.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a226b519d43a2a6b37267fea051aacb4a79c9614
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6e51b0e4913ca2c93059f73ca477ca30ea95b6a0

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/linux-firmware/Config.in
package/linux-firmware/linux-firmware.mk

index 9b999034da9b8abe0e69936e8718e5bd9855c620..105daf42b8e866e314a4e0bb1f71313070f6aad6 100644 (file)
@@ -113,6 +113,11 @@ config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271
        help
          Firmware files for the Atheros 9271 module
 
+config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA9377
+       bool "Atheros 10k (QCA9377)"
+       help
+         Firmware files for the Atheros QCA9377 module
+
 config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA998X
        bool "Atheros 10k (QCA998X)"
        help
index d9ad942903e87103a5a013d62335f93466be7b19..8808b5284c437e4069bee2262691db03fb0cd8a8 100644 (file)
@@ -189,6 +189,14 @@ LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
 endif
 
 # ath10k
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA9377),y)
+LINUX_FIRMWARE_FILES += ath10k/QCA9377/hw1.0/board-2.bin \
+                       ath10k/QCA9377/hw1.0/board.bin \
+                       ath10k/QCA9377/hw1.0/firmware-5.bin \
+                       ath10k/QCA9377/hw1.0/firmware-6.bin
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
+endif
+
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA998X),y)
 LINUX_FIRMWARE_FILES += ath10k/QCA988X/hw2.0/board.bin \
                        ath10k/QCA988X/hw2.0/firmware-4.bin \