diff options
author | Nico Huber <nico.h@gmx.de> | 2020-11-01 19:29:41 +0100 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2020-12-24 08:18:57 +0000 |
commit | f7faac151abfedca5f56d7587edf4e54030f8015 (patch) | |
tree | 1880821a28731e3a3e3583885f24c90258a9a9b3 /payloads/external | |
parent | a160d93dda188b33b4b28bb888bd78120e42695d (diff) |
libpayload/keyboard: Introduce keyboard_drain_input()
Move the input-buffer draining into a function. It uses the low-level
i8042 API directly to avoid conflicts with changes in the high-level
keyboard API.
Change-Id: I9427c5b8be4d59c2ee3da12d6168d34590043682
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47084
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/external')
0 files changed, 0 insertions, 0 deletions