blob: 376ae16422a2147b1343ce205bb1b97606b03b0d [file] [log] [blame]
Felix Held3f3eca92020-01-23 17:12:32 +01001# SPDX-License-Identifier: GPL-2.0-only
Stefan Reinauer6559f432010-12-17 00:13:54 +00002
Omar Pakker57603e22016-07-29 23:31:45 +02003# Generic Nuvoton romstage driver - Just enough UART initialisation code for
Arthur Heymans085a2262019-01-04 16:11:50 +01004# pre-ram.
5config SUPERIO_NUVOTON_COMMON_PRE_RAM
Patrick Georgi0588d192009-08-12 15:00:51 +00006 bool
Felix Held15b6c4a2019-12-15 12:10:13 +01007
Angel Pons00e58c32020-10-17 15:06:40 +02008config SUPERIO_NUVOTON_COMMON_COM_A
9 bool
10 depends on SUPERIO_NUVOTON_COMMON_PRE_RAM
11 help
12 When enabled, the 'nuvoton_enable_serial()' function will unset
13 global CR 0x2a bit 7 to route COM A to the GPIO8 pin group.
Keith Huib498a4c2024-03-05 19:08:53 -050014
15config HAVE_SHARED_PS2_PORT
16 bool
17 depends on SUPERIO_NUVOTON_COMMON_PRE_RAM
18 help
19 Select this option if your mainboard has a single PS/2 port for both keyboard and
20 mouse, and where a Y-cable cannot allow both keyboard and mouse to work off the same
21 port. This one port usually works for keyboards only. Add the nvram option
22 "swap_keyboard_and_mouse" to cmos.layout to allow changing this port into a
23 mouse port.