diff options
author | Duncan Laurie <dlaurie@google.com> | 2018-03-29 18:44:01 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2018-03-30 01:47:15 +0000 |
commit | 24ddf5c291d03faaaa05046dd1ef6cc07b4788e0 (patch) | |
tree | 15aa067470e6371816846095ed60ba26458e2aba | |
parent | a04abf2014b5c6e74ba662d072f35f10f16e95aa (diff) | |
download | vboot-24ddf5c291d03faaaa05046dd1ef6cc07b4788e0.tar.gz |
gbb: Add flag to enable UDC
Add GBB flag to enable USB Device Controller.
(this is only for Eve branch, larger change coming for TOT)
BUG=b:77151299
BRANCH=eve
TEST=manual
Change-Id: I90a087de441ed90eb54ece28f74bd3b699725ae9
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://chromium-review.googlesource.com/987393
-rw-r--r-- | firmware/2lib/include/2struct.h | 3 | ||||
-rw-r--r-- | firmware/include/gbb_header.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/firmware/2lib/include/2struct.h b/firmware/2lib/include/2struct.h index 0d1c6ec3..38ca42f4 100644 --- a/firmware/2lib/include/2struct.h +++ b/firmware/2lib/include/2struct.h @@ -287,6 +287,9 @@ enum vb2_gbb_flag { /* Enable serial */ VB2_GBB_FLAG_ENABLE_SERIAL = (1 << 14), + + /* Enable USB Device Controller */ + VB2_GBB_FLAG_ENABLE_UDC = (1 << 16), }; struct vb2_gbb_header { diff --git a/firmware/include/gbb_header.h b/firmware/include/gbb_header.h index 0eef7314..69b2fa82 100644 --- a/firmware/include/gbb_header.h +++ b/firmware/include/gbb_header.h @@ -76,6 +76,8 @@ #define GBB_FLAG_ENABLE_SERIAL 0x00004000 /* Disable using FWMP */ #define GBB_FLAG_DISABLE_FWMP 0x00008000 +/* Enable USB Device Controller */ +#define GBB_FLAG_ENABLE_UDC 0x00010000 #ifdef __cplusplus |