diff options
author | Kuan-Yi Li <kyli@abysm.org> | 2022-10-20 10:26:44 +0800 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2022-11-15 20:48:20 +0100 |
commit | 60832584aa6fbc3e19250bf44b0dc9b8b0939b8d (patch) | |
tree | 936f5853ad099e8a64251f2015317824d4b7919a /package/firmware/linux-firmware/broadcom.mk | |
parent | 22e9d8bc896bb982868fab497beff9c806604d78 (diff) | |
download | upstream-60832584aa6fbc3e19250bf44b0dc9b8b0939b8d.tar.gz upstream-60832584aa6fbc3e19250bf44b0dc9b8b0939b8d.tar.bz2 upstream-60832584aa6fbc3e19250bf44b0dc9b8b0939b8d.zip |
linux-firmware: broadcom: use symlink to provide NVRAM for some RPis
This is to align the implementation with upstream `linux-firmware`.
Some Raspberry Pi boards do not have dedicated NVRAM in `linux-firmware`
source repository, their NVRAM is provided through a symbolic link to
NVRAM of another board with an identical wireless design.
Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
Diffstat (limited to 'package/firmware/linux-firmware/broadcom.mk')
-rw-r--r-- | package/firmware/linux-firmware/broadcom.mk | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/package/firmware/linux-firmware/broadcom.mk b/package/firmware/linux-firmware/broadcom.mk index 26f6534632..b48677a378 100644 --- a/package/firmware/linux-firmware/broadcom.mk +++ b/package/firmware/linux-firmware/broadcom.mk @@ -43,11 +43,11 @@ define Package/brcmfmac-firmware-43430-sdio-rpi-3b/install endef $(eval $(call BuildPackage,brcmfmac-firmware-43430-sdio-rpi-3b)) -Package/brcmfmac-firmware-43430-sdio-rpi-zero-w = $(call Package/firmware-default,Broadcom BCM43430 NVRAM for Raspberry Pi Zero W) +Package/brcmfmac-firmware-43430-sdio-rpi-zero-w = $(call Package/firmware-default,Broadcom BCM43430 NVRAM for Raspberry Pi Zero W,+brcmfmac-firmware-43430-sdio-rpi-3b) define Package/brcmfmac-firmware-43430-sdio-rpi-zero-w/install $(INSTALL_DIR) $(1)/lib/firmware/brcm - $(INSTALL_DATA) \ - $(PKG_BUILD_DIR)/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt \ + $(LN) \ + brcmfmac43430-sdio.raspberrypi,3-model-b.txt \ $(1)/lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,model-zero-w.txt endef $(eval $(call BuildPackage,brcmfmac-firmware-43430-sdio-rpi-zero-w)) @@ -79,6 +79,15 @@ define Package/brcmfmac-firmware-43455-sdio-rpi-4b/install endef $(eval $(call BuildPackage,brcmfmac-firmware-43455-sdio-rpi-4b)) +Package/brcmfmac-firmware-43455-sdio-rpi-cm4 = $(call Package/firmware-default,Broadcom BCM43455 NVRAM for Raspberry Pi CM4,+brcmfmac-firmware-43455-sdio-rpi-4b) +define Package/brcmfmac-firmware-43455-sdio-rpi-cm4/install + $(INSTALL_DIR) $(1)/lib/firmware/brcm + $(LN) \ + brcmfmac43455-sdio.raspberrypi,4-model-b.txt \ + $(1)/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.txt +endef +$(eval $(call BuildPackage,brcmfmac-firmware-43455-sdio-rpi-cm4)) + 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 |