summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--host/arch/arm/lib/crossystem_arch.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/host/arch/arm/lib/crossystem_arch.c b/host/arch/arm/lib/crossystem_arch.c
index c507ca85..554fe810 100644
--- a/host/arch/arm/lib/crossystem_arch.c
+++ b/host/arch/arm/lib/crossystem_arch.c
@@ -279,14 +279,8 @@ VbSharedDataHeader *VbSharedDataRead(void) {
return (VbSharedDataHeader *)block;
}
-static int VbGetRecoveryReason(void) {
- return ReadFdtInt("recovery-reason");
-}
-
int VbGetArchPropertyInt(const char* name) {
- if (!strcasecmp(name, "recovery_reason"))
- return VbGetRecoveryReason();
- else if (!strcasecmp(name, "fmap_base"))
+ if (!strcasecmp(name, "fmap_base"))
return ReadFdtInt("fmap-offset");
else if (!strcasecmp(name, "devsw_boot"))
return ReadFdtBool("boot-developer-switch");