aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2019-07-13 13:34:59 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2019-07-14 12:44:14 +0200
commitaa00ac44d90c9dd29a99df5b2c0fef47bb6468b3 (patch)
tree2afef715902d83aaedbc0992bfb15adf7760630a
parent6c3e7d5ea0b30b03d020d0ce0cc484444401aee0 (diff)
downloadupstream-aa00ac44d90c9dd29a99df5b2c0fef47bb6468b3.tar.gz
upstream-aa00ac44d90c9dd29a99df5b2c0fef47bb6468b3.tar.bz2
upstream-aa00ac44d90c9dd29a99df5b2c0fef47bb6468b3.zip
linux-firmware: add RPi SDIO NVRAM packages
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
-rw-r--r--package/firmware/linux-firmware/broadcom.mk36
1 files changed, 36 insertions, 0 deletions
diff --git a/package/firmware/linux-firmware/broadcom.mk b/package/firmware/linux-firmware/broadcom.mk
index ee83b69c4b..2bdcd6d0a1 100644
--- a/package/firmware/linux-firmware/broadcom.mk
+++ b/package/firmware/linux-firmware/broadcom.mk
@@ -52,6 +52,24 @@ define Package/brcmfmac-firmware-43430-sdio/install
endef
$(eval $(call BuildPackage,brcmfmac-firmware-43430-sdio))
+Package/brcmfmac-firmware-43430-sdio-rpi-3b = $(call Package/firmware-default,Broadcom BCM43430 NVRAM for Raspberry Pi 3B)
+define Package/brcmfmac-firmware-43430-sdio-rpi-3b/install
+ $(INSTALL_DIR) $(1)/lib/firmware/brcm
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt \
+ $(1)/lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt
+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)
+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 \
+ $(1)/lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,model-zero-w.txt
+endef
+$(eval $(call BuildPackage,brcmfmac-firmware-43430-sdio-rpi-zero-w))
+
Package/brcmfmac-firmware-43430a0-sdio = $(call Package/firmware-default,Broadcom BCM43430a0 FullMac SDIO firmware)
define Package/brcmfmac-firmware-43430a0-sdio/install
$(INSTALL_DIR) $(1)/lib/firmware/brcm
@@ -70,6 +88,24 @@ define Package/brcmfmac-firmware-43455-sdio/install
endef
$(eval $(call BuildPackage,brcmfmac-firmware-43455-sdio))
+Package/brcmfmac-firmware-43455-sdio-rpi-3b-plus = $(call Package/firmware-default,Broadcom BCM43455 NVRAM for Raspberry Pi 3B+)
+define Package/brcmfmac-firmware-43455-sdio-rpi-3b-plus/install
+ $(INSTALL_DIR) $(1)/lib/firmware/brcm
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt \
+ $(1)/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
+endef
+$(eval $(call BuildPackage,brcmfmac-firmware-43455-sdio-rpi-3b-plus))
+
+Package/brcmfmac-firmware-43455-sdio-rpi-4b = $(call Package/firmware-default,Broadcom BCM43455 NVRAM for Raspberry Pi 4B)
+define Package/brcmfmac-firmware-43455-sdio-rpi-4b/install
+ $(INSTALL_DIR) $(1)/lib/firmware/brcm
+ $(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
+endef
+$(eval $(call BuildPackage,brcmfmac-firmware-43455-sdio-rpi-4b))
+
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