[openwrt/openwrt] linux-firmware: broadcom: package bcm4356 NVRAM for NanoPC T4

LEDE Commits lede-commits at lists.infradead.org
Wed Jul 26 03:17:58 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/534eb51ee2f4e38e25d4871f759f9416b145fe83

commit 534eb51ee2f4e38e25d4871f759f9416b145fe83
Author: Lu jicong <jiconglu58 at gmail.com>
AuthorDate: Mon Jul 24 16:03:57 2023 +0800

    linux-firmware: broadcom: package bcm4356 NVRAM for NanoPC T4
    
    Prepare for NanoPC T4 WIFI support.
    
    Signed-off-by: Lu jicong <jiconglu58 at gmail.com>
---
 package/firmware/linux-firmware/broadcom.mk | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/package/firmware/linux-firmware/broadcom.mk b/package/firmware/linux-firmware/broadcom.mk
index 48d986e218..4f64b423eb 100644
--- a/package/firmware/linux-firmware/broadcom.mk
+++ b/package/firmware/linux-firmware/broadcom.mk
@@ -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




More information about the lede-commits mailing list