summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2019-05-13 12:49:16 +0530
committerSubrata Banik <subrata.banik@intel.com>2019-05-14 06:56:59 +0000
commit55cb5f8de53366c9df10ed9307cc9088c96191cf (patch)
tree10848c3ac922968209bf97227df3f7c0ffa56d70 /src/drivers
parent795fda033656982a8aeef0e105bcfbc9a73c8c13 (diff)
Remove unnecessary ENV_RAMSTAGE guard
TEST=Able to build coreboot for CML. Change-Id: Ic0f473e04ffc1de50dee871af52eacf0b328b376 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32764 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
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