diff options
author | Furquan Shaikh <furquan@google.com> | 2016-08-18 21:39:14 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2016-08-20 10:48:37 +0200 |
commit | 63e424cec250374997bce1471d0c63dec0d71adc (patch) | |
tree | f05f7fd211e94d5b5350cdf70e1e537739c432b6 /src/ec/google/chromeec/smm.h | |
parent | 3828e55a8c722dc157839a9abab947e655933494 (diff) | |
download | coreboot-63e424cec250374997bce1471d0c63dec0d71adc.tar.xz |
google/chromeec: Ensure data is ready before reading it
Before reading the data provided by EC to the host, ensure that data
ready flag is set. Otherwise, it could result in reading stale/incorrect
data from the data buffer.
BUG=chrome-os-partner:56395
BRANCH=None
TEST=Verified that lidclose event is read correctly by host on reef.
Change-Id: I88e345d64256af8325b3dbf670467d09f09420f0
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/16258
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/ec/google/chromeec/smm.h')
0 files changed, 0 insertions, 0 deletions