coreboot-kgpe-d16/src/vboot
Aaron Durbin f7ce40baf6 vboot: consolidate google_chromeec_early_init() calls
On x86 platforms, google_chromeec_early_init() is used to put the EC
into RO mode when there's a recovery request. This is to avoid training
memory multiple times when the recovery request is through an EC host
event while the EC is running RW code. Under that condition the EC will
be reset (along with the rest of the system) when the kernel verification
happens. This leads to an execessively long recovery path because of the
double reboot performing full memory training each time.

By putting this logic into the verstage program this reduces the
bootblock size on the skylake boards. Additionally, this provides the
the correct logic for all future boards since it's not tied to FSP
nor the mainboard itself. Lastly, this double memory training protection
works only for platforms which verify starting from bootblock. The
platforms which don't start verifying until after romstage need to
have their own calls (such as haswell and baytrail).

Change-Id: Ia8385dfc136b09fb20bd3519f3cc621e540b11a5
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/16318
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
2016-08-25 22:50:17 +02:00
..
Kconfig vboot/vbnv_flash: make I/O connection agnostic 2016-08-19 18:18:57 +02:00
Makefile.inc
bootmode.c
common.c src/vboot: Capitalize RAM and CPU 2016-07-31 19:31:41 +02:00
misc.h
secdata_mock.c
secdata_tpm.c
symbols.h
vbnv.c
vbnv.h
vbnv_cmos.c
vbnv_ec.c
vbnv_flash.c vboot/vbnv_flash: fix return value check for rdev_writeat() 2016-08-24 00:09:23 +02:00
vbnv_layout.h
vboot_common.c vboot/vboot_common: actually provide a writable region_device 2016-08-24 00:09:16 +02:00
vboot_common.h vboot: provide RW region device support 2016-08-19 18:18:37 +02:00
vboot_handoff.c
vboot_loader.c vboot: consolidate google_chromeec_early_init() calls 2016-08-25 22:50:17 +02:00
vboot_logic.c
verstage.c