summaryrefslogtreecommitdiff
path: root/src/drivers/uart
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/uart')
-rw-r--r--src/drivers/uart/pl011.c2
-rw-r--r--src/drivers/uart/sifive.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/drivers/uart/pl011.c b/src/drivers/uart/pl011.c
index 4e3af52f89..ad00d7c3bd 100644
--- a/src/drivers/uart/pl011.c
+++ b/src/drivers/uart/pl011.c
@@ -49,7 +49,6 @@ unsigned char uart_rx_byte(int idx)
return read8(&regs->dr);
}
-#ifndef __PRE_RAM__
void uart_fill_lb(void *data)
{
struct lb_serial serial;
@@ -63,4 +62,3 @@ void uart_fill_lb(void *data)
lb_add_console(LB_TAG_CONSOLE_SERIAL8250MEM, data);
}
-#endif
diff --git a/src/drivers/uart/sifive.c b/src/drivers/uart/sifive.c
index 1b0f75e3ff..ca8b73b59d 100644
--- a/src/drivers/uart/sifive.c
+++ b/src/drivers/uart/sifive.c
@@ -113,9 +113,7 @@ unsigned int uart_input_clock_divider(void)
return 1;
}
-#ifndef __PRE_RAM__
void uart_fill_lb(void *data)
{
/* TODO */
}
-#endif