diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-12-19 06:43:13 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-12-20 17:51:10 +0000 |
commit | bba4ec4ca1c9ed0ddf99cf61498bd565e9636983 (patch) | |
tree | db697e624f66e6e93a16c80c762160c501affeac /src/superio/smsc/lpc47m10x/early_serial.c | |
parent | f86317642333f6c45f62ef607583562bbba29053 (diff) | |
download | coreboot-bba4ec4ca1c9ed0ddf99cf61498bd565e9636983.tar.gz coreboot-bba4ec4ca1c9ed0ddf99cf61498bd565e9636983.tar.bz2 coreboot-bba4ec4ca1c9ed0ddf99cf61498bd565e9636983.zip |
superio/smsc/lpc47m10x: Expose pnp_enter/exit_conf_state
Change-Id: I55915b63dbb097634a228193f62395e45a1f42fe
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37824
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/superio/smsc/lpc47m10x/early_serial.c')
-rw-r--r-- | src/superio/smsc/lpc47m10x/early_serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/smsc/lpc47m10x/early_serial.c b/src/superio/smsc/lpc47m10x/early_serial.c index 96c0b5df67f2..719faf4bc3e0 100644 --- a/src/superio/smsc/lpc47m10x/early_serial.c +++ b/src/superio/smsc/lpc47m10x/early_serial.c @@ -20,13 +20,13 @@ #include <stdint.h> #include "lpc47m10x.h" -static void pnp_enter_conf_state(pnp_devfn_t dev) +void pnp_enter_conf_state(pnp_devfn_t dev) { u16 port = dev >> 8; outb(0x55, port); } -static void pnp_exit_conf_state(pnp_devfn_t dev) +void pnp_exit_conf_state(pnp_devfn_t dev) { u16 port = dev >> 8; outb(0xaa, port); |