diff options
-rw-r--r-- | host/arch/x86/lib/crossystem_arch.c | 2 | ||||
-rw-r--r-- | host/lib/include/crossystem_arch.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/host/arch/x86/lib/crossystem_arch.c b/host/arch/x86/lib/crossystem_arch.c index fc92c8f3..284b75d2 100644 --- a/host/arch/x86/lib/crossystem_arch.c +++ b/host/arch/x86/lib/crossystem_arch.c @@ -399,6 +399,8 @@ static const char* VbReadMainFwType(char* dest, int size) /* Try reading type from BINF.3 */ if (ReadFileInt(ACPI_BINF_PATH ".3", &value) == 0) { switch(value) { + case BINF3_LEGACY: + return StrCopy(dest, "legacy", size); case BINF3_NETBOOT: return StrCopy(dest, "netboot", size); case BINF3_RECOVERY: diff --git a/host/lib/include/crossystem_arch.h b/host/lib/include/crossystem_arch.h index 030d9d69..f02e0f73 100644 --- a/host/lib/include/crossystem_arch.h +++ b/host/lib/include/crossystem_arch.h @@ -23,6 +23,7 @@ #define BINF3_NORMAL 1 #define BINF3_DEVELOPER 2 #define BINF3_NETBOOT 3 +#define BINF3_LEGACY 4 /* INTERNAL APIS FOR CROSSYSTEM AVAILABLE TO ARCH-SPECIFIC FUNCTIONS */ |