summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/uart/uart8250io.c2
-rw-r--r--src/drivers/uart/uart8250mem.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/drivers/uart/uart8250io.c b/src/drivers/uart/uart8250io.c
index 62671e2b6f..614a849f7a 100644
--- a/src/drivers/uart/uart8250io.c
+++ b/src/drivers/uart/uart8250io.c
@@ -124,7 +124,6 @@ void uart_tx_flush(int idx)
uart8250_tx_flush(uart_platform_base(idx));
}
-#if ENV_RAMSTAGE
void uart_fill_lb(void *data)
{
struct lb_serial serial;
@@ -138,4 +137,3 @@ void uart_fill_lb(void *data)
lb_add_console(LB_TAG_CONSOLE_SERIAL8250, data);
}
-#endif
diff --git a/src/drivers/uart/uart8250mem.c b/src/drivers/uart/uart8250mem.c
index c3dff6a72c..a5aa74a332 100644
--- a/src/drivers/uart/uart8250mem.c
+++ b/src/drivers/uart/uart8250mem.c
@@ -147,7 +147,6 @@ void uart_tx_flush(int idx)
uart8250_mem_tx_flush(base);
}
-#if ENV_RAMSTAGE
void uart_fill_lb(void *data)
{
struct lb_serial serial;
@@ -166,4 +165,3 @@ void uart_fill_lb(void *data)
lb_add_console(LB_TAG_CONSOLE_SERIAL8250MEM, data);
}
-#endif