mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
ESCC: correctly use CONFIG_SERIAL_PORT
git-svn-id: svn://coreboot.org/openbios/openbios-devel@400 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -117,8 +117,7 @@ int uart_init(uint64_t port, unsigned long speed)
|
||||
|
||||
void serial_putchar(int c)
|
||||
{
|
||||
uart_putchar((int)(serial_dev + CONFIG_SERIAL_PORT),
|
||||
(unsigned char) (c & 0xff));
|
||||
uart_putchar((int)serial_dev, (unsigned char) (c & 0xff));
|
||||
}
|
||||
|
||||
void serial_cls(void)
|
||||
|
||||
Reference in New Issue
Block a user