summaryrefslogtreecommitdiff
path: root/host/lib/crossystem.c
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-08-20 12:50:53 +0800
committerCommit Bot <commit-bot@chromium.org>2019-08-30 10:05:51 +0000
commitf4a9bfb303b034639469f1f1fcf18d61357bd4fe (patch)
tree92d0e20771a0be565ee4be6961c8f10b44d9a63e /host/lib/crossystem.c
parent7974dc348a044044e79b3d7a3997ef75254b0286 (diff)
downloadvboot-f4a9bfb303b034639469f1f1fcf18d61357bd4fe.tar.gz
vboot: deprecate fastboot support
BUG=b:124141368, chromium:995172 TEST=make clean && make runtests BRANCH=none Change-Id: I42e4ac8a21ac3be416d315a8a8cc914f997bab79 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1758148 Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: Joel Kitching <kitching@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'host/lib/crossystem.c')
-rw-r--r--host/lib/crossystem.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/host/lib/crossystem.c b/host/lib/crossystem.c
index 9b89fdc1..3db2ecb7 100644
--- a/host/lib/crossystem.c
+++ b/host/lib/crossystem.c
@@ -525,8 +525,6 @@ int VbGetSystemPropertyInt(const char *name)
value = vb2_get_nv_storage(VB2_NV_DEV_BOOT_LEGACY);
} else if (!strcasecmp(name,"dev_boot_signed_only")) {
value = vb2_get_nv_storage(VB2_NV_DEV_BOOT_SIGNED_ONLY);
- } else if (!strcasecmp(name,"dev_boot_fastboot_full_cap")) {
- value = vb2_get_nv_storage(VB2_NV_DEV_BOOT_FASTBOOT_FULL_CAP);
} else if (!strcasecmp(name,"dev_enable_udc")) {
value = vb2_get_nv_storage(VB2_NV_DEV_ENABLE_UDC);
} else if (!strcasecmp(name,"display_request")) {
@@ -561,8 +559,6 @@ int VbGetSystemPropertyInt(const char *name)
value = GetVdatInt(VDAT_INT_TRIED_FIRMWARE_B);
} else if (!strcasecmp(name,"recovery_reason")) {
value = GetVdatInt(VDAT_INT_RECOVERY_REASON);
- } else if (!strcasecmp(name, "fastboot_unlock_in_fw")) {
- value = vb2_get_nv_storage(VB2_NV_FASTBOOT_UNLOCK_IN_FW);
} else if (!strcasecmp(name, "boot_on_ac_detect")) {
value = vb2_get_nv_storage(VB2_NV_BOOT_ON_AC_DETECT);
} else if (!strcasecmp(name, "try_ro_sync")) {
@@ -726,12 +722,6 @@ int VbSetSystemPropertyInt(const char *name, int value)
} else if (!strcasecmp(name,"dev_boot_signed_only")) {
return vb2_set_nv_storage_with_backup(
VB2_NV_DEV_BOOT_SIGNED_ONLY, value);
- } else if (!strcasecmp(name,"dev_boot_fastboot_full_cap")) {
- return vb2_set_nv_storage_with_backup(
- VB2_NV_DEV_BOOT_FASTBOOT_FULL_CAP, value);
- } else if (!strcasecmp(name, "fastboot_unlock_in_fw")) {
- return vb2_set_nv_storage_with_backup(
- VB2_NV_FASTBOOT_UNLOCK_IN_FW, value);
} else if (!strcasecmp(name, "dev_enable_udc")) {
return vb2_set_nv_storage_with_backup(
VB2_NV_DEV_ENABLE_UDC, value);