aboutsummaryrefslogtreecommitdiff
path: root/src/superio/nuvoton/common/early_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/nuvoton/common/early_serial.c')
-rw-r--r--src/superio/nuvoton/common/early_serial.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/superio/nuvoton/common/early_serial.c b/src/superio/nuvoton/common/early_serial.c
index 398678983a..f86e7a27d0 100644
--- a/src/superio/nuvoton/common/early_serial.c
+++ b/src/superio/nuvoton/common/early_serial.c
@@ -52,9 +52,7 @@ void nuvoton_enable_serial(pnp_devfn_t dev, u16 iobase)
nuvoton_pnp_enter_conf_state(dev);
- if (CONFIG(SUPERIO_NUVOTON_NCT5539D_COM_A) ||
- CONFIG(SUPERIO_NUVOTON_NCT6791D_COM_A) ||
- CONFIG(SUPERIO_NUVOTON_NCT6776_COM_A))
+ if (CONFIG(SUPERIO_NUVOTON_COMMON_COM_A))
/* Route COM A to GPIO8 pin group */
pnp_unset_and_set_config(dev, 0x2a, 1 << 7, 0);