diff options
Diffstat (limited to 'host/arch/arm/lib/crossystem_arch.c')
-rw-r--r-- | host/arch/arm/lib/crossystem_arch.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/host/arch/arm/lib/crossystem_arch.c b/host/arch/arm/lib/crossystem_arch.c index 309235dc..ae1a0299 100644 --- a/host/arch/arm/lib/crossystem_arch.c +++ b/host/arch/arm/lib/crossystem_arch.c @@ -401,11 +401,15 @@ int VbGetArchPropertyInt(const char* name) { if (value != -1) return value; return VbGetVarGpio("write-protect-switch"); - } else if (!strcasecmp(name, "recoverysw_ec_boot")) + } else if (!strcasecmp(name, "recoverysw_ec_boot")) { /* TODO: read correct value using ectool */ return 0; - else + } else if (!strcasecmp(name, "inside_vm")) { + /* No ARM VMs currently. */ + return 0; + } else { return -1; + } } const char* VbGetArchPropertyString(const char* name, char* dest, |