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.

BUG=chrome-os-partner:19928
BRANCH=none
TEST=manual: boot in dev/rec modes and ensure vbios is loaded

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>
This commit is contained in:
Duncan Laurie 2013-06-04 10:08:54 -07:00 committed by ChromeBot
commit f2820399b9

View file

@ -49,15 +49,9 @@ void chromeos_init_vboot(chromeos_acpi_t *chromeos)
vboot_handoff = cbmem_find(CBMEM_ID_VBOOT_HANDOFF);
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;
if (vboot_handoff != NULL)
memcpy(&chromeos->vdat[0], &vboot_handoff->shared_data[0],
ARRAY_SIZE(chromeos->vdat));
}
#endif
#if CONFIG_ELOG