sio/nuvoton: Add Kconfig for shared PS/2 port
Introduce HAVE_SHARED_PS2_PORT Kconfig for this Super I/O to have mainboards indicate if they have one shared PS/2 port on the rear panel. On these boards (where a Y-cable cannot allow both keyboard and mouse to work off the same port), if a PS/2 keyboard is not present, SIO should be configured to swap its role to mouse, to allow the OS to find and initialize any mouse connected. Supporting code will come in a separate patch. Idea is to condition them on this Kconfig. Change-Id: I156b15c6ba233cbe8b9ba4d2cfbca6836ad7483a Signed-off-by: Keith Hui <buurin@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82631 Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
a911b75848
commit
b498a4c805
@ -11,3 +11,13 @@ config SUPERIO_NUVOTON_COMMON_COM_A
|
|||||||
help
|
help
|
||||||
When enabled, the 'nuvoton_enable_serial()' function will unset
|
When enabled, the 'nuvoton_enable_serial()' function will unset
|
||||||
global CR 0x2a bit 7 to route COM A to the GPIO8 pin group.
|
global CR 0x2a bit 7 to route COM A to the GPIO8 pin group.
|
||||||
|
|
||||||
|
config HAVE_SHARED_PS2_PORT
|
||||||
|
bool
|
||||||
|
depends on SUPERIO_NUVOTON_COMMON_PRE_RAM
|
||||||
|
help
|
||||||
|
Select this option if your mainboard has a single PS/2 port for both keyboard and
|
||||||
|
mouse, and where a Y-cable cannot allow both keyboard and mouse to work off the same
|
||||||
|
port. This one port usually works for keyboards only. Add the nvram option
|
||||||
|
"swap_keyboard_and_mouse" to cmos.layout to allow changing this port into a
|
||||||
|
mouse port.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user