diff options
author | Patrick Rudolph <siro@das-labor.org> | 2017-02-06 15:26:58 +0100 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2018-05-15 12:02:31 +0000 |
commit | 5afc2936b83c744e0a0d3ab92e7a98b2aa163df4 (patch) | |
tree | 6e46e09fd42348e0b4e84cd9cd49ca16d66ef78d /payloads/libpayload/Kconfig | |
parent | c622dc5e822cb849e36386a28efcb88241533a54 (diff) | |
download | coreboot-5afc2936b83c744e0a0d3ab92e7a98b2aa163df4.tar.xz |
libpayload-x86: Add PS2 mouse driver
Make use of i8042 driver to add PS2 mouse driver support.
Tested on Lenovot T500.
The touchpad can be used to drive the mouse cursor.
Change-Id: I4be9c74467596b94d64dfa510824d8722108fe9c
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/18597
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'payloads/libpayload/Kconfig')
-rw-r--r-- | payloads/libpayload/Kconfig | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/payloads/libpayload/Kconfig b/payloads/libpayload/Kconfig index d4d76bbdeb..e482e93b94 100644 --- a/payloads/libpayload/Kconfig +++ b/payloads/libpayload/Kconfig @@ -331,11 +331,18 @@ config FONT_SCALE_FACTOR config PC_I8042 bool "A common PC i8042 driver" - default y if PC_KEYBOARD + default y if PC_KEYBOARD || PC_MOUSE default n help To be used by PC_KEYBOARD and PC_MOUSE. +config PC_MOUSE + bool "Allow input from a PC mouse" + default y if ARCH_X86 # uses IO + default n + help + PS/2 mouse driver on top of PC_I8042. + config PC_KEYBOARD bool "Allow input from a PC keyboard" default y if ARCH_X86 # uses IO @@ -367,6 +374,7 @@ config NVRAM config MOUSE_CURSOR bool "Support for mouse cursor handling" + default y if PC_MOUSE default n help Provides a common interface for various mouse cursor drivers. |