linux-firmware: add Realtek RTL8723DE/RTL8821CE firmware
authorChukun Pan <amadeus@jmu.edu.cn>
Mon, 25 Sep 2023 15:40:02 +0000 (23:40 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 13 Nov 2023 21:01:49 +0000 (22:01 +0100)
This adds packages for the Realtek RTL8723DE/RTL8821CE
firmware to be used with the rtw88 driver.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
package/firmware/linux-firmware/realtek.mk

index 6d9238b8a435bd7ae9eb2b7894c09069e7fcd9e6..4a3b6cd28a35f6689ea4e28f76f694ba6d9f93a4 100644 (file)
@@ -86,6 +86,13 @@ define Package/rtl8723bu-firmware/install
 endef
 $(eval $(call BuildPackage,rtl8723bu-firmware))
 
+Package/rtl8723de-firmware = $(call Package/firmware-default,RealTek RTL8723DE firmware)
+define Package/rtl8723de-firmware/install
+       $(INSTALL_DIR) $(1)/lib/firmware/rtw88
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtw88/rtw8723d_fw.bin $(1)/lib/firmware/rtw88
+endef
+$(eval $(call BuildPackage,rtl8723de-firmware))
+
 Package/rtl8761a-firmware = $(call Package/firmware-default,RealTek RTL8761A firmware)
 define Package/rtl8761a-firmware/install
        $(INSTALL_DIR) $(1)/lib/firmware/rtl_bt
@@ -117,6 +124,13 @@ define Package/rtl8821ae-firmware/install
 endef
 $(eval $(call BuildPackage,rtl8821ae-firmware))
 
+Package/rtl8821ce-firmware = $(call Package/firmware-default,RealTek RTL8821CE firmware)
+define Package/rtl8821ce-firmware/install
+       $(INSTALL_DIR) $(1)/lib/firmware/rtw88
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtw88/rtw8821c_fw.bin $(1)/lib/firmware/rtw88
+endef
+$(eval $(call BuildPackage,rtl8821ce-firmware))
+
 Package/rtl8822be-firmware = $(call Package/firmware-default,RealTek RTL8822BE firmware)
 define Package/rtl8822be-firmware/install
        $(INSTALL_DIR) $(1)/lib/firmware/rtw88