vboot: save whether developer mode is enabled
commit7576bd7f4299a3af220a7ba3d6c4928812c2982b
authorJoel Kitching <kitching@google.com>
Fri, 17 May 2019 06:26:01 +0000 (17 14:26 +0800)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 20 May 2019 12:48:19 +0000 (20 12:48 +0000)
treea73993f9b448d8aed23ad2fe006b5a999af1cddf
parentfc46ad8a8b99fbfaf5f2e9112abbb26221c1aeff
vboot: save whether developer mode is enabled

Save whether or not vboot has selected developer mode as a flag
in vboot_working_data.  Other coreboot code may access this flag
without needing to consult vboot_handoff (which is in the process
of being deprecated).

BUG=b:124141368, b:124192753
TEST=make clean && make test-abuild
BRANCH=none

Change-Id: Ieb6ac4937c943aea78ddc762595a05387d2b8114
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32843
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
src/security/vboot/bootmode.c
src/security/vboot/misc.h
src/security/vboot/vboot_common.c
src/security/vboot/vboot_common.h
src/security/vboot/vboot_logic.c