commit | 07912a52bc50ad785d5a19a69c033d310af878a7 | [log] [tgz] |
---|---|---|
author | Duncan Laurie <dlaurie@google.com> | Thu Apr 12 10:20:16 2018 -0700 |
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | Wed Apr 18 21:46:52 2018 +0000 |
tree | 682ce1aa39a9ad4f77fc9fa1ab57ca3dbd5cd36a | |
parent | e4e246f15cd7c553bff62a990b2fa08be32a60f2 [diff] |
Add new NV and GBB flag to control UDC This change adds a new NV and GBB flag for controlling USB device mode behavior, adding an additional step to enable UDC on systems that support it. Users of this feature will need to first enable developer mode and then enable UDC separately by running "crossystem dev_enable_udc=1". Alternatively those without write protect enabled can set a GBB flag to have UDC enabled by default while in developer mode. This is based on the security reviewed proposal at https://docs.google.com/document/d/1b6avd9xvhvljN_NKtctWrClj4mSYZ_uPmp7MmAnPwqs BUG=b:74339386 BRANCH=poppy TEST=manual testing on Eve device Change-Id: I6f440320f28b033639b53246d3034bc8acc37a33 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://chromium-review.googlesource.com/1010769 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org> (cherry picked from commit 534194ead77895dd131ed59b968b21a2ae36f133) Reviewed-on: https://chromium-review.googlesource.com/1017400