summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2020-03-06 09:35:15 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-07 10:06:17 +0000
commit6cc2580810bdf48b0ffe86ae83645cf836d35024 (patch)
tree98a83d7870b72808ca485d364b4434605260b6be /meta/recipes-kernel
parentdf7501528f2184a0e67eafba5fffef641a1abcaf (diff)
downloadpoky-6cc2580810bdf48b0ffe86ae83645cf836d35024.tar.gz
linux-firmware: TI: fix wl18xx support
wl1271-nvs.bin belongs to the wl18xx driver (and respective package created here), see kernel source. Due to the way packages are assembled here it ends up in the wrong package, though. Fix by placing it in the -common package as it's merely a symlink to wl127x-nvs.bin (which does belong to the wl12xx), so that both drivers have access to it. (From OE-Core rev: e0cc3cb406efedad8673ff48fae7c9288172fc6d) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
index 4f90084b2f..a7406e48de 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
@@ -511,8 +511,17 @@ LICENSE_${PN}-wl18xx = "Firmware-ti-connectivity"
511LICENSE_${PN}-ti-connectivity-license = "Firmware-ti-connectivity" 511LICENSE_${PN}-ti-connectivity-license = "Firmware-ti-connectivity"
512 512
513FILES_${PN}-ti-connectivity-license = "${nonarch_base_libdir}/firmware/LICENCE.ti-connectivity" 513FILES_${PN}-ti-connectivity-license = "${nonarch_base_libdir}/firmware/LICENCE.ti-connectivity"
514# wl18xx optionally needs wl1271-nvs.bin (which itself is a symlink to
515# wl127x-nvs.bin) - see linux/drivers/net/wireless/ti/wlcore/sdio.c
516# and drivers/net/wireless/ti/wlcore/spi.c.
517# While they're optional and actually only used to override the MAC
518# address on wl18xx, driver loading will delay (by udev timout - 60s)
519# if not there. So let's make it available always. Because it's a
520# symlink, both need to go to wlcommon.
514FILES_${PN}-wlcommon = " \ 521FILES_${PN}-wlcommon = " \
515 ${nonarch_base_libdir}/firmware/ti-connectivity/TI* \ 522 ${nonarch_base_libdir}/firmware/ti-connectivity/TI* \
523 ${nonarch_base_libdir}/firmware/ti-connectivity/wl127x-nvs.bin \
524 ${nonarch_base_libdir}/firmware/ti-connectivity/wl1271-nvs.bin \
516" 525"
517FILES_${PN}-wl12xx = " \ 526FILES_${PN}-wl12xx = " \
518 ${nonarch_base_libdir}/firmware/ti-connectivity/wl12* \ 527 ${nonarch_base_libdir}/firmware/ti-connectivity/wl12* \