summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2019-06-21 19:23:13 +0200
committerFelix Held <felix-coreboot@felixheld.de>2019-06-22 11:39:12 +0000
commitb8477797462fdb6dc3b5c5e28e7b34d83621299a (patch)
tree4717acdfa4c073473d4faeff4adbae0dc7b443e3
parent6f9fcc64a170ec4348811dcb1cead2b1bcf2e3a0 (diff)
downloadcoreboot-b8477797462fdb6dc3b5c5e28e7b34d83621299a.tar.xz
nuvoton/early_serial: improve comments on serial pinmux settings
Change-Id: I36c0d752df97810bd99d2eec27403545421ce533 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33665 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
-rw-r--r--src/superio/nuvoton/common/early_serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/nuvoton/common/early_serial.c b/src/superio/nuvoton/common/early_serial.c
index 7f22993cd0..eaa3c5af64 100644
--- a/src/superio/nuvoton/common/early_serial.c
+++ b/src/superio/nuvoton/common/early_serial.c
@@ -66,11 +66,11 @@ void nuvoton_enable_serial(pnp_devfn_t dev, u16 iobase)
nuvoton_pnp_enter_conf_state(dev);
if (CONFIG(SUPERIO_NUVOTON_NCT6776_COM_A))
- /* Route GPIO8 pin group to COM A */
+ /* Route COM A to GPIO8 pin group */
pnp_write_config(dev, 0x2a, 0x40);
if (CONFIG(SUPERIO_NUVOTON_NCT6791D_COM_A))
- /* Route GPIO8 pin group to COM A */
+ /* Route COM A to GPIO8 pin group */
pnp_write_config(dev, 0x2a, 0x00);
pnp_set_logical_device(dev);