aboutsummaryrefslogtreecommitdiff
path: root/src/superio/smsc/lpc47n217/early_serial.c
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-03-03 16:25:35 +0000
committerPatrick Georgi <pgeorgi@google.com>2016-03-05 15:38:40 +0100
commitbc839fba3d4fd44d3d7b2dcfafc32bccf2af9c94 (patch)
treeadf8085231492a2147df211bb4151403bb7ec0ee /src/superio/smsc/lpc47n217/early_serial.c
parent98b5f907ac6317a0e4fc11f429b7cfa858550964 (diff)
amd/thatcher: Removed #include early_serial.c from romstage
Remove dependency on early_serial.c and instead use the Super I/O's header to access the functions needed. Change-Id: I9edf7fc2501aa832106dda9213e702dbcc1200b4 Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/13887 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/superio/smsc/lpc47n217/early_serial.c')
-rw-r--r--src/superio/smsc/lpc47n217/early_serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/smsc/lpc47n217/early_serial.c b/src/superio/smsc/lpc47n217/early_serial.c
index dfe06b9082..454d77f046 100644
--- a/src/superio/smsc/lpc47n217/early_serial.c
+++ b/src/superio/smsc/lpc47n217/early_serial.c
@@ -105,7 +105,7 @@ static void lpc47n217_pnp_set_enable(pnp_devfn_t dev, int enable)
* @param dev High 8 bits = Super I/O port, low 8 bits = logical device number.
* @param iobase Processor I/O port address to assign to this serial device.
*/
-static void lpc47n217_enable_serial(pnp_devfn_t dev, u16 iobase)
+void lpc47n217_enable_serial(pnp_devfn_t dev, u16 iobase)
{
/*
* NOTE: Cannot use pnp_set_XXX() here because they assume chip