summaryrefslogtreecommitdiff
path: root/src/drivers/uart/Makefile.inc
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-01-30 15:45:16 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-03-04 15:34:27 +0100
commitbea6bf07dfd9b97ad81fb7433464a9f61ff02105 (patch)
tree10b6a471dcf8e63e313f3a0763316417b43649c5 /src/drivers/uart/Makefile.inc
parent2b95da01e6bbdd8b001fa1ff2830dbaa70f14c3e (diff)
uart8250: Move under drivers/uart
Change-Id: Ic65ffaaa092330ed68d891e4a09a8b86cdc04a3a Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5236 Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/drivers/uart/Makefile.inc')
-rw-r--r--src/drivers/uart/Makefile.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/drivers/uart/Makefile.inc b/src/drivers/uart/Makefile.inc
index 52a7024318..3a9ca3d592 100644
--- a/src/drivers/uart/Makefile.inc
+++ b/src/drivers/uart/Makefile.inc
@@ -5,6 +5,18 @@ bootblock-y += util.c
smm-y += util.c
endif
+ifeq ($(CONFIG_CONSOLE_SERIAL8250),y)
+romstage-y += uart8250io.c
+ramstage-y += uart8250io.c
+smm-y += uart8250io.c
+endif
+
+ifeq ($(CONFIG_CONSOLE_SERIAL8250MEM),y)
+romstage-y += uart8250mem.c
+ramstage-y += uart8250mem.c
+smm-y += uart8250mem.c
+endif
+
ifeq ($(CONFIG_CONSOLE_SERIAL_UART),y)
ifeq ($(CONFIG_DRIVERS_UART_PL011),y)