diff options
author | Felix Fietkau <nbd@nbd.name> | 2023-03-02 11:24:15 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2023-03-02 11:25:17 +0100 |
commit | 23b46b1c6174c47b3019bc1223891e9242e66387 (patch) | |
tree | 4e7ea6cf1bb7f3535aa51f35d49fcb8efdad31c1 | |
parent | 4dd0eaffc142e9782681353a53748e68cd731d49 (diff) | |
download | upstream-23b46b1c6174c47b3019bc1223891e9242e66387.tar.gz upstream-23b46b1c6174c47b3019bc1223891e9242e66387.tar.bz2 upstream-23b46b1c6174c47b3019bc1223891e9242e66387.zip |
linux-firmware: add mt7986 offload firmware
This is needed for WED support on MT7986.
Enable it by default for the filogic subtarget.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r-- | package/firmware/linux-firmware/mediatek.mk | 10 | ||||
-rw-r--r-- | target/linux/mediatek/filogic/target.mk | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/package/firmware/linux-firmware/mediatek.mk b/package/firmware/linux-firmware/mediatek.mk index 9c8f68b889..c18058dd64 100644 --- a/package/firmware/linux-firmware/mediatek.mk +++ b/package/firmware/linux-firmware/mediatek.mk @@ -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)) diff --git a/target/linux/mediatek/filogic/target.mk b/target/linux/mediatek/filogic/target.mk index a255566cc9..44bc47dcea 100644 --- a/target/linux/mediatek/filogic/target.mk +++ b/target/linux/mediatek/filogic/target.mk @@ -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-mbedtls uboot-envtools +DEFAULT_PACKAGES += kmod-crypto-hw-safexcel kmod-mt7915e kmod-mt7986-firmware wpad-basic-mbedtls uboot-envtools mt7986-wo-firmware KERNELNAME:=Image dtbs define Target/Description |