summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/uart8250mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/uart8250mem.c b/src/lib/uart8250mem.c
index b98cb0e2a1..82248436d3 100644
--- a/src/lib/uart8250mem.c
+++ b/src/lib/uart8250mem.c
@@ -116,7 +116,7 @@ u32 uart_mem_init(void)
static const unsigned baud[8] = { 115200, 57600, 38400, 19200, 9600, 4800, 2400, 1200 };
unsigned b_index = 0;
#if defined(__PRE_RAM__)
- b_index = read_option(CMOS_VSTART_baud_rate, CMOS_VLEN_baud_rate, 0);
+ b_index = read_option(baud_rate, 0);
b_index &= 7;
uart_baud = baud[b_index];
#else