summaryrefslogtreecommitdiff
path: root/src/superio/nuvoton/common/Kconfig
blob: 376ae16422a2147b1343ce205bb1b97606b03b0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# SPDX-License-Identifier: GPL-2.0-only

# Generic Nuvoton romstage driver - Just enough UART initialisation code for
# pre-ram.
config SUPERIO_NUVOTON_COMMON_PRE_RAM
	bool

config SUPERIO_NUVOTON_COMMON_COM_A
	bool
	depends on SUPERIO_NUVOTON_COMMON_PRE_RAM
	help
	  When enabled, the 'nuvoton_enable_serial()' function will unset
	  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.