aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-10-18 20:22:27 +0200
committerDavid Bauer <mail@david-bauer.net>2019-10-22 09:16:24 +0200
commit7a577e9a591f411b72d786db928726e238057357 (patch)
treec468ba0a2f8c8bad83f9007acff7bb8a25f2f5ce /package
parentbb84bbe8fc5107942feec03e82f7f50ad97bcf90 (diff)
downloadupstream-7a577e9a591f411b72d786db928726e238057357.tar.gz
upstream-7a577e9a591f411b72d786db928726e238057357.tar.bz2
upstream-7a577e9a591f411b72d786db928726e238057357.zip
firmware: add Realtek RTL8822BE/RTL8822CE firmware
This commit adds packages for the Realtek RTl8822BE/RTL8822CE firmware to be used with the rtw88 driver. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'package')
-rw-r--r--package/firmware/linux-firmware/realtek.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/firmware/linux-firmware/realtek.mk b/package/firmware/linux-firmware/realtek.mk
index 3c0476e039..87a11c0779 100644
--- a/package/firmware/linux-firmware/realtek.mk
+++ b/package/firmware/linux-firmware/realtek.mk
@@ -86,3 +86,18 @@ define Package/rtl8821ae-firmware/install
$(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8821aefw_wowlan.bin $(1)/lib/firmware/rtlwifi
endef
$(eval $(call BuildPackage,rtl8821ae-firmware))
+
+Package/rtl8822be-firmware = $(call Package/firmware-default,RealTek RTL8822BE firmware)
+define Package/rtl8822be-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/rtw88
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtw88/rtw8822b_fw.bin $(1)/lib/firmware/rtw88
+endef
+$(eval $(call BuildPackage,rtl8822be-firmware))
+
+Package/rtl8822ce-firmware = $(call Package/firmware-default,RealTek RTL8822CE firmware)
+define Package/rtl8822ce-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/rtw88
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtw88/rtw8822c_fw.bin $(1)/lib/firmware/rtw88
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtw88/rtw8822c_wow_fw.bin $(1)/lib/firmware/rtw88
+endef
+$(eval $(call BuildPackage,rtl8822ce-firmware))