From 6321d7c14bf96719d199cfe921d4299c93cd441f Mon Sep 17 00:00:00 2001 From: Antonello Dettori Date: Mon, 7 Mar 2016 01:59:48 +0000 Subject: roda/rk9: Remove #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. Also re-organize some of the superio code in order to succesfully compile the rom. Change-Id: I85a6f1352ae3b91c3c98e4d3fa0b90b87e02babc Signed-off-by: Antonello Dettori Reviewed-on: https://review.coreboot.org/13925 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Martin Roth --- src/superio/smsc/lpc47n227/lpc47n227.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/superio/smsc/lpc47n227/lpc47n227.h') diff --git a/src/superio/smsc/lpc47n227/lpc47n227.h b/src/superio/smsc/lpc47n227/lpc47n227.h index b08f5e00c7..d629a67d2d 100644 --- a/src/superio/smsc/lpc47n227/lpc47n227.h +++ b/src/superio/smsc/lpc47n227/lpc47n227.h @@ -28,4 +28,9 @@ #define LPC47N227_MAX_CONFIG_REGISTER 0x39 +void pnp_enter_conf_state(pnp_devfn_t dev); +void pnp_exit_conf_state(pnp_devfn_t dev); + +void lpc47n227_enable_serial(pnp_devfn_t dev, u16 iobase); + #endif -- cgit v1.2.3