linux-firmware: Add QLogic FC Adapters

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>
This commit is contained in:
Sam Mendoza-Jonas 2017-08-16 14:30:23 +10:00 committed by Thomas Petazzoni
parent c92612b4b5
commit 9198309145
2 changed files with 17 additions and 0 deletions

View 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

View 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) ; \