From bc839fba3d4fd44d3d7b2dcfafc32bccf2af9c94 Mon Sep 17 00:00:00 2001 From: Antonello Dettori Date: Thu, 3 Mar 2016 16:25:35 +0000 Subject: 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 Reviewed-on: https://review.coreboot.org/13887 Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) --- src/superio/smsc/lpc47n217/lpc47n217.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/superio/smsc/lpc47n217/lpc47n217.h') diff --git a/src/superio/smsc/lpc47n217/lpc47n217.h b/src/superio/smsc/lpc47n217/lpc47n217.h index 20689d189a..1cae5a08b2 100644 --- a/src/superio/smsc/lpc47n217/lpc47n217.h +++ b/src/superio/smsc/lpc47n217/lpc47n217.h @@ -17,6 +17,9 @@ #ifndef SUPERIO_SMSC_LPC47N217_LPC47N217_H #define SUPERIO_SMSC_LPC47N217_LPC47N217_H +#include +#include + /* * These are arbitrary, but must match declarations in the mainboard * devicetree.cb file. Values chosen to match SMSC LPC47B37x. @@ -27,4 +30,6 @@ #define LPC47N217_MAX_CONFIG_REGISTER 0x39 +void lpc47n217_enable_serial(pnp_devfn_t dev, u16 iobase); + #endif -- cgit v1.2.3