linux-firmware: broadcom: package bcm4356 NVRAM for NanoPC T4

Prepare for NanoPC T4 WIFI support.

Signed-off-by: Lu jicong <jiconglu58@gmail.com>
This commit is contained in:
Lu jicong 2023-07-24 16:03:57 +08:00 committed by Hauke Mehrtens
parent ac9a2d6a35
commit 534eb51ee2

View File

@ -149,6 +149,18 @@ define Package/brcmfmac-nvram-43455-sdio/install
endef endef
$(eval $(call BuildPackage,brcmfmac-nvram-43455-sdio)) $(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) Package/brcmfmac-firmware-usb = $(call Package/firmware-default,Broadcom BCM43xx fullmac USB firmware)
define Package/brcmfmac-firmware-usb/install define Package/brcmfmac-firmware-usb/install
$(INSTALL_DIR) $(1)/lib/firmware/brcm $(INSTALL_DIR) $(1)/lib/firmware/brcm