summaryrefslogtreecommitdiff
path: root/firmware/2lib
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2015-05-15 00:44:41 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-05-16 04:17:21 +0000
commit138bb3c004154f67f3b37aafef3a6efa8bf0b338 (patch)
treec67f7fa0e11061126681eadd743ea69ed165532d /firmware/2lib
parent9101df2fe3ed4f0e8b65121ffc1c7e8b2d65b35d (diff)
downloadvboot-138bb3c004154f67f3b37aafef3a6efa8bf0b338.tar.gz
GBB: Add flag for forcing full fastboot capability in firmware
This flag is equivalent to FORCE_DEV_BOOT_USB. It allows full fastboot capability in firmware for developer mode. BUG=chrome-os-partner:40196 BRANCH=None TEST=Compiles successfully for smaug. Change-Id: I82a2ebe7a8b3bbf38694ab81ca2678624f77fca1 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://chromium-review.googlesource.com/271410 Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Queue: Furquan Shaikh <furquan@chromium.org> Trybot-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'firmware/2lib')
-rw-r--r--firmware/2lib/include/2struct.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/2lib/include/2struct.h b/firmware/2lib/include/2struct.h
index ae01c5de..6bc04600 100644
--- a/firmware/2lib/include/2struct.h
+++ b/firmware/2lib/include/2struct.h
@@ -224,6 +224,12 @@ enum vb2_gbb_flag {
/* Disable PD software sync */
VB2_GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC = (1 << 11),
+
+ /*
+ * Allow full fastboot capability in firmware even if
+ * dev_boot_fastboot_full_cap=0.
+ */
+ VB2_GBB_FLAG_FORCE_DEV_BOOT_FASTBOOT_FULL_CAP = (1 << 13),
};
struct vb2_gbb_header {