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
TEST=manual testing on Eve device
Signed-off-by: Duncan Laurie <firstname.lastname@example.org>
Reviewed-by: Randall Spangler <email@example.com>
Reviewed-by: Furquan Shaikh <firstname.lastname@example.org>
Commit-Queue: Furquan Shaikh <email@example.com>
Tested-by: Furquan Shaikh <firstname.lastname@example.org>
Trybot-Ready: Furquan Shaikh <email@example.com>
7 files changed