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

BUG=chrome-os-partner:19035
BRANCH=none
TEST=manual: Boot in developer mode

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>
This commit is contained in:
Duncan Laurie 2013-05-14 11:16:34 -07:00 committed by ChromeBot
commit ce42984bdc
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