Felix Held | 3f3eca9 | 2020-01-23 17:12:32 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Stefan Reinauer | 6559f43 | 2010-12-17 00:13:54 +0000 | [diff] [blame] | 2 | |
Omar Pakker | 57603e2 | 2016-07-29 23:31:45 +0200 | [diff] [blame] | 3 | # Generic Nuvoton romstage driver - Just enough UART initialisation code for |
Arthur Heymans | 085a226 | 2019-01-04 16:11:50 +0100 | [diff] [blame] | 4 | # pre-ram. |
| 5 | config SUPERIO_NUVOTON_COMMON_PRE_RAM |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 6 | bool |
Felix Held | 15b6c4a | 2019-12-15 12:10:13 +0100 | [diff] [blame] | 7 | |
Angel Pons | 00e58c3 | 2020-10-17 15:06:40 +0200 | [diff] [blame] | 8 | config 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 Hui | b498a4c | 2024-03-05 19:08:53 -0500 | [diff] [blame^] | 14 | |
| 15 | config 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. |