diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/uart8250.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/uart8250.c b/src/lib/uart8250.c index fbdf4ac843..28989b24ee 100644 --- a/src/lib/uart8250.c +++ b/src/lib/uart8250.c @@ -103,6 +103,7 @@ void init_uart8250(unsigned base_port, struct uart8250 *uart) } #endif +#ifdef __PRE_RAM__ void uart_init(void) { #if CONFIG_USE_OPTION_TABLE @@ -117,4 +118,4 @@ void uart_init(void) uart8250_init(CONFIG_TTYS0_BASE, CONFIG_TTYS0_DIV); #endif } - +#endif |