linux-firmware: Add QLogic FC Adapters
authorSam Mendoza-Jonas <sam@mendozajonas.com>
Wed, 16 Aug 2017 04:30:23 +0000 (14:30 +1000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 21 Aug 2017 22:05:29 +0000 (00:05 +0200)
Add a config option to install the ql2xxx firmware binaries for QLogic
Fibre Channel adapters.
Since this doesn't quite fit under the existing categories in Config.in,
include it under a new category named "Fibre Channel Adapter Firmware".

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/linux-firmware/Config.in
package/linux-firmware/linux-firmware.mk

index f0d64763d88b02b66ce7fdcef3048f0d3d131e18..ad750e82ff7990fc89cb347d3eec74b2277d3693 100644 (file)
@@ -329,4 +329,13 @@ config BR2_PACKAGE_LINUX_FIRMWARE_IMX_SDMA
 
 endmenu
 
+menu "Fibre Channel Adapter Firmware"
+
+config BR2_PACKAGE_LINUX_FIRMWARE_QLOGIC_2XXX
+       bool "QLogic 2xxx Fibre Channel Adapters"
+       help
+         Firmware files for ql2xxx adapters
+
+endmenu
+
 endif
index e03788a3b5db9ba2db94b44225bd8439065dea61..b01585fbe441739afee192e832a5b2de68733e53 100644 (file)
@@ -414,6 +414,14 @@ LINUX_FIRMWARE_FILES += \
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx
 endif
 
+# ql2xxx
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QLOGIC_2XXX),y)
+LINUX_FIRMWARE_FILES += \
+       ql2100_fw.bin ql2200_fw.bin ql2300_fw.bin ql2322_fw.bin \
+       ql2400_fw.bin ql2500_fw.bin
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.qla2xxx
+endif
+
 ifneq ($(LINUX_FIRMWARE_FILES),)
 define LINUX_FIRMWARE_INSTALL_FILES
        cd $(@D) ; \