vboot: Do not pass OPROM_MATTERS flag to VbInit

Since we are using VBNV to determine if developer mode is
active we do not need the messy OPROM hook magic any longer.

Change-Id: I1b9effef3ef2aa84e916060d8e61ee42515a2b7c
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/57473
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/4222
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Duncan Laurie 2013-06-04 10:08:54 -07:00 committed by Alexandru Gagniuc
parent f9da70618e
commit eec8e33ecd
1 changed files with 1 additions and 7 deletions

View File

@ -49,15 +49,9 @@ void chromeos_init_vboot(chromeos_acpi_t *chromeos)
vboot_handoff = cbmem_find(CBMEM_ID_VBOOT_HANDOFF); vboot_handoff = cbmem_find(CBMEM_ID_VBOOT_HANDOFF);
if (vboot_handoff != NULL) { if (vboot_handoff != NULL)
vboot_handoff->init_params.flags |= VB_INIT_FLAG_OPROM_MATTERS;
if (oprom_is_loaded)
vboot_handoff->init_params.flags |=
VB_INIT_FLAG_OPROM_LOADED;
memcpy(&chromeos->vdat[0], &vboot_handoff->shared_data[0], memcpy(&chromeos->vdat[0], &vboot_handoff->shared_data[0],
ARRAY_SIZE(chromeos->vdat)); ARRAY_SIZE(chromeos->vdat));
}
#endif #endif
#if CONFIG_ELOG #if CONFIG_ELOG