package/linux-firmware: add option for iwl7265 firmware
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 21 Sep 2014 18:38:11 +0000 (20:38 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Sep 2014 19:15:03 +0000 (21:15 +0200)
New firmware to support iwlwifi-7265. Only comes in rev-8 or rev-9
flavours, so hide rev-7 when iwlwifi-7265 is selected.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/linux-firmware/Config.in
package/linux-firmware/linux-firmware.mk

index 99f59560c3236e84bbb1d2a087c130bb281b910f..00c7edb80348a90fe270d9139e5ead5f1db80092 100644 (file)
@@ -64,6 +64,13 @@ config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260
          Firmware files for the Intel Wifi 7260 devices supported by
          the iwlwifi kernel driver.
 
+config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265
+       bool "Intel iwlwifi 7265"
+       select BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_NEED_REV
+       help
+         Firmware files for the Intel Wifi 7265 devices supported by
+         the iwlwifi kernel driver.
+
 config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_NEED_REV
        bool
 
@@ -78,6 +85,7 @@ choice
 
 config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_REV_7
        prompt "revision 7"
+       depends on !BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265
        help
          Use revision 7 for kernel 3.10 to 3.12.
 
index 46e07d62ac9b3f42a26db7f2c137b2b1d9f5d041..4e78c63e29ed070679a270a312056a3b11f80b27 100644 (file)
@@ -177,6 +177,11 @@ LINUX_FIRMWARE_FILES += iwlwifi-7260-$(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_REV).u
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
 endif
 
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265),y)
+LINUX_FIRMWARE_FILES += iwlwifi-7265-$(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_REV).ucode
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
+endif
+
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BNX2X),y)
 LINUX_FIRMWARE_FILES += \
        bnx2x/bnx2x-e1-7.10.51.0.fw \