From a4e8fb2afd6ff92e84bd03c55668708e0c5d17df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sat, 17 Aug 2019 04:33:00 +0300 Subject: arch/non-x86: Remove use of __PRE_RAM__ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id8918f40572497b068509b5d5a490de0435ad50b Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/34921 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/drivers/uart/pl011.c | 2 -- src/drivers/uart/sifive.c | 2 -- 2 files changed, 4 deletions(-) (limited to 'src/drivers/uart') 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 -- cgit v1.2.3