3 [ -e /lib
/firmware
/$FIRMWARE ] && exit 0
5 .
/lib
/functions
/caldata.sh
10 "mediatek/mt7916_eeprom.bin")
13 caldata_extract_mmc
"factory" 0xA0000 0x1000
17 "mediatek/mt7981_eeprom_mt7976_dbdc.bin")
20 case "$(cmdline_get_var root)" in
22 caldata_extract_mmc
"factory" 0x0 0x1000
27 caldata_extract_mmc
"factory" 0x0 0x1000
31 "mediatek/mt7986_eeprom_mt7975_dual.bin")
34 ln -sf /tmp
/tp_data
/MT7986_EEPROM.bin \
35 /lib
/firmware
/$FIRMWARE
39 "mediatek/mt7986_eeprom_mt7976.bin")
42 caldata_extract_mmc
"factory" 0x0 0x1000
46 "mediatek/mt7986_eeprom_mt7976_dbdc.bin")
50 caldata_extract_ubi
"Factory" 0x0 0x1000
54 "mediatek/mt7986_eeprom_mt7976_dual.bin")
57 caldata_extract_mmc
"factory" 0x0 0x1000