From 138bb3c004154f67f3b37aafef3a6efa8bf0b338 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Fri, 15 May 2015 00:44:41 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/271410 Reviewed-by: Randall Spangler Commit-Queue: Furquan Shaikh Trybot-Ready: Furquan Shaikh Tested-by: Furquan Shaikh --- firmware/2lib/include/2struct.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'firmware/2lib/include') 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 { -- cgit v1.2.1