Skip to content

Commit

Permalink
linux-firmware: add mt7986 offload firmware
Browse files Browse the repository at this point in the history
This is needed for WED support on MT7986.
Enable it by default for the filogic subtarget.

Signed-off-by: Felix Fietkau <[email protected]>
  • Loading branch information
nbd168 authored and aiamadeus committed Mar 28, 2023
1 parent f2e888d commit 6b2559f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions package/firmware/linux-firmware/mediatek.mk
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,13 @@ define Package/mt7922bt-firmware/install
$(1)/lib/firmware/mediatek
endef
$(eval $(call BuildPackage,mt7922bt-firmware))

Package/mt7986-wo-firmware = $(call Package/firmware-default,MT7986 offload firmware)
define Package/mt7986-wo-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/mediatek
$(INSTALL_DATA) \
$(PKG_BUILD_DIR)/mediatek/mt7986_wo_0.bin \
$(PKG_BUILD_DIR)/mediatek/mt7986_wo_1.bin \
$(1)/lib/firmware/mediatek
endef
$(eval $(call BuildPackage,mt7986-wo-firmware))
2 changes: 1 addition & 1 deletion target/linux/mediatek/filogic/target.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARCH:=aarch64
SUBTARGET:=filogic
BOARDNAME:=Filogic 830 (MT7986)
CPU_TYPE:=cortex-a53
DEFAULT_PACKAGES += kmod-crypto-hw-safexcel kmod-mt7915e kmod-mt7986-firmware wpad-basic-wolfssl uboot-envtools
DEFAULT_PACKAGES += kmod-crypto-hw-safexcel kmod-mt7915e kmod-mt7986-firmware wpad-openssl uboot-envtools mt7986-wo-firmware
KERNELNAME:=Image dtbs

define Target/Description
Expand Down

0 comments on commit 6b2559f

Please sign in to comment.