summaryrefslogtreecommitdiffstats
path: root/package/linux-firmware/Config.in
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-03-10 22:24:15 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-03-11 11:45:21 +0100
commite57e8cc85982838c708e27b4aeb729482b4b5b3b (patch)
treea634633dbd8c0c4efc022385e432db10cc92456b /package/linux-firmware/Config.in
parentcdf2b6f5d9bddf22c7f4609964a1549bfb219019 (diff)
downloadbuildroot-e57e8cc85982838c708e27b4aeb729482b4b5b3b.tar.gz
buildroot-e57e8cc85982838c708e27b4aeb729482b4b5b3b.zip
package/linux-firmware: different iwlwifi3160/7260 firmwares for different kernels
The firmwares to use for iwlwifi 3160/7260 are different, depending on which version of the Linux kernel is being used: - rev. 7 is for linux 3.10 through 3.12 (both included) - rev. 8 is for linux 3.13 onward Add a config choice to select the appropriate version. (See cset a0a6eeb in the linux-firmware repository for the details.) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/linux-firmware/Config.in')
-rw-r--r--package/linux-firmware/Config.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in
index 0a37a7e374..ba9a6c17c0 100644
--- a/package/linux-firmware/Config.in
+++ b/package/linux-firmware/Config.in
@@ -48,6 +48,34 @@ config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260
Firmware files for the Intel Wifi 7260 devices supported by
the iwlwifi kernel driver.
+if BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160 || \
+ BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260
+
+choice
+ bool "iwlwifi 3160/7260 revision to use"
+ help
+ Use revision 7 for kernel 3.10 to 3.12.
+ Use revision 8 for kernel 3.13 onward.
+
+config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160_7260_7
+ prompt "revision 7"
+ help
+ Use revision 7 for kernel 3.10 to 3.12.
+
+config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160_7260_8
+ prompt "revision 8"
+ help
+ Use revision 8 for kernel 3.13 onward.
+
+endchoice
+
+config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160_7260_REV
+ int
+ default 7 if BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160_7260_7
+ default 8 if BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160_7260_8
+
+endif # iwlwifi 3160/7260
+
config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V8
bool "Libertas SD 8686 v8"
help
OpenPOWER on IntegriCloud