mt76: add missing eeprom for mt7992 firmware
authorChukun Pan <amadeus@jmu.edu.cn>
Sun, 29 Sep 2024 15:18:26 +0000 (23:18 +0800)
committerFelix Fietkau <nbd@nbd.name>
Mon, 30 Sep 2024 11:14:06 +0000 (13:14 +0200)
Avoid the following errors:
[    9.219272] mt7996e 0000:01:00.0: Direct firmware load for mediatek/mt7996/mt7992_eeprom_2i5i.bin failed with error -2
[    9.229975] mt7996e 0000:01:00.0: Falling back to sysfs fallback for: mediatek/mt7996/mt7992_eeprom_2i5i.bin

Fixes: 2f7d22d ("mt76: update to Git HEAD (2024-09-29)")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
package/kernel/mt76/Makefile

index 14b546c3fb1b3b559bede1bb0ce8a216cf755cd7..9a7c1f85e26a6c980a05beafc73366160af0cba7 100644 (file)
@@ -659,6 +659,7 @@ define KernelPackage/mt7992-firmware/install
        cp \
                $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_dsp.bin \
                $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_eeprom.bin \
+               $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_eeprom_2i5i.bin \
                $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_rom_patch.bin \
                $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_wa.bin \
                $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_wm.bin \
@@ -670,7 +671,7 @@ define KernelPackage/mt7992-23-firmware/install
        cp \
                $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_dsp_23.bin \
                $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_eeprom_23.bin \
-               $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_eeprom_23.bin \
+               $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_eeprom_23_2i5i.bin \
                $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_rom_patch_23.bin \
                $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_wa_23.bin \
                $(PKG_BUILD_DIR)/firmware/mt7996/mt7992_wm_23.bin \