coreboot/src/ec/google/chromeec
Aaron Durbin 8f9a5ff8ec 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

Change-Id: Ic76cfb3255a8d3c179d5f8b13fa13c518f79faa2
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>
2016-12-15 23:11:37 +01:00
..
acpi ec/chromeec: Correct ACPI battery data fed into ToString() 2016-12-15 14:09:23 +01: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-12-06 21:55:43 +01:00
ec.h google/chromeec: Add command to control USB PD role 2016-12-06 21:55:43 +01:00
ec_commands.h google/chromeec: Sync ec_commands.h host events with ec codebase 2016-11-10 00:07:15 +01:00
ec_i2c.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ec_lpc.c google/chromeec: Ensure data is ready before reading it 2016-08-20 10:48:37 +02: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 spi: Pass pointer to spi_slave structure in spi_setup_slave 2016-12-05 03:28:06 +01:00
Kconfig google/chromeec: Add common infrastructure for boot-mode switches 2016-11-18 04:01:59 +01:00
Makefile.inc google/chromeec: Add common infrastructure for boot-mode switches 2016-11-18 04:01:59 +01:00
smihandler.c ec/google/chromeec: provide common SMI handler helpers 2016-07-15 08:35:29 +02:00
smm.h ec/google/chromeec: provide common SMI handler helpers 2016-07-15 08:35:29 +02:00
switches.c ec/google/chromeec: query cbmem for retrain status 2016-12-15 23:11:37 +01: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