aboutsummaryrefslogtreecommitdiffstats
path: root/package/firmware/cypress-nvram/Makefile
diff options
context:
space:
mode:
authorLech Perczak <lech.perczak@gmail.com>2022-04-28 22:59:07 +0200
committerPiotr Dymacz <pepe2k@gmail.com>2022-07-11 14:18:40 +0200
commit2e297377bf77f6051e5fed8c4fb684fd17d41987 (patch)
treeebccf8749683d5c294d1683ecd7076df30f939a3 /package/firmware/cypress-nvram/Makefile
parent6f6c2fb32176b538a8d13d896e7842ae27950925 (diff)
downloadupstream-2e297377bf77f6051e5fed8c4fb684fd17d41987.tar.gz
upstream-2e297377bf77f6051e5fed8c4fb684fd17d41987.tar.bz2
upstream-2e297377bf77f6051e5fed8c4fb684fd17d41987.zip
cypress-nvram: support BCM4339 on TechNexion PICO-PI-IMX7D
This board features an AP6335 system-in-package combination of Wi-Fi and Bluetooth module based on BCM4339. Support is borrowed directly from the following Buildroot commit: 095420e05ae5: ("configs/imx7dpico: Add Wifi support"). Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Diffstat (limited to 'package/firmware/cypress-nvram/Makefile')
-rw-r--r--package/firmware/cypress-nvram/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/firmware/cypress-nvram/Makefile b/package/firmware/cypress-nvram/Makefile
index 806bfa2d92..f8b45fbef2 100644
--- a/package/firmware/cypress-nvram/Makefile
+++ b/package/firmware/cypress-nvram/Makefile
@@ -106,3 +106,21 @@ define Package/cypress-nvram-43455-sdio-rpi-4b/install
endef
$(eval $(call BuildPackage,cypress-nvram-43455-sdio-rpi-4b))
+
+# Cypress 4339 SDIO PICO-PI-IMX7D
+define Package/cypress-nvram-4339-pico-pi-imx7d
+ $(Package/cypress-nvram-default)
+ TITLE:=BCM4339 NVRAM for TechNexion PICO-PI-IMX7D
+ DEPENDS:=@TARGET_imx_cortexa7
+ PROVIDES:=brcmfmac-firmware-4339-pico-pi-imx7d
+ CONFLICTS:=brcmfmac-firmware-4339-pico-pi-imx7d
+endef
+
+define Package/cypress-nvram-4339-pico-pi-imx7d/install
+ $(INSTALL_DIR) $(1)/lib/firmware/brcm
+ $(INSTALL_DATA) \
+ ./files/brcmfmac4339-sdio.technexion,imx7d-pico-pi.txt \
+ $(1)/lib/firmware/brcm/brcmfmac4339-sdio.technexion,imx7d-pico-pi.txt
+endef
+
+$(eval $(call BuildPackage,cypress-nvram-4339-pico-pi-imx7d))