diff options
-rw-r--r-- | host/lib/crossystem.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/host/lib/crossystem.c b/host/lib/crossystem.c index e64e0acc..08b481d7 100644 --- a/host/lib/crossystem.c +++ b/host/lib/crossystem.c @@ -49,7 +49,8 @@ typedef enum VdatIntField { VDAT_INT_FLAGS = 0, /* Flags */ VDAT_INT_HEADER_VERSION, /* Header version for VbSharedData */ VDAT_INT_DEVSW_BOOT, /* Dev switch position at boot */ - VDAT_INT_DEVSW_VIRTUAL, /* Dev switch is virtual */ + VDAT_INT_DEPRECATED_DEVSW_VIRTUAL, /* Dev switch is virtual; + * deprecated: chromium:942901 */ VDAT_INT_RECSW_BOOT, /* Recovery switch position at boot */ VDAT_INT_RECSW_VIRTUAL, /* Recovery switch is virtual */ VDAT_INT_HW_WPSW_BOOT, /* Hardware WP switch position at boot */ @@ -420,10 +421,6 @@ int GetVdatInt(VdatIntField field) value = (sh->flags & VBSD_BOOT_DEV_SWITCH_ON ? 1 : 0); break; - case VDAT_INT_DEVSW_VIRTUAL: - value = (sh->flags & - VBSD_HONOR_VIRT_DEV_SWITCH ? 1 : 0); - break; case VDAT_INT_RECSW_BOOT: value = (sh->flags & VBSD_BOOT_REC_SWITCH_ON ? 1 : 0); @@ -533,8 +530,6 @@ int VbGetSystemPropertyInt(const char *name) value = VbGetDebugBuild(); } else if (!strcasecmp(name,"devsw_boot")) { value = GetVdatInt(VDAT_INT_DEVSW_BOOT); - } else if (!strcasecmp(name,"devsw_virtual")) { - value = GetVdatInt(VDAT_INT_DEVSW_VIRTUAL); } else if (!strcasecmp(name, "recoverysw_boot")) { value = GetVdatInt(VDAT_INT_RECSW_BOOT); } else if (!strcasecmp(name, "recoverysw_is_virtual")) { |