57e567054362725e2914dff9f382130bbe532485
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
28 "mediatek/mt7986_eeprom_mt7976.bin")
31 caldata_extract_mmc
"factory" 0x0 0x1000
35 "mediatek/mt7986_eeprom_mt7976_dbdc.bin")
39 caldata_extract_ubi
"Factory" 0x0 0x1000