coreboot/src/ec/google/chromeec
Aaron Durbin dd311e048a UPSTREAM: ec/google/chromeec: query cbmem for retrain status
The EC switches, including the hardware retrain flag, are
cleared when handing off the vboot state in romstage. However,
one may still want to query the state of the hardware retrain
flag. Thus, add a method to get the flag from cbmem.

BUG=chrome-os-partner:60592
BRANCH=reef
TEST=None

Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/17869
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>

Change-Id: Ic76cfb3255a8d3c179d5f8b13fa13c518f79faa2
Reviewed-on: https://chromium-review.googlesource.com/421028
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
2016-12-16 07:51:35 -08:00
..
acpi UPSTREAM: ec/chromeec: Correct ACPI battery data fed into ToString() 2016-12-16 04:51:12 -08:00
chip.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
crosec_proto.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ec.c google/chromeec: Add command to control USB PD role 2016-11-22 18:36:43 -08:00
ec.h google/chromeec: Add command to control USB PD role 2016-11-22 18:36:43 -08:00
ec_commands.h UPSTREAM: google/chromeec: Sync ec_commands.h host events with ec codebase 2016-11-10 18:31:53 -08:00
ec_i2c.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ec_lpc.c UPSTREAM: google/chromeec: Ensure data is ready before reading it 2016-08-22 23:26:37 -07:00
ec_mec.c ec/google/chromeec/ec_lpc: Declare used IO ports as a resource 2016-05-06 18:59:00 +02:00
ec_message.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ec_spi.c UPSTREAM: spi: Pass pointer to spi_slave structure in spi_setup_slave 2016-12-08 12:30:13 -08:00
Kconfig UPSTREAM: google/chromeec: Add common infrastructure for boot-mode switches 2016-11-19 03:18:03 -08:00
Makefile.inc UPSTREAM: google/chromeec: Add common infrastructure for boot-mode switches 2016-11-19 03:18:03 -08:00
smihandler.c UPSTREAM: ec/google/chromeec: provide common SMI handler helpers 2016-07-15 16:50:24 -07:00
smm.h UPSTREAM: ec/google/chromeec: provide common SMI handler helpers 2016-07-15 16:50:24 -07:00
switches.c UPSTREAM: ec/google/chromeec: query cbmem for retrain status 2016-12-16 07:51:35 -08:00
vboot_storage.c google/chromeec: implement vboot_(save|retrieve)_hash API 2016-02-04 17:34:58 +01:00
vstore.c google/chromeec: Add temporary storage interface 2016-02-04 17:21:04 +01:00