cypress-nvram: fix firmware is not exist for raspberry pi compute 4
authorNian Bohung <n0404.n0404@gmail.com>
Mon, 25 Oct 2021 13:26:51 +0000 (06:26 -0700)
committerChristian Lamparter <chunkeey@gmail.com>
Wed, 29 Dec 2021 20:40:40 +0000 (21:40 +0100)
Fixes:
brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.txt failed with error -2
Falling back to sysfs fallback for: brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.txt
Direct firmware load for brcm/brcmfmac43455-sdio.txt failed with error -2
Falling back to sysfs fallback for: brcm/brcmfmac43455-sdio.txt

Signed-off-by: Nian Bohung <n0404.n0404@gmail.com>
(cherry picked from commit b1db5585557ed069027767a80c31c6f1f2920196)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[improved commit mesage]

package/firmware/cypress-nvram/Makefile

index 777b8260885f521b041a40cc685e0667cac6fad6..806bfa2d92cb1caae505417525ab90f20236017e 100644 (file)
@@ -100,6 +100,9 @@ define Package/cypress-nvram-43455-sdio-rpi-4b/install
        $(INSTALL_DATA) \
                $(PKG_BUILD_DIR)/brcmfmac43455-sdio.raspberrypi,4-model-b.txt \
                $(1)/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt
+       $(INSTALL_DATA) \
+               $(PKG_BUILD_DIR)/brcmfmac43455-sdio.raspberrypi,4-model-b.txt \
+               $(1)/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.txt
 endef
 
 $(eval $(call BuildPackage,cypress-nvram-43455-sdio-rpi-4b))