brcm: Add a link to enable khadas VIM2's WiFi
authorJian-Hong Pan <jhp@endlessos.org>
Thu, 29 Apr 2021 07:25:03 +0000 (15:25 +0800)
committerJosh Boyer <jwboyer@kernel.org>
Mon, 3 May 2021 13:10:08 +0000 (09:10 -0400)
commit2a96c085c74426e1950e387f7ed49fdac287bc8a
treeb8dfcfbe34a05692c94aa65c82dcdf3d231bddce
parentffc64a24277e981f3573382a5cd04a78ec8e075c
brcm: Add a link to enable khadas VIM2's WiFi

According to kernel message on khadas VIM2 board equipped with BCM4356:

brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio for chip BCM4356/2
usbcore: registered new interface driver brcmfmac
brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac4356-sdio.khadas,vim2.txt failed with error -2
brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac4356-sdio.txt failed with error -2

System needs the NVRAM file "brcmfmac4356-sdio.khadas,vim2.txt" to
enable the WiFi chip BCM4356. Found it can share with the same file
"brcmfmac4356-sdio.vamrs,rock960.txt" with a soft link as
"brcmfmac4356-sdio.khadas,vim2.txt". Both 2.4GHz and 5GHz WiFi are
enabled with the linked config.

This patch adds the link to brcmfmac4356-sdio.vamrs,rock960.txt for it.

Signed-off-by: Jian-Hong Pan <jhp@endlessos.org>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
WHENCE