coreboot-kgpe-d16/payloads/libpayload/drivers/i8042
Furquan Shaikh 6756c16e82 payloads/libpayload/drivers/i8042: Disable scanning on disconnect
This change ensures that keyboard scanning is disabled and keyboard is
set to default state while disconnecting the keyboard. This is
required to ensure that the controller doesn't keep scanning and
buffering keystrokes which could lead to OS drivers reading stale
data.

BUG=b:110024487
TEST=Verified that kernel driver is able to probe correctly even if
multiple keys are pressed during handoff from payload to OS.

Change-Id: I1ffb8904d545284454c1825ee2e7c0087fc13762
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/27290
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2018-07-02 07:33:38 +00:00
..
i8042.c payloads/libpayload/drivers/i8042: Add macros for i8042 commands 2018-07-02 07:32:33 +00:00
i8042.h payloads/libpayload/drivers/i8042: Add macros for i8042 commands 2018-07-02 07:32:33 +00:00
keyboard.c payloads/libpayload/drivers/i8042: Disable scanning on disconnect 2018-07-02 07:33:38 +00:00
mouse.c libpayload-x86: Add PS2 mouse driver 2018-05-15 12:02:31 +00:00