aboutsummaryrefslogtreecommitdiff
path: root/src/superio/serverengines/pilot/early_init.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-03-31 21:53:32 +1100
committerPatrick Georgi <patrick@georgi-clan.de>2014-05-09 08:26:14 +0200
commitf18abab20047a23d7b29705ce274920ad36cd18a (patch)
treea977c6932e26c49bc769002b0ef10f07223fe990 /src/superio/serverengines/pilot/early_init.c
parent618de689c348fa7aa4eaaa256eccc8efdf76d91c (diff)
superio/serverengines/pilot: Avoid .c includes
Following the same reasoning as commit d3043313a91dff3bc2f879ffb3b4bf23a364d711 superio/fintek/f81865f: Avoid .c includes Clean up the early_serial #include directives in mainboard/romstage code. Change-Id: Ia6ed36c8517a95b651fefdd855eec0ec91d73187 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5439 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/superio/serverengines/pilot/early_init.c')
-rw-r--r--src/superio/serverengines/pilot/early_init.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/superio/serverengines/pilot/early_init.c b/src/superio/serverengines/pilot/early_init.c
index 1993c9ef7a..002210f97b 100644
--- a/src/superio/serverengines/pilot/early_init.c
+++ b/src/superio/serverengines/pilot/early_init.c
@@ -23,11 +23,16 @@
#define BLUBB_DEV PNP_DEV(port, 0x04)
+#include <arch/io.h>
+#include <console/console.h>
+#include <device/pnp.h>
+#include "pilot.h"
+
/*
* Logical device 4, 5 and 7 are being deactivated. Logical Device 1 seems to
* be another serial (?), it is also deactivated on the HP machine.
*/
-static void pilot_early_init(device_t dev)
+void pilot_early_init(device_t dev)
{
u16 port = dev >> 8;