libpayload-x86: Add common i8042 driver

Hardware / Coreboot - Patrick Rudolph [das-labor.org] - 15 May 2018 11:20 EDT

Add a common i8042 driver that uses multiple overflowing fifos to seperate PS/2 port and PS/2 aux port.

Required to support PC keyboard and PC mouse at the same time.

Tested on Lenovo T500.

Change-Id: I4ca803bfa3ed45111776eef1f4dccd3fab02ea39

e6a3821b97 libpayload-x86: Add common i8042 driver
payloads/libpayload/Kconfig | 6 +
payloads/libpayload/drivers/Makefile.inc | 1 +
payloads/libpayload/drivers/i8042/i8042.c | 393 ++++++++++++++++++++++++++++++
payloads/libpayload/include/libpayload.h | 25 ++
4 files changed, 425 insertions(+)

Upstream: review.coreboot.org


  • Share