summaryrefslogtreecommitdiff
path: root/src/lib/uart8250.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/uart8250.c')
-rw-r--r--src/lib/uart8250.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/uart8250.c b/src/lib/uart8250.c
index b9abc9e219..79eb1c51c1 100644
--- a/src/lib/uart8250.c
+++ b/src/lib/uart8250.c
@@ -80,7 +80,7 @@ void init_uart8250(unsigned base_port, struct uart8250 *uart)
int lcs;
divisor = 115200/(uart->baud ? uart->baud: 1);
lcs = 3;
- if (base_port == TTYS0_BASE) {
+ if (base_port == CONFIG_TTYS0_BASE) {
/* Don't reinitialize the console serial port,
* This is espeically nasty in SMP.
*/