coreboot-kgpe-d16/payloads/libpayload/drivers
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 payloads/libpayload/drivers/i8042: Disable scanning on disconnect 2018-07-02 07:33:38 +00:00
serial libpayload/libc/console: Flush input driver buffer on init 2017-04-19 19:19:56 +02:00
storage libpayload/storage: Add Sunrise Point AHCI PCI id 2017-09-02 15:33:50 +00:00
timer libpayload: Add Timer for sdm845 2018-05-01 23:35:25 +00:00
udc payloads: Add whitespace around '<<' 2017-06-28 00:23:18 +00:00
usb libpayload: Export usbhid_getmodifiers 2018-05-31 15:28:24 +00:00
video libpayload: Use a static copy of `font_glyph_filled()` 2017-08-10 12:07:13 +00:00
Makefile.inc libpayload-x86: Add PS2 mouse driver 2018-05-15 12:02:31 +00:00
cbmem_console.c Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
hid.c Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
mouse_cursor.c libpayload-x86: Add PS2 mouse driver 2018-05-15 12:02:31 +00:00
nvram.c libpayload: Make Kconfig bools use IS_ENABLED() 2015-06-30 18:55:15 +02:00
options.c libpayload/options: Fix out of array read. 2014-01-19 11:51:23 +01:00
pci.c Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
speaker.c