Explorar o código

linux-firmware: package mt7987-2p5g-phy-firmware

Package firmware for the built-in 2.5G PHY of the MediaTek MT7987 SoC.

Signed-off-by: Daniel Golle <[email protected]>
Daniel Golle hai 3 meses
pai
achega
60fc2918dc
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      package/firmware/linux-firmware/mediatek.mk

+ 10 - 0
package/firmware/linux-firmware/mediatek.mk

@@ -97,6 +97,16 @@ define Package/mt7986-wo-firmware/install
 endef
 $(eval $(call BuildPackage,mt7986-wo-firmware))
 
+Package/mt7987-2p5g-phy-firmware = $(call Package/firmware-default,MT7987 built-in 2.5G Ethernet PHY firmware,,LICENCE.mediatek)
+define Package/mt7987-2p5g-phy-firmware/install
+	$(INSTALL_DIR) $(1)/lib/firmware/mediatek/mt7987
+	$(INSTALL_DATA) \
+		$(PKG_BUILD_DIR)/mediatek/mt7987/i2p5ge-phy-DSPBitTb.bin \
+		$(PKG_BUILD_DIR)/mediatek/mt7987/i2p5ge-phy-pmb.bin \
+		$(1)/lib/firmware/mediatek/mt7987
+endef
+$(eval $(call BuildPackage,mt7987-2p5g-phy-firmware))
+
 Package/mt7988-2p5g-phy-firmware = $(call Package/firmware-default,MT7988 built-in 2.5G Ethernet PHY firmware,,LICENCE.mediatek)
 define Package/mt7988-2p5g-phy-firmware/install
 	$(INSTALL_DIR) $(1)/lib/firmware/mediatek/mt7988