diff options
-rw-r--r-- | host/arch/arm/lib/crossystem_arch.c | 4 | ||||
-rw-r--r-- | host/arch/x86/lib/crossystem_arch.c | 10 | ||||
-rw-r--r-- | utility/crossystem.c | 1 |
3 files changed, 1 insertions, 14 deletions
diff --git a/host/arch/arm/lib/crossystem_arch.c b/host/arch/arm/lib/crossystem_arch.c index 43a59cf2..3a1876ec 100644 --- a/host/arch/arm/lib/crossystem_arch.c +++ b/host/arch/arm/lib/crossystem_arch.c @@ -473,9 +473,7 @@ VbSharedDataHeader *VbSharedDataRead(void) int VbGetArchPropertyInt(const char* name) { - if (!strcasecmp(name, "fmap_base")) { - return ReadFdtInt("fmap-offset"); - } else if (!strcasecmp(name, "devsw_cur")) { + if (!strcasecmp(name, "devsw_cur")) { /* Systems with virtual developer switches return at-boot * value */ return VbGetSystemPropertyInt("devsw_boot"); diff --git a/host/arch/x86/lib/crossystem_arch.c b/host/arch/x86/lib/crossystem_arch.c index f39d31c5..3d1c8181 100644 --- a/host/arch/x86/lib/crossystem_arch.c +++ b/host/arch/x86/lib/crossystem_arch.c @@ -73,7 +73,6 @@ #define ACPI_BINF_PATH ACPI_BASE_PATH "/BINF" #define ACPI_CHNV_PATH ACPI_BASE_PATH "/CHNV" #define ACPI_CHSW_PATH ACPI_BASE_PATH "/CHSW" -#define ACPI_FMAP_PATH ACPI_BASE_PATH "/FMAP" #define ACPI_GPIO_PATH ACPI_BASE_PATH "/GPIO" #define ACPI_VBNV_PATH ACPI_BASE_PATH "/VBNV" #define ACPI_VDAT_PATH ACPI_BASE_PATH "/VDAT" @@ -831,15 +830,6 @@ int VbGetArchPropertyInt(const char* name) { int value = -1; - /* Values from ACPI */ - if (!strcasecmp(name,"fmap_base")) { - unsigned fmap_base; - if (ReadFileInt(ACPI_FMAP_PATH, &fmap_base) < 0) - return -1; - else - value = (int)fmap_base; - } - /* Switch positions */ if (!strcasecmp(name,"devsw_cur")) { /* Systems with virtual developer switches return at-boot diff --git a/utility/crossystem.c b/utility/crossystem.c index 8d1d1863..384c6717 100644 --- a/utility/crossystem.c +++ b/utility/crossystem.c @@ -52,7 +52,6 @@ const Param sys_param_list[] = { {"ecfw_act", IS_STRING, "Active EC firmware"}, {"post_ec_sync_delay", CAN_WRITE, "Short delay after EC software sync (persistent, writable, eve only)"}, - {"fmap_base", 0, "Main firmware flashmap physical address", "0x%08x"}, {"fw_prev_result", IS_STRING, "Firmware result of previous boot (vboot2)"}, {"fw_prev_tried", IS_STRING, "Firmware tried on previous boot (vboot2)"}, {"fw_result", IS_STRING|CAN_WRITE, "Firmware result this boot (vboot2)"}, |