summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2013-06-04 10:08:54 -0700
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2013-12-03 01:25:33 +0100
commiteec8e33ecd31caf7e2df7209dfee0abaf97b0be2 (patch)
tree014e857f62bd66db0c16d49b6d4a10c2b2c3eba1 /src
parentf9da70618e8d6d05aa6e8ae92479e5fc3764d7bd (diff)
downloadcoreboot-eec8e33ecd31caf7e2df7209dfee0abaf97b0be2.tar.xz
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>
Diffstat (limited to 'src')
-rw-r--r--src/vendorcode/google/chromeos/gnvs.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/vendorcode/google/chromeos/gnvs.c b/src/vendorcode/google/chromeos/gnvs.c
index ba1588d70d..5ee366598a 100644
--- a/src/vendorcode/google/chromeos/gnvs.c
+++ b/src/vendorcode/google/chromeos/gnvs.c
@@ -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