aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2024-01-08 21:08:13 +0000
committerDaniel Golle <daniel@makrotopia.org>2024-02-15 19:30:08 +0000
commit1e58ce7652c38580ef719cc8a8a795b87c531bcc (patch)
treedaa74ccfeb4c5523255b3bb0a513ab97ca9f24d7 /package
parent6aec3c7b5bf5e5a999a12121dfa71963afb6f003 (diff)
downloadupstream-1e58ce7652c38580ef719cc8a8a795b87c531bcc.tar.gz
upstream-1e58ce7652c38580ef719cc8a8a795b87c531bcc.tar.bz2
upstream-1e58ce7652c38580ef719cc8a8a795b87c531bcc.zip
firmware: package firmware for built-in 2.5G PHY on MT7988
Firmware for the built-in 2.5G Ethernet PHY of the MediaTek MT7988 SoC is now part of linux-firmware, so we can package it. Only a single file is needed with recent driver. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package')
-rw-r--r--package/firmware/linux-firmware/mediatek.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/firmware/linux-firmware/mediatek.mk b/package/firmware/linux-firmware/mediatek.mk
index a0eccb8f4d5..bf6bef22a64 100644
--- a/package/firmware/linux-firmware/mediatek.mk
+++ b/package/firmware/linux-firmware/mediatek.mk
@@ -87,3 +87,12 @@ define Package/mt7986-wo-firmware/install
$(1)/lib/firmware/mediatek
endef
$(eval $(call BuildPackage,mt7986-wo-firmware))
+
+Package/mt7988-2p5g-phy-firmware = $(call Package/firmware-default,MT7988 built-in 2.5G Ethernet PHY firmware)
+define Package/mt7988-2p5g-phy-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/mediatek/mt7988
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/mediatek/mt7988/i2p5ge-phy-pmb.bin \
+ $(1)/lib/firmware/mediatek/mt7988
+endef
+$(eval $(call BuildPackage,mt7988-2p5g-phy-firmware))