diff options
author | Pavel Sayekat <pavelsayekat@gmail.com> | 2019-07-01 19:53:29 +0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2019-07-29 17:02:12 +0000 |
commit | 98d5a86ec04259e47a8ebcc7cdcf83c3fe73352a (patch) | |
tree | c705f7a29d5f8bb27e8cccdd701dbde8296ef5a1 /src/superio/nuvoton/common | |
parent | 931e99132561a0e94bf8a640b51b0dd99da0fcf1 (diff) |
src/superio/nuvoton: Add support for NCT5539D
Values taken from NCT5539D datasheet V1.1 (June 30th, 2015).
Change-Id: I7e979bde53ce3dac1a4f74e7e51a3c6a0149051c
Signed-off-by: Pavel Sayekat <pavelsayekat@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33842
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/superio/nuvoton/common')
-rw-r--r-- | src/superio/nuvoton/common/early_serial.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/superio/nuvoton/common/early_serial.c b/src/superio/nuvoton/common/early_serial.c index eaa3c5af64..29418dbf9e 100644 --- a/src/superio/nuvoton/common/early_serial.c +++ b/src/superio/nuvoton/common/early_serial.c @@ -65,6 +65,10 @@ void nuvoton_enable_serial(pnp_devfn_t dev, u16 iobase) { nuvoton_pnp_enter_conf_state(dev); + if (CONFIG(SUPERIO_NUVOTON_NCT5539D_COM_A)) + /* Route COM A to GPIO8 pin group */ + pnp_write_config(dev, 0x2a, 0x40); + if (CONFIG(SUPERIO_NUVOTON_NCT6776_COM_A)) /* Route COM A to GPIO8 pin group */ pnp_write_config(dev, 0x2a, 0x40); |