uart_init is only used in romstage.
Signed-off-by: Stefan Reinauer <stepan@coreboot.org> Acked-by: Stefan Reinauer <stepan@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6245 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
1b342263f0
commit
da712f3f45
@@ -103,6 +103,7 @@ void init_uart8250(unsigned base_port, struct uart8250 *uart)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __PRE_RAM__
|
||||||
void uart_init(void)
|
void uart_init(void)
|
||||||
{
|
{
|
||||||
#if CONFIG_USE_OPTION_TABLE
|
#if CONFIG_USE_OPTION_TABLE
|
||||||
@@ -117,4 +118,4 @@ void uart_init(void)
|
|||||||
uart8250_init(CONFIG_TTYS0_BASE, CONFIG_TTYS0_DIV);
|
uart8250_init(CONFIG_TTYS0_BASE, CONFIG_TTYS0_DIV);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user