diff options
author | Simon Glass <sjg@chromium.org> | 2014-02-27 13:26:05 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-03-17 20:05:46 -0600 |
commit | e0dd81e3aaffa58bd45a932c4cd1511cb491714a (patch) | |
tree | 059ebd3cf9c7e26b7e10adc88f9bca5664beb45d /include/sata.h | |
parent | 4ff9b461a8c50245a611b15a4fa67784cc452a3d (diff) | |
download | u-boot-imx-e0dd81e3aaffa58bd45a932c4cd1511cb491714a.zip u-boot-imx-e0dd81e3aaffa58bd45a932c4cd1511cb491714a.tar.gz u-boot-imx-e0dd81e3aaffa58bd45a932c4cd1511cb491714a.tar.bz2 |
cros_ec: Support systems with no EC interrupt
Some systems do not have an EC interrupt. Rather than assuming that the
interrupt is always present, and hanging forever waiting for more input,
handle the missing interrupt. This works by reading key scans only until
we get an identical one. This means the EC keyscan FIFO is empty.
Tested-by: Che-Liang Chiou <clchiou@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/sata.h')
0 files changed, 0 insertions, 0 deletions