commit | 041699fbdaeb0ba5c573a2ba4034c61b830a74db | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Feb 27 13:26:05 2014 -0700 |
committer | Simon Glass <sjg@chromium.org> | Mon Mar 17 20:05:46 2014 -0600 |
tree | 059ebd3cf9c7e26b7e10adc88f9bca5664beb45d | |
parent | 2f5488113df463a99291b6984a7f388b306972e0 [diff] |
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>