summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-10-10 14:01:02 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-11-06 19:50:17 +0300
commitbd1e82bb420adf4ad7cd468d8a482cde622dd69d (patch)
treeae0a8825969491d87292a280a81ee3a33859649b /drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile
parent0ad4b55b2f29784f93875e6231bf57cd233624a2 (diff)
downloadlinux-bd1e82bb420adf4ad7cd468d8a482cde622dd69d.tar.xz
brcmfmac: Set board_type from DMI on x86 based machines
For x86 based machines, set the board_type used for nvram file selection based on the DMI sys-vendor and product-name strings. Since on some models these strings are too generic, this commit also adds a quirk table overriding the strings for models listed in that table. The board_type setting is used to load the board-specific nvram file with a board-specific name so that we can ship files for each supported board in linux-firmware. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile')
-rw-r--r--drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile
index 1f5a9b948abf..22fd95a736a8 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile
@@ -54,3 +54,5 @@ brcmfmac-$(CONFIG_BRCM_TRACING) += \
tracepoint.o
brcmfmac-$(CONFIG_OF) += \
of.o
+brcmfmac-$(CONFIG_DMI) += \
+ dmi.o