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 <email@example.com>
Reviewed-by: Randall Spangler <firstname.lastname@example.org>
Reviewed-by: Furquan Shaikh <email@example.com>
Commit-Queue: Furquan Shaikh <firstname.lastname@example.org>
Tested-by: Furquan Shaikh <email@example.com>
Trybot-Ready: Furquan Shaikh <firstname.lastname@example.org>
7 files changed