the following patch was just integrated into master: commit 8f9a5ff8ec338dcaa1c43e4725ce0dbd6a01f37d Author: Aaron Durbin adurbin@chromium.org Date: Wed Dec 14 14:46:20 2016 -0600
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
See https://review.coreboot.org/17869 for details.
-gerrit