summaryrefslogtreecommitdiff
path: root/src/pc80
diff options
context:
space:
mode:
Diffstat (limited to 'src/pc80')
-rw-r--r--src/pc80/Makefile.inc9
-rw-r--r--src/pc80/serial.c2
2 files changed, 10 insertions, 1 deletions
diff --git a/src/pc80/Makefile.inc b/src/pc80/Makefile.inc
new file mode 100644
index 0000000000..a54c5ee41a
--- /dev/null
+++ b/src/pc80/Makefile.inc
@@ -0,0 +1,9 @@
+obj-y += mc146818rtc.o
+obj-y += isa-dma.o
+obj-y += i8259.o
+#obj-y += udelay_timer2.o CONFIG_UDELAY_TIMER2
+obj-$(CONFIG_UDELAY_IO) += udelay_io.o
+obj-y += keyboard.o
+
+#initobj-y += serial.o
+
diff --git a/src/pc80/serial.c b/src/pc80/serial.c
index 415736438b..6048d8b5bc 100644
--- a/src/pc80/serial.c
+++ b/src/pc80/serial.c
@@ -71,7 +71,7 @@ static void uart_tx_byte(unsigned char data)
uart_wait_until_sent();
}
-static void uart_init(void)
+void uart_init(void)
{
/* disable interrupts */
outb(0x0, CONFIG_TTYS0_BASE + UART_IER);