package/linux-firmware: add options for Broadcom BCM4366
authorRafał Miłecki <rafal@milecki.pl>
Mon, 18 May 2020 08:33:05 +0000 (10:33 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 17 Oct 2020 12:29:40 +0000 (14:29 +0200)
There are two groups of chipsets in the BCM4366 family requiring two
different firmware files. Each is quite big (over 1 MiB) so use
separated options for them.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/linux-firmware/Config.in
package/linux-firmware/linux-firmware.mk

index fbf374fa851dd80d84cfc3ef8efd5dda6cdd637b..1f0111f9577cbcc342e8169b2c6d6546f0ce8104 100644 (file)
@@ -128,6 +128,16 @@ config BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX
        help
          Firmware files for the Broadcom bcm43xxx, SoftMAC and FullMAC.
 
+config BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM4366B1
+       bool "Broadcom 4366b1"
+       help
+         Firmware file for the Broadcom 4366b1 FullMAC chip.
+
+config BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM4366C0
+       bool "Broadcom 4366c0"
+       help
+         Firmware file for the Broadcom 4366c0 FullMAC chip.
+
 config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_22260
        bool "Intel iwlwifi 22260"
        help
index 2af8d09f40027c2f70ac60aaf4629573b16570f4..8a44129102d5ba9699172ac03726954b3e5c6c8f 100644 (file)
@@ -551,6 +551,20 @@ LINUX_FIRMWARE_FILES += \
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx
 endif
 
+# brcm4366b1
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM4366B1),y)
+LINUX_FIRMWARE_FILES += \
+       brcm/brcmfmac4366b-pcie.bin brcm/brcmfmac4366b-pcie.bin
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx
+endif
+
+# brcm4366c0
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM4366C0),y)
+LINUX_FIRMWARE_FILES += \
+       brcm/brcmfmac4366c-pcie.bin brcm/brcmfmac4366c-pcie.bin
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx
+endif
+
 # ql2xxx
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QLOGIC_2XXX),y)
 LINUX_FIRMWARE_FILES += \