mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-26 04:46:55 +00:00
fastboot: add operation delay quirk for Quectel EG25-G
This commit is contained in:
parent
e6121ae3c7
commit
12282ca6bc
@ -5,3 +5,4 @@ Plugin = fastboot
|
|||||||
# Quectel EG25-G modem
|
# Quectel EG25-G modem
|
||||||
[USB\VID_18D1&PID_D00D]
|
[USB\VID_18D1&PID_D00D]
|
||||||
FastbootBlockSize = 16384
|
FastbootBlockSize = 16384
|
||||||
|
FastbootOperationDelay = 100
|
||||||
|
@ -708,12 +708,6 @@ fu_fastboot_device_set_quirk_kv(FuDevice *device,
|
|||||||
self->blocksz = tmp;
|
self->blocksz = tmp;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
if (g_strcmp0(key, "FastbootBlockSize") == 0) {
|
|
||||||
if (!fu_common_strtoull_full(value, &tmp, 0x40, 0x100000, error))
|
|
||||||
return FALSE;
|
|
||||||
self->blocksz = tmp;
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
if (g_strcmp0(key, "FastbootOperationDelay") == 0) {
|
if (g_strcmp0(key, "FastbootOperationDelay") == 0) {
|
||||||
if (!fu_common_strtoull_full(value, &tmp, 0, G_MAXSIZE, error))
|
if (!fu_common_strtoull_full(value, &tmp, 0, G_MAXSIZE, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user