package/linux-firmware: add new option for USB TI 3410/5052 firmwares
authorStefan Agner <stefan@agner.ch>
Mon, 28 Dec 2020 14:48:44 +0000 (15:48 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 28 Dec 2020 21:31:35 +0000 (22:31 +0100)
This adds generic firmware for USB TI 3410/5052 devices and a couple of
device specific firmwares.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/linux-firmware/Config.in
package/linux-firmware/linux-firmware.mk

index dbdfdb52b3c2b499c87231428d4f732f6db3e0f9..6d5e96152776a6c16ec206196bdf0164840faa9f 100644 (file)
@@ -490,4 +490,13 @@ config BR2_PACKAGE_LINUX_FIRMWARE_QAT_C62X
 
 endmenu
 
+menu "USB to Serial Firmware"
+
+config BR2_PACKAGE_LINUX_FIRMWARE_USB_SERIAL_TI
+       bool "USB TI 3410/5052 Serial Firmware"
+       help
+         Firmware files for TI 3410/5052
+
+endmenu
+
 endif
index bc7650d75851ddf5c5d87419523ea842b673dacb..dbcf135f263f8db2aceaa71f395e316273f9eaf0 100644 (file)
@@ -626,6 +626,16 @@ LINUX_FIRMWARE_FILES += qat_c62x.bin qat_c62x_mmp.bin
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.qat_firmware
 endif
 
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_USB_SERIAL_TI),y)
+LINUX_FIRMWARE_FILES += ti_3410.fw ti_5052.fw \
+       mts_cdma.fw mts_gsm.fw mts_edge.fw mts_mt9234mu.fw mts_mt9234zba.fw \
+       moxa/moxa-1110.fw moxa/moxa-1130.fw moxa/moxa-1131.fw \
+       moxa/moxa-1150.fw moxa/moxa-1151.fw
+# Some firmware's license is in the file WHENCE
+# which is installed unconditionally
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.moxa
+endif
+
 ifneq ($(LINUX_FIRMWARE_FILES),)
 define LINUX_FIRMWARE_INSTALL_FILES
        cd $(@D) && \