diff options
-rw-r--r-- | host/arch/x86/lib/crossystem_arch.c | 16 | ||||
-rw-r--r-- | utility/crossystem.c | 2 |
2 files changed, 0 insertions, 18 deletions
diff --git a/host/arch/x86/lib/crossystem_arch.c b/host/arch/x86/lib/crossystem_arch.c index 8de9edc4..c885986b 100644 --- a/host/arch/x86/lib/crossystem_arch.c +++ b/host/arch/x86/lib/crossystem_arch.c @@ -756,22 +756,6 @@ int VbGetArchPropertyInt(const char* name) { } } - /* Saved memory is at a fixed location for all H2C BIOS. If the CHSW - * path exists in sysfs, it's a H2C BIOS. */ - if (!strcasecmp(name,"savedmem_base")) { - unsigned savedmem_base; - if (ReadFileInt(ACPI_CHSW_PATH, &savedmem_base) < 0) - return -1; - else - return 0x00F00000; - } else if (!strcasecmp(name,"savedmem_size")) { - unsigned savedmem_size; - if (ReadFileInt(ACPI_CHSW_PATH, &savedmem_size) < 0) - return -1; - else - return 0x00100000; - } - /* NV storage values. If unable to get from NV storage, fall back to the * CMOS reboot field used by older BIOS (e.g. Mario). */ if (!strcasecmp(name,"recovery_request")) { diff --git a/utility/crossystem.c b/utility/crossystem.c index 9b30e5ae..8f944b1e 100644 --- a/utility/crossystem.c +++ b/utility/crossystem.c @@ -81,8 +81,6 @@ const Param sys_param_list[] = { {"recoverysw_cur", 0, "Recovery switch current position"}, {"recoverysw_ec_boot", 0, "Recovery switch position at EC boot"}, {"ro_fwid", IS_STRING, "Read-only firmware ID"}, - {"savedmem_base", 0, "RAM debug data area physical address", "0x%08x"}, - {"savedmem_size", 0, "RAM debug data area size in bytes"}, {"sw_wpsw_boot", 0, "Firmware write protect software setting enabled at boot (Baytrail only)"}, {"tpm_attack", CAN_WRITE, "TPM was interrupted since this flag was cleared"}, |