From 0588d19abef62dad63a7794a37bdd6a71c526d9e Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 12 Aug 2009 15:00:51 +0000 Subject: Kconfig! Works on Kontron, qemu, and serengeti. Signed-off-by: Patrick Georgi tested on abuild only. Acked-by: Ronald G. Minnich git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4534 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/pc80/Makefile.inc | 9 +++++++++ src/pc80/serial.c | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/pc80/Makefile.inc (limited to 'src/pc80') 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); -- cgit v1.2.3