cypress-firmware: update to v5.4.18-2020_0402
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 13 Apr 2020 08:14:48 +0000 (10:14 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 13 Apr 2020 08:14:48 +0000 (10:14 +0200)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
package/firmware/cypress-firmware/Makefile

index 6325086ae267980a2ec9198c3ec3bed82b95588b..d091a4d9aef61ada0bedfa2a697e03f2c4bb5871 100644 (file)
@@ -10,12 +10,12 @@ include $(TOPDIR)/rules.mk
 UNPACK_CMD=unzip -q -p $(DL_DIR)/$(PKG_SOURCE) $(PKG_SOURCE_UNZIP) | gzip -dc | $(HOST_TAR) -C $(1) $(TAR_OPTIONS)
 
 PKG_NAME:=cypress-firmware
-PKG_VERSION:=v4.14.77-2020_0115
+PKG_VERSION:=v5.4.18-2020_0402
 
 PKG_SOURCE_UNZIP:=cypress-firmware-$(PKG_VERSION).tar.gz
 PKG_SOURCE:=cypress-fmac-$(PKG_VERSION).zip
-PKG_SOURCE_URL:=https://community.cypress.com/servlet/JiveServlet/download/19000-1-51721/
-PKG_HASH:=a5510f82aacf585b5d29732b6d6777d4a4b26a667154d91cfcfc0d6d5dc4fef5
+PKG_SOURCE_URL:=https://community.cypress.com/servlet/JiveServlet/download/19375-1-53475/
+PKG_HASH:=b12b0570f462c2f3c26dde98b10235a845a7109037def1e7e51af728bcc1a958
 
 PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
 
@@ -274,6 +274,24 @@ endef
 
 $(eval $(call BuildPackage,cypress-firmware-4373-usb))
 
+# Cypress 54591 PCIe Firmware
+define Package/cypress-firmware-54591-pcie
+  $(Package/cypress-firmware-default)
+  TITLE:=CYW54591 FullMac PCIe firmware
+endef
+
+define Package/cypress-firmware-54591-pcie/install
+       $(INSTALL_DIR) $(1)/lib/firmware/brcm
+       $(INSTALL_DATA) \
+               $(PKG_BUILD_DIR)/firmware/brcmfmac54591-pcie.bin \
+               $(1)/lib/firmware/brcm/brcmfmac54591-pcie.bin
+       $(INSTALL_DATA) \
+               $(PKG_BUILD_DIR)/firmware/brcmfmac54591-pcie.clm_blob \
+               $(1)/lib/firmware/brcm/brcmfmac54591-pcie.clm_blob
+endef
+
+$(eval $(call BuildPackage,cypress-firmware-54591-pcie))
+
 # Cypress 89459 PCIe Firmware
 define Package/cypress-firmware-89459-pcie
   $(Package/cypress-firmware-default)