vb2: parse dev mode in phase1
The rest of the system software expects dev mode to be
orthogonal to recovery mode. However, vb2_fw_phase1() was
only checking recovery mode. The caller would then not
call vb2_fw_phase2() which checked the developer mode settings.
Fix this by doing the necessary steps in vb2_fw_phase1().
Signed-off-by: Aaron Durbin <firstname.lastname@example.org>
Signed-off-by: Furquan Shaikh <email@example.com>
Tested-by: Furquan Shaikh <firstname.lastname@example.org>
Commit-Queue: Furquan Shaikh <email@example.com>
Reviewed-by: Randall Spangler <firstname.lastname@example.org>
Reviewed-by: Benson Leung <email@example.com>
Tested-by: Benson Leung <firstname.lastname@example.org>
3 files changed