linux-firmware: fix RPi 4 NVRAM
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sat, 3 Aug 2019 06:16:10 +0000 (08:16 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Sat, 3 Aug 2019 06:16:10 +0000 (08:16 +0200)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
package/firmware/linux-firmware/broadcom.mk

index 2bdcd6d0a1564f74b18486f78cc294a5fbc82fef..4f7492a2d8353ee3ad236b4a8018b86c84dd8f61 100644 (file)
@@ -103,6 +103,8 @@ define Package/brcmfmac-firmware-43455-sdio-rpi-4b/install
        $(INSTALL_DATA) \
                $(PKG_BUILD_DIR)/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt \
                $(1)/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt
+       $(SED) 's/boardflags3=.*/boardflags3=0x44200100/g' \
+               $(1)/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt
 endef
 $(eval $(call BuildPackage,brcmfmac-firmware-43455-sdio-rpi-4b))