diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-08-17 04:33:00 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-08-20 01:12:28 +0000 |
commit | a4e8fb2afd6ff92e84bd03c55668708e0c5d17df (patch) | |
tree | b2cf6a0211d6e18b675e63956a85b0c6572c462d /src/drivers/uart | |
parent | 5c82c444fba6fd3cf506c777546a5481755808ff (diff) |
arch/non-x86: Remove use of __PRE_RAM__
Change-Id: Id8918f40572497b068509b5d5a490de0435ad50b
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34921
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/drivers/uart')
-rw-r--r-- | src/drivers/uart/pl011.c | 2 | ||||
-rw-r--r-- | src/drivers/uart/sifive.c | 2 |
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(®s->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 |