diff options
Diffstat (limited to 'host')
-rw-r--r-- | host/arch/arm/lib/crossystem_arch.c | 4 | ||||
-rw-r--r-- | host/arch/x86/lib/crossystem_arch.c | 10 |
2 files changed, 1 insertions, 13 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 |