coreboot/src
Furquan Shaikh 63e424cec2 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>
2016-08-20 10:48:37 +02:00
..
acpi src/acpi: Capitalize ACPI and SATA 2016-07-31 19:25:40 +02:00
arch arch/riscv: Improve and refactor trap handling diagnostics 2016-08-15 18:28:03 +02:00
commonlib commonlib/region: allow empty mmap()/munmap() in region_device_ops 2016-08-15 21:03:06 +02:00
console console: Add write line routine 2016-08-10 22:30:19 +02:00
cpu Kconfig: rename BOOT_MEDIA_SPI_BUS to BOOT_DEVICE_SPI_FLASH_BUS 2016-08-18 22:04:34 +02:00
device src/device: Capitalize CPU, RAM and ROM 2016-07-31 18:33:30 +02:00
drivers drivers/intel/fsp2_0: Add SMBIOS memory HOB support 2016-08-20 08:56:25 +02:00
ec google/chromeec: Ensure data is ready before reading it 2016-08-20 10:48:37 +02:00
include lib/fmap: provide RW region device support 2016-08-19 18:17:04 +02:00
lib lib/fmap: provide RW region device support 2016-08-19 18:17:04 +02:00
mainboard google/reef: Save DIMM info from SMBIOS memory HOB 2016-08-20 08:56:42 +02:00
northbridge x4x: make preallocated IGD memory a cmos option 2016-08-09 10:43:03 +02:00
soc intel/apollolake: Do not halt in poweroff if in SMM 2016-08-20 10:48:27 +02:00
southbridge bd82x6x/pch: move global variables to static variables in functions 2016-08-19 03:02:53 +02:00
superio superio/*: Relocate Kconfig to chip folder. 2016-08-09 10:38:30 +02:00
vboot vboot/vbnv_flash: make I/O connection agnostic 2016-08-19 18:18:57 +02:00
vendorcode drivers/elog: use region_device for NV storage 2016-08-19 18:18:08 +02:00
Kconfig Kconfig: introduce writable boot device notion 2016-08-19 03:05:18 +02:00