[openwrt/openwrt] linux-firmware: use upstream firmware for cypress-firmware-4339-sdio
LEDE Commits
lede-commits at lists.infradead.org
Mon Jul 11 05:31:55 PDT 2022
pepe2k pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/6f6c2fb32176b538a8d13d896e7842ae27950925
commit 6f6c2fb32176b538a8d13d896e7842ae27950925
Author: Lech Perczak <lech.perczak at gmail.com>
AuthorDate: Thu Apr 28 22:59:03 2022 +0200
linux-firmware: use upstream firmware for cypress-firmware-4339-sdio
Old firmware provided by 'cypress-firmware' suite is not sufficient for
AP6335 module used in PICO-PI-IMX7D board to probe successfully. Use the
upstream version from linux-firmware instead.
At the same time, drop the old firmware from 'cypress-firmware' package.
Signed-off-by: Lech Perczak <lech.perczak at gmail.com>
---
package/firmware/cypress-firmware/Makefile | 15 ---------------
package/firmware/linux-firmware/cypress.mk | 8 ++++++++
2 files changed, 8 insertions(+), 15 deletions(-)
diff --git a/package/firmware/cypress-firmware/Makefile b/package/firmware/cypress-firmware/Makefile
index c5f41e0cb4..769e69a973 100644
--- a/package/firmware/cypress-firmware/Makefile
+++ b/package/firmware/cypress-firmware/Makefile
@@ -81,21 +81,6 @@ endef
$(eval $(call BuildPackage,cypress-firmware-43362-sdio))
-# Cypress 4339 SDIO Firmware
-define Package/cypress-firmware-4339-sdio
- $(Package/cypress-firmware-default)
- TITLE:=CYW4339 FullMac SDIO firmware
-endef
-
-define Package/cypress-firmware-4339-sdio/install
- $(INSTALL_DIR) $(1)/lib/firmware/brcm
- $(INSTALL_DATA) \
- $(PKG_BUILD_DIR)/firmware/cyfmac4339-sdio.bin \
- $(1)/lib/firmware/brcm/brcmfmac4339-sdio.bin
-endef
-
-$(eval $(call BuildPackage,cypress-firmware-4339-sdio))
-
# Cypress 43430 SDIO Firmware
define Package/cypress-firmware-43430-sdio
$(Package/cypress-firmware-default)
diff --git a/package/firmware/linux-firmware/cypress.mk b/package/firmware/linux-firmware/cypress.mk
new file mode 100644
index 0000000000..2f5b66fecf
--- /dev/null
+++ b/package/firmware/linux-firmware/cypress.mk
@@ -0,0 +1,8 @@
+Package/cypress-firmware-4339-sdio = $(call Package/firmware-default,Broadcom BCM4339 FullMac SDIO firmware)
+define Package/cypress-firmware-4339-sdio/install
+ $(INSTALL_DIR) $(1)/lib/firmware/brcm
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/cypress/cyfmac4339-sdio.bin \
+ $(1)/lib/firmware/brcm/brcmfmac4339-sdio.bin
+endef
+$(eval $(call BuildPackage,cypress-firmware-4339-sdio))
More information about the lede-commits
mailing list