coreboot-kgpe-d16/payloads/libpayload/drivers
Duncan Laurie 5aa0e925bc libpayload: keyboard: Add option to ignore failures during init
If keys are pressed at boot some keyboard controllers will not
properly respond with an ACK to commands, which results in the
keyboard_init function aborting before it adds the keyboard to the
input device list.

This same keyboard controller will manage to properly return keyboard
data when keys are pressed later, so it is possible for it to be
functional in the payload even if it does not respond properly to
every command during initialization.

In order to allow payloads to use the keyboard when this happens a
new Kconfig option is added to ignore the keyboard ACK response and
always add the keyboard to the input device list.  This option is
disabled by default and must be enabled by the specific boards that
need it.

BUG=b:126633269
TEST=boot on device with this controller and press keys during boot
and see that the keyboard is still functional in the payload.

Change-Id: Icc6053f99804f1b57d785cb04235b5c4b8d5426f
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/31657
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2019-03-02 06:17:36 +00:00
..
i8042 libpayload: keyboard: Add option to ignore failures during init 2019-03-02 06:17:36 +00:00
serial libpayload: Remove unused timer/serial drivers 2018-12-05 14:07:17 +00:00
storage payloads/libpayload/drivers/storage: Get rid of void pointer math 2018-11-16 09:42:34 +00:00
timer libpayload: Remove unused timer/serial drivers 2018-12-05 14:07:17 +00:00
udc payloads: Add whitespace around '<<' 2017-06-28 00:23:18 +00:00
usb libpayload: Fill reg_base for debugging purposes 2018-10-23 06:24:47 +00:00
video libpayload: Don't try to use invalid row count 2018-12-09 09:30:13 +00:00
cbmem_console.c Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
hid.c
Makefile.inc libpayload: Remove unused timer/serial drivers 2018-12-05 14:07:17 +00:00
mouse_cursor.c libpayload-x86: Add PS2 mouse driver 2018-05-15 12:02:31 +00:00
nvram.c
options.c
pci.c
speaker.c