linux-firmware: broadcom: package bcm4356 NVRAM for NanoPC T4
authorLu jicong <jiconglu58@gmail.com>
Mon, 24 Jul 2023 08:03:57 +0000 (16:03 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 26 Jul 2023 10:15:20 +0000 (12:15 +0200)
Prepare for NanoPC T4 WIFI support.

Signed-off-by: Lu jicong <jiconglu58@gmail.com>
package/firmware/linux-firmware/broadcom.mk

index 48d986e2183b3d158db2f7c05a4bc16ea048ede6..4f64b423eb8758a1fadc54d1d78abc1a9fb683b8 100644 (file)
@@ -149,6 +149,18 @@ define Package/brcmfmac-nvram-43455-sdio/install
 endef
 $(eval $(call BuildPackage,brcmfmac-nvram-43455-sdio))
 
+Package/brcmfmac-nvram-4356-sdio = $(call Package/firmware-default,Broadcom BCM4356 SDIO NVRAM)
+define Package/brcmfmac-nvram-4356-sdio/install
+       $(INSTALL_DIR) $(1)/lib/firmware/brcm
+       $(INSTALL_DATA) \
+               $(PKG_BUILD_DIR)/brcm/brcmfmac4356-sdio.AP6356S.txt \
+               $(1)/lib/firmware/brcm/
+       $(LN) \
+               brcmfmac4356-sdio.AP6356S.txt \
+               $(1)/lib/firmware/brcm/brcmfmac4356-sdio.friendlyarm,nanopc-t4.txt
+endef
+$(eval $(call BuildPackage,brcmfmac-nvram-4356-sdio))
+
 Package/brcmfmac-firmware-usb = $(call Package/firmware-default,Broadcom BCM43xx fullmac USB firmware)
 define Package/brcmfmac-firmware-usb/install
        $(INSTALL_DIR) $(1)/lib/firmware/brcm