vboot: do not change screens when dev boot disallowed
In CL:2716747, VB2_SCREEN_DEVELOPER_TO_NORM is pulled up to act
as the root screen in the case of dev boot being disallowed.
As such, the screen changes can be removed from
VB2_SCREEN_DEVELOPER_MODE init() and reinit() functions.
If the user does manage to get into the developer mode screen
while developer mode is disabled, rely on the individual checks
in these functions to prevent booting:
TEST=make clean && make runtests
Signed-off-by: Joel Kitching <firstname.lastname@example.org>
Reviewed-by: Joel Kitching <email@example.com>
Tested-by: Joel Kitching <firstname.lastname@example.org>
Commit-Queue: Joel Kitching <email@example.com>
2 files changed