diff options
Diffstat (limited to 'host/lib/crossystem.c')
-rw-r--r-- | host/lib/crossystem.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/crossystem.c b/host/lib/crossystem.c index f379d228..e8c48d86 100644 --- a/host/lib/crossystem.c +++ b/host/lib/crossystem.c @@ -508,6 +508,8 @@ int VbGetSystemPropertyInt(const char *name) value = vb2_get_nv_storage(VB2_NV_DEV_BOOT_SIGNED_ONLY); } else if (!strcasecmp(name,"dev_boot_fastboot_full_cap")) { value = vb2_get_nv_storage(VB2_NV_DEV_BOOT_FASTBOOT_FULL_CAP); + } else if (!strcasecmp(name,"dev_enable_udc")) { + value = vb2_get_nv_storage(VB2_NV_DEV_ENABLE_UDC); } else if (!strcasecmp(name,"oprom_needed")) { value = vb2_get_nv_storage(VB2_NV_OPROM_NEEDED); } else if (!strcasecmp(name,"recovery_subcode")) { @@ -708,6 +710,9 @@ int VbSetSystemPropertyInt(const char *name, int value) } else if (!strcasecmp(name, "fastboot_unlock_in_fw")) { return vb2_set_nv_storage_with_backup( VB2_NV_FASTBOOT_UNLOCK_IN_FW, value); + } else if (!strcasecmp(name, "dev_enable_udc")) { + return vb2_set_nv_storage_with_backup( + VB2_NV_DEV_ENABLE_UDC, value); } else if (!strcasecmp(name, "boot_on_ac_detect")) { return vb2_set_nv_storage_with_backup( VB2_NV_BOOT_ON_AC_DETECT, value); |