From 47b8075bb14de4dad4cfd2c2f42482e04644b28d Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Sat, 2 Aug 2014 20:08:35 +1000 Subject: superio/smsc/sio1036: Fix hardcoded TTY0 base addr and .c include Compile romstage component as link-time symbols. Pass CONFIG_TTY0_BASE as argument instead of hard coding and playing funny business with the pre-processor. Fix board to match. Change-Id: If6d0d5389bd4e7765bb6056cf488c94fd45915c2 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/6463 Tested-by: build bot (Jenkins) Reviewed-by: Vladimir Serbinenko --- src/superio/smsc/sio1036/sio1036.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/superio/smsc/sio1036/sio1036.h') diff --git a/src/superio/smsc/sio1036/sio1036.h b/src/superio/smsc/sio1036/sio1036.h index e61b600f5a..fa52a1a5c8 100644 --- a/src/superio/smsc/sio1036/sio1036.h +++ b/src/superio/smsc/sio1036/sio1036.h @@ -26,4 +26,9 @@ #define LPT_POWER_DOWN (1 << 2) #define IR_OUPUT_MUX (1 << 6) +#include +#include + +void sio1036_enable_serial(device_t dev, u16 iobase); + #endif /* SUPERIO_SMSC_1306_H */ -- cgit v1.2.3