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:
Laurent Vivier
2009-01-13 16:42:29 +00:00
parent 7a10250555
commit c254d42e4c
2 changed files with 3 additions and 3 deletions

View File

@@ -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)