slippy: Minor vboot related fixes

- Disable EC software sync for now
- Report correct EC active firmware mode
- Force enable developer mode by default
- Set up PCH generic decode regions in romstage
- Pass the oprom_is_loaded flag into vboot handoff data

Change-Id: Ib7ab35e6897c19455cbeecba88160ae830ea7984
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/51155
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/4169
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Duncan Laurie
2013-05-14 11:16:34 -07:00
committed by Stefan Reinauer
parent 1c0540000d
commit 8d783b8493
6 changed files with 32 additions and 27 deletions

View File

@ -49,9 +49,15 @@ void chromeos_init_vboot(chromeos_acpi_t *chromeos)
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],
ARRAY_SIZE(chromeos->vdat));
}
#endif
#if CONFIG_ELOG